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.1.0 to 0.2.0

starter-src/yarn-error.log

2

package.json
{
"name": "kyt-starter-universal",
"version": "0.1.0",
"version": "0.2.0",
"description": "",

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

@@ -23,3 +23,3 @@ # Universal React starter-kyt

- As a performance optimization, React Router routes are loaded dynamically and chunked separately using the ES2015 `System.import` directive. See more about [Webpack 2 support](https://gist.github.com/sokra/27b24881210b56bbaff7#code-splitting-with-es6) and [dynamic routing](https://github.com/reactjs/react-router/blob/master/docs/guides/DynamicRouting.md).
- As a performance optimization, React Router routes are loaded dynamically and chunked separately using the ES2015 `import()` directive. See more about [Webpack 2 support](https://gist.github.com/sokra/27b24881210b56bbaff7#code-splitting-with-es6) and [dynamic routing](https://github.com/reactjs/react-router/blob/master/docs/guides/DynamicRouting.md).

@@ -26,0 +26,0 @@ ## How To Contribute

@@ -17,14 +17,14 @@ {

"dependencies": {
"babel-preset-kyt-react": "0.1.1",
"compression": "^1.6.2",
"express": "^4.14.0",
"react": "^15.3.0",
"react-dom": "^15.3.0",
"react-router": "^2.6.1"
"babel-preset-kyt-react": "0.2.0",
"compression": "1.6.2",
"express": "4.14.0",
"react": "15.3.0",
"react-dom": "15.3.0",
"react-router": "2.6.1"
},
"devDependencies": {
"enzyme": "^2.4.1",
"kyt": "0.4.0",
"react-addons-test-utils": "^15.3.0"
"enzyme": "2.4.1",
"kyt": "0.5.0",
"react-addons-test-utils": "15.3.0"
}
}

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

App.propTypes = {
children: PropTypes.node,
children: PropTypes.node.isRequired,
};
export default App;

@@ -8,4 +8,4 @@

it('Test example', () => {
const wrapper = shallow(<App />);
const wrapper = shallow(<App>test</App>);
expect(wrapper.is('div')).toBeTruthy();
});

@@ -7,8 +7,8 @@

// Webpack 2 supports ES2015 `System.import` by auto-
// Webpack 2 supports ES2015 `import()` by auto-
// chunking assets. Check out the following for more:
// https://gist.github.com/sokra/27b24881210b56bbaff7#code-splitting-with-es6
// https://webpack.js.org/guides/migrating/#code-splitting-with-es2015
const importHome = (nextState, cb) => {
System.import('../components/Home')
import('../components/Home')
.then(module => cb(null, module.default))

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

const importTools = (nextState, cb) => {
System.import('../components/Tools')
import('../components/Tools')
.then(module => cb(null, module.default))

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

@@ -50,3 +50,3 @@

app.listen(port, () => {
console.log(`✅ server started on port: ${port}`);
console.log(`✅ server started on port: ${port}`); // eslint-disable-line no-console
});

Sorry, the diff of this file is not supported yet

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