Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kyt-starter-universal

Package Overview
Dependencies
Maintainers
2
Versions
307
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kyt-starter-universal - npm Package Compare versions

Comparing version 0.3.0-alpha.3 to 0.3.0-alpha.4

2

package.json
{
"name": "kyt-starter-universal",
"version": "0.3.0-alpha.3",
"version": "0.3.0-alpha.4",
"description": "",

@@ -5,0 +5,0 @@ "repository": {

@@ -26,5 +26,5 @@ {

"enzyme": "2.4.1",
"kyt": "0.6.0-alpha.3",
"kyt": "0.6.0-alpha.4",
"react-addons-test-utils": "15.3.0"
}
}

@@ -12,3 +12,3 @@

const importHome = (nextState, cb) => {
import('../components/Home')
import(/* webpackChunkName: "home" */ '../components/Home')
.then(module => cb(null, module.default))

@@ -19,3 +19,3 @@ .catch((e) => { throw e; });

const importTools = (nextState, cb) => {
import('../components/Tools')
import(/* webpackChunkName: "tools" */'../components/Tools')
.then(module => cb(null, module.default))

@@ -22,0 +22,0 @@ .catch((e) => { throw e; });

@@ -40,4 +40,6 @@

root: renderToString(<RouterContext {...renderProps} />),
jsBundle: clientAssets.main.js,
cssBundle: clientAssets.main.css,
manifestJSBundle: clientAssets['manifest.js'],
mainJSBundle: clientAssets['main.js'],
vendorJSBundle: clientAssets['vendor.js'],
mainCSSBundle: clientAssets['main.css'],
}));

@@ -44,0 +46,0 @@ } else {

@@ -1,4 +0,5 @@

/* eslint-disable prefer-template, max-len */
const getDeferScript = src => (src ? `<script defer src="${src}"></script>` : '');
export default vo => `

@@ -18,3 +19,3 @@

<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.2.0/normalize.min.css">
${vo.cssBundle ? '<link rel="stylesheet" type="text/css" href="' + vo.cssBundle + '">' : ''}
${vo.mainCSSBundle ? '<link rel="stylesheet" type="text/css" href="' + vo.mainCSSBundle + '">' : ''}

@@ -26,3 +27,5 @@ <title>Universal React Starter Kyt</title>

<div id="root"><div>${vo.root}</div></div>
<script src="${vo.jsBundle}"></script>
${getDeferScript(vo.manifestJSBundle)}
${getDeferScript(vo.vendorJSBundle)}
${getDeferScript(vo.mainJSBundle)}
</body>

@@ -29,0 +32,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc