Skip to content

Commit

Permalink
chore: upgrade dependencies (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Aug 28, 2019
1 parent 80ee809 commit f1e75b6
Show file tree
Hide file tree
Showing 8 changed files with 1,620 additions and 1,450 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.json
Expand Up @@ -15,6 +15,8 @@
"react/destructuring-assignment": "off",
"react/prop-types": "off",
"react/sort-comp": "off",
"react/jsx-props-no-spreading": "off",
"react/state-in-constructor": "off",
"import/prefer-default-export": "off"
}
}
3 changes: 2 additions & 1 deletion examples/razzle/razzle.config.js
@@ -1,3 +1,4 @@
/* eslint-disable prefer-object-spread */
const path = require('path')
const LoadableWebpackPlugin = require('@loadable/webpack-plugin')
const LoadableBabelPlugin = require('@loadable/babel-plugin')
Expand All @@ -21,7 +22,7 @@ module.exports = {
appConfig.output.filename = dev
? 'static/js/[name].js'
: 'static/js/[name].[chunkhash:8].js'

appConfig.node = { fs: 'empty' } // fix "Cannot find module 'fs'" problem.

appConfig.optimization = Object.assign({}, appConfig.optimization, {
Expand Down
4 changes: 2 additions & 2 deletions examples/razzle/src/App.js
Expand Up @@ -9,7 +9,7 @@ const About = loadable(() => import('./About'))
const Contact = loadable(() => import('./Contact'))

const App = () => (
<React.Fragment>
<>
<Link to="/">Home</Link>
<Link to="/about">About</Link>
<Link to="/contact">Contact</Link>
Expand All @@ -19,7 +19,7 @@ const App = () => (
<About path="/about" fallback={<div>loading...</div>} />
<Contact path="/contact" fallback={<div>loading...</div>} />
</Router>
</React.Fragment>
</>
)

export default App
46 changes: 23 additions & 23 deletions package.json
Expand Up @@ -23,40 +23,40 @@
"test": "jest"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/node": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/node": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-runtime": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"@testing-library/jest-dom": "^4.0.0",
"@testing-library/react": "^8.0.1",
"@testing-library/jest-dom": "^4.1.0",
"@testing-library/react": "^9.1.3",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.8.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-plugin-annotate-pure-calls": "^0.4.0",
"bundlesize": "^0.18.0",
"conventional-github-releaser": "^3.1.2",
"cross-env": "^5.2.0",
"eslint": "^6.0.1",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-import": "^2.17.2",
"eslint": "^6.2.2",
"eslint-config-airbnb": "^18.0.1",
"eslint-config-prettier": "^6.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.13.0",
"jest": "^24.8.0",
"lerna": "^3.13.4",
"eslint-plugin-react": "^7.14.3",
"jest": "^24.9.0",
"lerna": "^3.16.4",
"prettier": "^1.17.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"regenerator-runtime": "^0.13.2",
"rollup": "^1.11.3",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"regenerator-runtime": "^0.13.3",
"rollup": "^1.20.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^10.0.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.0.1",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-size-snapshot": "^0.9.0",
"rollup-plugin-size-snapshot": "^0.10.0",
"rollup-plugin-terser": "^5.0.0",
"shx": "^0.3.2"
}
Expand Down
12 changes: 6 additions & 6 deletions packages/component/.size-snapshot.json
@@ -1,13 +1,13 @@
{
"dist/loadable.cjs.js": {
"bundled": 12660,
"minified": 6088,
"gzipped": 2183
"bundled": 12664,
"minified": 6090,
"gzipped": 2184
},
"dist/loadable.esm.js": {
"bundled": 12277,
"minified": 5779,
"gzipped": 2117,
"bundled": 12281,
"minified": 5781,
"gzipped": 2119,
"treeshaked": {
"rollup": {
"code": 259,
Expand Down
2 changes: 1 addition & 1 deletion packages/component/package.json
Expand Up @@ -33,7 +33,7 @@
"react": ">=16.3.0"
},
"dependencies": {
"@babel/runtime": "^7.4.4",
"@babel/runtime": "^7.5.5",
"hoist-non-react-statics": "^3.3.0"
}
}
2 changes: 1 addition & 1 deletion packages/server/package.json
Expand Up @@ -25,6 +25,6 @@
"react": ">=16.3.0"
},
"dependencies": {
"lodash": "^4.17.11"
"lodash": "^4.17.15"
}
}

0 comments on commit f1e75b6

Please sign in to comment.