Skip to content

Commit 08cbd6c

Browse files
committed
chore(deps): update dependencies
1 parent da6e707 commit 08cbd6c

File tree

6 files changed

+752
-527
lines changed

6 files changed

+752
-527
lines changed

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@
1111
"prettier:fix": "prettier --write '**/*.{js,jsx,json,md,css,scss,sh,yml,yaml,html}' --ignore-path .gitignore"
1212
},
1313
"devDependencies": {
14-
"@babel/core": "^7.10.4",
15-
"@babel/preset-env": "^7.10.4",
14+
"@babel/core": "^7.11.1",
15+
"@babel/preset-env": "^7.11.0",
1616
"babel-eslint": "^10.1.0",
17-
"eslint": "^7.3.1",
17+
"eslint": "^7.6.0",
1818
"eslint-config-prettier": "^6.11.0",
1919
"eslint-plugin-compat": "^3.8.0",
2020
"eslint-plugin-import": "^2.22.0",
21-
"eslint-plugin-jest": "^23.17.1",
21+
"eslint-plugin-jest": "^23.20.0",
2222
"eslint-plugin-prettier": "^3.1.4",
2323
"husky": "^4.2.5",
24-
"jest": "^26.1.0",
24+
"jest": "^26.4.0",
2525
"jest-fetch-mock": "^3.0.3",
2626
"jquery": "^3.5.1",
2727
"lerna": "^3.22.1",
2828
"lint-staged": "^10.2.2",
2929
"prettier": "^2.0.5",
30-
"whatwg-fetch": "^3.1.0"
30+
"whatwg-fetch": "^3.4.0"
3131
},
3232
"husky": {
3333
"hooks": {

packages/display-js/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@
2525
"postMessage"
2626
],
2727
"devDependencies": {
28-
"@babel/cli": "^7.10.4",
29-
"@babel/core": "^7.10.4",
30-
"@babel/node": "^7.10.4",
31-
"eslint": "^7.3.1",
32-
"jest": "^26.1.0",
28+
"@babel/cli": "^7.10.5",
29+
"@babel/core": "^7.11.1",
30+
"@babel/node": "^7.10.5",
31+
"@rollup/plugin-babel": "^5.2.0",
32+
"@rollup/plugin-node-resolve": "^9.0.0",
33+
"eslint": "^7.6.0",
34+
"jest": "^26.4.0",
3335
"jest-fetch-mock": "^3.0.3",
3436
"jquery": "^3.5.1",
3537
"prettier": "^2.0.5",
36-
"rollup": "^2.18.1",
37-
"rollup-plugin-babel": "^4.4.0",
38+
"rollup": "^2.25.0",
3839
"rollup-plugin-filesize": "^9.0.2",
39-
"rollup-plugin-node-resolve": "^5.2.0",
40-
"rollup-plugin-terser": "^6.1.0",
41-
"whatwg-fetch": "^3.1.0"
40+
"rollup-plugin-terser": "^7.0.0",
41+
"whatwg-fetch": "^3.4.0"
4242
}
4343
}

packages/display-js/rollup.config.js

+14-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import resolve from 'rollup-plugin-node-resolve'
2-
import babel from 'rollup-plugin-babel'
1+
import resolve from '@rollup/plugin-node-resolve'
2+
import babel from '@rollup/plugin-babel'
33
import { terser } from 'rollup-plugin-terser'
44

55
import filesize from 'rollup-plugin-filesize'
@@ -25,6 +25,7 @@ export default [
2525
},
2626
plugins: [
2727
babel({
28+
babelHelpers: 'bundled',
2829
presets: [['@babel/preset-env', { targets: { esmodules: true } }]],
2930
}),
3031
resolve(),
@@ -40,7 +41,11 @@ export default [
4041
sourcemap: true,
4142
banner,
4243
},
43-
plugins: [babel(), resolve(), filesize({ showGzippedSize: false, showMinifiedSize: false })],
44+
plugins: [
45+
babel({ babelHelpers: 'bundled' }),
46+
resolve(),
47+
filesize({ showGzippedSize: false, showMinifiedSize: false }),
48+
],
4449
},
4550
{
4651
input,
@@ -51,6 +56,11 @@ export default [
5156
sourcemap: true,
5257
banner,
5358
},
54-
plugins: [babel(), resolve(), terser(), filesize({ showBrotliSize: true, showMinifiedSize: false })],
59+
plugins: [
60+
babel({ babelHelpers: 'bundled' }),
61+
resolve(),
62+
terser(),
63+
filesize({ showBrotliSize: true, showMinifiedSize: false }),
64+
],
5565
},
5666
]

packages/display-react/package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,28 @@
2626
"react"
2727
],
2828
"devDependencies": {
29-
"@babel/cli": "^7.10.4",
30-
"@babel/node": "^7.10.4",
31-
"@babel/plugin-transform-runtime": "^7.10.4",
29+
"@babel/cli": "^7.10.5",
30+
"@babel/node": "^7.10.5",
31+
"@babel/plugin-transform-runtime": "^7.11.0",
32+
"@rollup/plugin-babel": "^5.2.0",
33+
"@rollup/plugin-node-resolve": "^9.0.0",
3234
"babel-preset-react-app": "^9.1.2",
33-
"eslint": "^7.3.1",
35+
"eslint": "^7.6.0",
3436
"eslint-config-react-app": "^5.2.1",
3537
"eslint-plugin-flowtype": "^5.2.0",
3638
"eslint-plugin-jsx-a11y": "^6.3.1",
37-
"eslint-plugin-react": "^7.20.3",
38-
"eslint-plugin-react-hooks": "^4.0.5",
39-
"jest": "^26.1.0",
39+
"eslint-plugin-react": "^7.20.6",
40+
"eslint-plugin-react-hooks": "^4.0.8",
41+
"jest": "^26.4.0",
4042
"prettier": "^2.0.5",
41-
"rollup": "^2.18.1",
42-
"rollup-plugin-babel": "^4.4.0",
43-
"rollup-plugin-filesize": "^9.0.2",
44-
"rollup-plugin-node-resolve": "^5.2.0"
43+
"rollup": "^2.25.0",
44+
"rollup-plugin-filesize": "^9.0.2"
4545
},
4646
"peerDependencies": {
4747
"react": ">= 16.8"
4848
},
4949
"dependencies": {
50-
"@babel/runtime": "^7.10.4",
50+
"@babel/runtime": "^7.11.2",
5151
"@hubstairs/display-js": "^0.2.0"
5252
}
5353
}

packages/display-react/rollup.config.js

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import resolve from 'rollup-plugin-node-resolve'
2-
import babel from 'rollup-plugin-babel'
1+
import resolve from '@rollup/plugin-node-resolve'
2+
import babel from '@rollup/plugin-babel'
33

44
import filesize from 'rollup-plugin-filesize'
55

@@ -13,6 +13,7 @@ const url = 'https://www.hubstairs.com'
1313
const banner = `/*! ${name} | ${copyright} | ${pkg.license} License | ${url} */`
1414

1515
const globalName = 'Hubstairs.DisplayReact'
16+
1617
export default [
1718
{
1819
input,
@@ -25,7 +26,7 @@ export default [
2526
external: ['react', 'react-proptypes'],
2627
plugins: [
2728
babel({
28-
runtimeHelpers: true,
29+
babelHelpers: 'runtime',
2930
presets: [['@babel/preset-env', { targets: { esmodules: true } }]],
3031
}),
3132
resolve(),
@@ -41,6 +42,6 @@ export default [
4142
banner,
4243
},
4344
external: ['react', 'react-proptypes'],
44-
plugins: [babel({ runtimeHelpers: true, plugins: ['@babel/plugin-transform-runtime'] }), resolve(), filesize()],
45+
plugins: [babel({ babelHelpers: 'runtime', plugins: ['@babel/plugin-transform-runtime'] }), resolve(), filesize()],
4546
},
4647
]

0 commit comments

Comments
 (0)