Skip to content

Commit 07fbab1

Browse files
committed
Upgrade direct and transitive dependencies
1 parent e4cb9b4 commit 07fbab1

File tree

4 files changed

+2030
-2989
lines changed

4 files changed

+2030
-2989
lines changed

.flowconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[ignore]
22
.*/node_modules/@babel/[A-Z-a-z-]*/.*
33
.*/node_modules/babel[A-Z-a-z-]*/.*
4+
.*/node_modules/resolve/.*
45

56
[untyped]
67
.*/node_modules/react-is/.*

package.json

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,29 +52,28 @@
5252
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
5353
},
5454
"devDependencies": {
55-
"@ampproject/rollup-plugin-closure-compiler": "^0.26.0",
56-
"@babel/core": "^7.13.10",
57-
"@babel/plugin-transform-flow-strip-types": "^7.13.0",
58-
"@babel/plugin-transform-object-assign": "^7.12.13",
59-
"@babel/preset-env": "^7.13.10",
60-
"@babel/preset-flow": "^7.12.13",
61-
"@babel/preset-react": "^7.12.13",
55+
"@babel/core": "^7.16.7",
56+
"@babel/plugin-transform-flow-strip-types": "^7.16.7",
57+
"@babel/plugin-transform-object-assign": "^7.16.7",
58+
"@babel/preset-env": "^7.16.7",
59+
"@babel/preset-flow": "^7.16.7",
60+
"@babel/preset-react": "^7.16.7",
6261
"@rollup/plugin-babel": "^5.3.0",
6362
"@rollup/plugin-buble": "^0.21.3",
64-
"@rollup/plugin-commonjs": "^17.1.0",
65-
"@rollup/plugin-node-resolve": "^11.2.0",
63+
"@rollup/plugin-commonjs": "^21.0.1",
64+
"@rollup/plugin-node-resolve": "^13.1.3",
6665
"babel-plugin-closure-elimination": "^1.3.2",
67-
"babel-plugin-transform-async-to-promises": "^0.8.15",
68-
"codecov": "^3.8.1",
66+
"babel-plugin-transform-async-to-promises": "^0.8.18",
67+
"codecov": "^3.8.3",
6968
"flow-bin": "0.122.0",
7069
"husky-v4": "^4.3.0",
71-
"jest": "^26.6.3",
72-
"lint-staged": "^10.5.4",
70+
"jest": "^27.4.7",
71+
"lint-staged": "^12.1.5",
7372
"npm-run-all": "^4.1.5",
74-
"prettier": "^2.2.1",
75-
"react": "^17.0.1",
76-
"react-dom": "^17.0.1",
77-
"rollup": "^2.41.2",
73+
"prettier": "^2.5.1",
74+
"react": "^17.0.2",
75+
"react-dom": "^17.0.2",
76+
"rollup": "^2.63.0",
7877
"rollup-plugin-babel": "^4.4.0",
7978
"rollup-plugin-terser": "^7.0.2"
8079
}

rollup.config.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import resolve from '@rollup/plugin-node-resolve'
33
import buble from '@rollup/plugin-buble'
44
import babel from '@rollup/plugin-babel'
55
import { terser } from 'rollup-plugin-terser'
6-
import compiler from '@ampproject/rollup-plugin-closure-compiler'
76

87
const pkg = require('./package.json')
98

@@ -71,9 +70,6 @@ const plugins = [
7170
]
7271
]
7372
}),
74-
compiler({
75-
compilation_level: 'SIMPLE_OPTIMIZATIONS'
76-
}),
7773
terser({
7874
warnings: true,
7975
ecma: 5,
@@ -92,7 +88,10 @@ const plugins = [
9288
conditionals: false,
9389
join_vars: false
9490
},
95-
mangle: false,
91+
mangle: {
92+
module: true,
93+
keep_fnames: true
94+
},
9695
output: {
9796
beautify: true,
9897
braces: true,

0 commit comments

Comments
 (0)