Skip to content

Commit a956343

Browse files
JadTermsanijohnholdun
authored andcommitted
chore: update dependencies
1 parent 035aa65 commit a956343

File tree

11 files changed

+6160
-4629
lines changed

11 files changed

+6160
-4629
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
]

.eslintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@
2424
"error",
2525
{ "max": 1, "maxEOF": 0, "maxBOF": 0 }
2626
],
27-
"import/no-unresolved": false
27+
"import/no-unresolved": 0,
28+
"import/no-cycle": 0
2829
},
2930
"settings": {
3031
"import/resolver": {

dist/mercury.js

Lines changed: 1147 additions & 566 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: 5 additions & 0 deletions
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 & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -54,83 +54,81 @@
5454
"node": ">=10"
5555
},
5656
"devDependencies": {
57-
"@babel/core": "^7.0.0",
58-
"@babel/plugin-transform-runtime": "^7.0.0",
59-
"@babel/polyfill": "^7.0.0",
60-
"@babel/preset-env": "^7.0.0",
61-
"@babel/runtime": "^7.0.0",
57+
"@babel/core": "^7.11.6",
58+
"@babel/plugin-transform-runtime": "^7.11.5",
59+
"@babel/preset-env": "^7.11.5",
60+
"@babel/runtime": "^7.11.2",
6261
"@jesses/circle-github-bot": "^2.1.0",
63-
"@octokit/rest": "^16.9.0",
64-
"babel-core": "^7.0.0-bridge.0",
65-
"babel-eslint": "^10.0.1",
66-
"babel-jest": "^23.4.2",
67-
"babel-plugin-module-alias": "^1.6.0",
68-
"babel-plugin-module-resolver": "^3.1.2",
62+
"@octokit/rest": "^16.43.2",
63+
"@rollup/plugin-babel": "^5.2.0",
64+
"@rollup/plugin-commonjs": "^15.0.0",
65+
"@rollup/plugin-node-resolve": "^9.0.0",
66+
"babel-eslint": "^10.1.0",
67+
"babel-jest": "^26.3.0",
68+
"babel-plugin-module-resolver": "^4.0.0",
6969
"babelify": "^10.0.0",
7070
"babelrc-rollup": "^3.0.0",
71-
"brfs": "^2.0.1",
71+
"brfs": "^2.0.2",
7272
"brfs-babel": "^2.0.0",
73-
"browserify": "^16.2.3",
74-
"changelog-maker": "^2.3.0",
75-
"eslint": "^5.12.0",
76-
"eslint-config-airbnb": "^17.1.0",
77-
"eslint-config-prettier": "^6.1.0",
78-
"eslint-import-resolver-babel-module": "^2.2.1",
79-
"eslint-plugin-babel": "^5.3.0",
80-
"eslint-plugin-import": "^2.14.0",
81-
"eslint-plugin-jsx-a11y": "^6.1.2",
82-
"eslint-plugin-react": "^7.12.3",
83-
"express": "^4.16.4",
84-
"husky": "^3.0.0",
85-
"inquirer": "^7.0.0",
86-
"jasmine-core": "^2.5.2",
87-
"jest": "^23.6.0",
88-
"jest-cli": "^23.6.0",
73+
"browserify": "^16.5.2",
74+
"changelog-maker": "^2.4.2",
75+
"eslint": "^7.8.1",
76+
"eslint-config-airbnb": "^18.2.0",
77+
"eslint-config-prettier": "^6.11.0",
78+
"eslint-import-resolver-babel-module": "^5.1.2",
79+
"eslint-plugin-babel": "^5.3.1",
80+
"eslint-plugin-import": "^2.22.0",
81+
"eslint-plugin-jsx-a11y": "^6.3.1",
82+
"eslint-plugin-react": "^7.20.6",
83+
"express": "^4.17.1",
84+
"husky": "^4.2.5",
85+
"inquirer": "^7.3.3",
86+
"jasmine-core": "^2.99.1",
87+
"jest": "^26.4.2",
88+
"jest-cli": "^26.4.2",
8989
"karma": "^6.3.16",
9090
"karma-browserify": "8.1.0",
91-
"karma-chrome-launcher": "^3.0.0",
91+
"karma-chrome-launcher": "^3.1.0",
9292
"karma-cli": "^2.0.0",
93-
"karma-jasmine": "^1.0.2",
93+
"karma-jasmine": "^1.1.2",
9494
"karma-mocha": "^1.3.0",
9595
"karma-requirejs": "^1.1.0",
96-
"lint-staged": "^8.1.0",
97-
"mocha": "^6.0.0",
96+
"lint-staged": "^8.2.1",
97+
"mocha": "^6.2.3",
9898
"nock": "^10.0.6",
99-
"ora": "^4.0.0",
100-
"prettier": "^1.15.3",
101-
"remark-cli": "^7.0.0",
102-
"remark-lint": "^6.0.4",
103-
"remark-preset-lint-recommended": "^3.0.2",
99+
"ora": "^4.1.1",
100+
"prettier": "^1.19.1",
101+
"remark-cli": "^7.0.1",
102+
"remark-lint": "^6.0.6",
103+
"remark-preset-lint-recommended": "^3.0.4",
104104
"requirejs": "^2.3.6",
105-
"rollup": "^1.1.0",
106-
"rollup-plugin-babel": "^4.0.1",
107-
"rollup-plugin-commonjs": "^9.2.0",
105+
"rollup": "^2.26.9",
108106
"rollup-plugin-node-globals": "^1.4.0",
109-
"rollup-plugin-node-resolve": "^2.0.0",
110-
"rollup-plugin-terser": "^6.1.0",
111-
"rollup-plugin-uglify": "^6.0.1",
107+
"rollup-plugin-uglify": "^6.0.4",
112108
"watchify": "^3.11.1"
113109
},
114110
"dependencies": {
115-
"@babel/runtime-corejs2": "^7.2.0",
116-
"@postlight/ci-failed-test-reporter": "^1.0",
111+
"@babel/runtime-corejs3": "^7.11.2",
112+
"@postlight/ci-failed-test-reporter": "^1.0.26",
117113
"browser-request": "github:postlight/browser-request#feat-add-headers-to-response",
118-
"cheerio": "^0.22.0",
114+
"cheerio": "^1.0.0-rc.3",
115+
"core-js": "3.6.5",
119116
"difflib": "github:postlight/difflib.js",
120117
"ellipsize": "0.1.0",
121-
"iconv-lite": "0.5.0",
122-
"jquery": "^3.5.0",
123-
"moment": "^2.23.0",
118+
"eslint-plugin-react-hooks": "^4.1.0",
119+
"iconv-lite": "0.6.2",
120+
"jquery": "^3.5.1",
121+
"moment": "^2.27.0",
124122
"moment-parseformat": "3.0.0",
125123
"moment-timezone": "0.5.26",
126124
"postman-request": "^2.88.1-postman.7.1",
127-
"request-promise": "^4.2.2",
125+
"request": "^2.88.2",
128126
"string-direction": "^0.1.2",
129127
"turndown": "^5.0.3",
130128
"url": "^0.11.0",
131129
"valid-url": "^1.0.9",
132-
"wuzzy": "^0.1.4",
133-
"yargs-parser": "^15.0.1"
130+
"wuzzy": "^0.1.5",
131+
"yargs-parser": "^14.0.0"
134132
},
135133
"bundleDependencies": [
136134
"jquery",

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)