Skip to content

Commit 15a0444

Browse files
committed
chore: update dependencies
1 parent 38fb320 commit 15a0444

File tree

10 files changed

+11159
-9354
lines changed

10 files changed

+11159
-9354
lines changed

.babelrc

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
{
2-
"presets": ["@babel/preset-env"],
2+
"presets": [
3+
[
4+
"@babel/preset-env",
5+
{
6+
"useBuiltIns": "usage", // or "entry"
7+
"corejs": 3
8+
}
9+
]
10+
],
311
"plugins": [
412
[
513
"module-resolver",
@@ -22,8 +30,7 @@
2230
[
2331
"@babel/plugin-transform-runtime",
2432
{
25-
"corejs": 2,
26-
"regenerator": true
33+
"corejs": 3
2734
}
2835
]
2936
]

dist/mercury.js

Lines changed: 797 additions & 548 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mercury.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mercury.web.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mercury.web.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 50 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -51,81 +51,80 @@
5151
"node": ">=10"
5252
},
5353
"devDependencies": {
54-
"@babel/core": "^7.0.0",
55-
"@babel/plugin-transform-runtime": "^7.0.0",
56-
"@babel/polyfill": "^7.0.0",
57-
"@babel/preset-env": "^7.0.0",
58-
"@babel/runtime": "^7.0.0",
54+
"@babel/core": "^7.11.6",
55+
"@babel/plugin-transform-runtime": "^7.11.5",
56+
"@babel/preset-env": "^7.11.5",
57+
"@babel/runtime": "^7.11.2",
5958
"@jesses/circle-github-bot": "^2.1.0",
60-
"@octokit/rest": "^16.9.0",
61-
"babel-core": "^7.0.0-bridge.0",
62-
"babel-eslint": "^10.0.1",
63-
"babel-jest": "^23.4.2",
64-
"babel-plugin-module-alias": "^1.6.0",
65-
"babel-plugin-module-resolver": "^3.1.2",
59+
"@octokit/rest": "^16.43.2",
60+
"@rollup/plugin-babel": "^5.2.0",
61+
"@rollup/plugin-commonjs": "^15.0.0",
62+
"@rollup/plugin-node-resolve": "^9.0.0",
63+
"babel-eslint": "^10.1.0",
64+
"babel-jest": "^26.3.0",
65+
"babel-plugin-module-resolver": "^4.0.0",
6666
"babelify": "^10.0.0",
6767
"babelrc-rollup": "^3.0.0",
68-
"brfs": "^2.0.1",
68+
"brfs": "^2.0.2",
6969
"brfs-babel": "^2.0.0",
70-
"browserify": "^16.2.3",
71-
"changelog-maker": "^2.3.0",
72-
"eslint": "^5.12.0",
73-
"eslint-config-airbnb": "^17.1.0",
74-
"eslint-config-prettier": "^6.1.0",
75-
"eslint-import-resolver-babel-module": "^2.2.1",
76-
"eslint-plugin-babel": "^5.3.0",
77-
"eslint-plugin-import": "^2.14.0",
78-
"eslint-plugin-jsx-a11y": "^6.1.2",
79-
"eslint-plugin-react": "^7.12.3",
80-
"express": "^4.16.4",
81-
"husky": "^3.0.0",
82-
"inquirer": "^7.0.0",
83-
"jasmine-core": "^2.5.2",
84-
"jest": "^23.6.0",
85-
"jest-cli": "^23.6.0",
70+
"browserify": "^16.5.2",
71+
"changelog-maker": "^2.4.2",
72+
"eslint": "^7.8.1",
73+
"eslint-config-airbnb": "^18.2.0",
74+
"eslint-config-prettier": "^6.11.0",
75+
"eslint-import-resolver-babel-module": "^5.1.2",
76+
"eslint-plugin-babel": "^5.3.1",
77+
"eslint-plugin-import": "^2.22.0",
78+
"eslint-plugin-jsx-a11y": "^6.3.1",
79+
"eslint-plugin-react": "^7.20.6",
80+
"express": "^4.17.1",
81+
"husky": "^4.2.5",
82+
"inquirer": "^7.3.3",
83+
"jasmine-core": "^2.99.1",
84+
"jest": "^26.4.2",
85+
"jest-cli": "^26.4.2",
8686
"karma": "^3.1.4",
87-
"karma-browserify": "^6.0.0",
88-
"karma-chrome-launcher": "^3.0.0",
87+
"karma-browserify": "^6.1.0",
88+
"karma-chrome-launcher": "^3.1.0",
8989
"karma-cli": "^2.0.0",
90-
"karma-jasmine": "^1.0.2",
90+
"karma-jasmine": "^1.1.2",
9191
"karma-mocha": "^1.3.0",
9292
"karma-requirejs": "^1.1.0",
93-
"lint-staged": "^8.1.0",
94-
"mocha": "^6.0.0",
93+
"lint-staged": "^8.2.1",
94+
"mocha": "^6.2.3",
9595
"nock": "^10.0.6",
96-
"ora": "^4.0.0",
97-
"prettier": "^1.15.3",
98-
"remark-cli": "^7.0.0",
99-
"remark-lint": "^6.0.4",
100-
"remark-preset-lint-recommended": "^3.0.2",
96+
"ora": "^4.1.1",
97+
"prettier": "^1.19.1",
98+
"remark-cli": "^7.0.1",
99+
"remark-lint": "^6.0.6",
100+
"remark-preset-lint-recommended": "^3.0.4",
101101
"requirejs": "^2.3.6",
102-
"rollup": "^1.1.0",
103-
"rollup-plugin-babel": "^4.0.1",
104-
"rollup-plugin-commonjs": "^9.2.0",
102+
"rollup": "^2.26.9",
105103
"rollup-plugin-node-globals": "^1.4.0",
106-
"rollup-plugin-node-resolve": "^2.0.0",
107-
"rollup-plugin-uglify": "^6.0.1",
104+
"rollup-plugin-uglify": "^6.0.4",
108105
"watchify": "^3.11.1"
109106
},
110107
"dependencies": {
111-
"@babel/runtime-corejs2": "^7.2.0",
112-
"@postlight/ci-failed-test-reporter": "^1.0",
108+
"@babel/runtime-corejs3": "^7.11.2",
109+
"@postlight/ci-failed-test-reporter": "^1.0.26",
113110
"browser-request": "github:postlight/browser-request#feat-add-headers-to-response",
114-
"cheerio": "^0.22.0",
111+
"cheerio": "^1.0.0-rc.3",
112+
"core-js": "3.6.5",
115113
"difflib": "github:postlight/difflib.js",
116114
"ellipsize": "0.1.0",
117-
"iconv-lite": "0.5.0",
118-
"jquery": "^3.4.1",
119-
"moment": "^2.23.0",
115+
"eslint-plugin-react-hooks": "^4.1.0",
116+
"iconv-lite": "0.6.2",
117+
"jquery": "^3.5.1",
118+
"moment": "^2.27.0",
120119
"moment-parseformat": "3.0.0",
121120
"moment-timezone": "0.5.26",
122121
"postman-request": "^2.88.1-postman.7.1",
123-
"request-promise": "^4.2.2",
122+
"request": "^2.88.2",
124123
"string-direction": "^0.1.2",
125124
"turndown": "^5.0.3",
126125
"url": "^0.11.0",
127126
"valid-url": "^1.0.9",
128-
"wuzzy": "^0.1.4",
127+
"wuzzy": "^0.1.5",
129128
"yargs-parser": "^14.0.0"
130129
},
131130
"bundleDependencies": [

rollup.config.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
/* eslint-disable import/no-extraneous-dependencies */
2-
import babel from 'rollup-plugin-babel';
3-
import commonjs from 'rollup-plugin-commonjs';
2+
import babel from '@rollup/plugin-babel';
3+
import commonjs from '@rollup/plugin-commonjs';
44

55
export default {
66
input: 'src/mercury.js',
77
plugins: [
88
commonjs(),
99
babel({
10-
externalHelpers: false,
11-
runtimeHelpers: true,
10+
babelHelpers: 'runtime',
1211
}),
1312
],
1413
treeshake: true,
@@ -17,6 +16,6 @@ export default {
1716
? 'dist/mercury_test.js'
1817
: 'dist/mercury.js',
1918
format: 'cjs',
20-
sourceMap: true,
19+
sourcemap: true,
2120
},
2221
};

rollup.config.web.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1-
import nodeResolve from 'rollup-plugin-node-resolve';
1+
import nodeResolve from '@rollup/plugin-node-resolve';
22
import globals from 'rollup-plugin-node-globals';
33
import { uglify } from 'rollup-plugin-uglify'; // eslint-disable-line import/extensions
4-
import babel from 'rollup-plugin-babel';
5-
import commonjs from 'rollup-plugin-commonjs';
4+
import babel from '@rollup/plugin-babel';
5+
import commonjs from '@rollup/plugin-commonjs';
66

77
export default {
88
input: 'src/mercury.js',
99
plugins: [
1010
babel({
11-
runtimeHelpers: true,
11+
babelHelpers: 'runtime',
12+
skipPreflightCheck: true,
1213
exclude: './node_modules#<{(|*',
1314
}),
1415
commonjs({
@@ -28,6 +29,6 @@ export default {
2829
: 'dist/mercury.web.js',
2930
format: 'iife',
3031
name: 'Mercury',
31-
sourceMap: true,
32+
sourcemap: true,
3233
},
3334
};

scripts/rollup.config.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
/* eslint-disable import/no-extraneous-dependencies */
2-
import babel from 'rollup-plugin-babel';
3-
import commonjs from 'rollup-plugin-commonjs';
2+
import babel from '@rollup/plugin-babel';
3+
import commonjs from '@rollup/plugin-commonjs';
44

55
export default {
66
input: 'scripts/generate-custom-parser.js',
77
plugins: [
88
commonjs(),
99
babel({
10-
externalHelpers: false,
11-
runtimeHelpers: true,
10+
babelHelpers: 'runtime',
1211
}),
1312
],
1413
treeshake: true,
1514
output: {
1615
file: 'dist/generate-custom-parser.js',
1716
format: 'cjs',
18-
sourceMap: true,
17+
sourcemap: true,
1918
},
2019
};

0 commit comments

Comments
 (0)