Skip to content

Commit 423c8b0

Browse files
refactor: upgrade polyfill dependencies (#1945)
1 parent fcc1463 commit 423c8b0

File tree

3 files changed

+10
-52
lines changed

3 files changed

+10
-52
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"connect-flash": "0.1.1",
4343
"cookie-session": "2.0.0",
4444
"copy-to-clipboard": "3.3.1",
45+
"core-js": "3.22.4",
4546
"csurf": "1.11.0",
4647
"express": "4.17.3",
4748
"graphiql": "1.8.7",
@@ -70,7 +71,7 @@
7071
"react-redux": "8.0.0",
7172
"react-router": "5.2.1",
7273
"react-router-dom": "5.3.0",
73-
"regenerator-runtime": "0.13.8",
74+
"regenerator-runtime": "0.13.9",
7475
"semver": "7.3.7",
7576
"typescript": "4.6.3"
7677
},
@@ -93,8 +94,6 @@
9394
"all-node-versions": "8.0.0",
9495
"babel-eslint": "10.1.0",
9596
"babel-loader": "8.2.3",
96-
"babel-plugin-transform-object-rest-spread": "6.26.0",
97-
"core-js": "3.6.5",
9897
"cross-env": "7.0.2",
9998
"css-loader": "6.5.1",
10099
"eslint": "6.8.0",

src/dashboard/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
* This source code is licensed under the license found in the LICENSE file in
66
* the root directory of this source tree.
77
*/
8+
import 'core-js/stable';
9+
import 'regenerator-runtime/runtime';
810
import Immutable from 'immutable';
911
import installDevTools from 'immutable-devtools';
1012
import React from 'react';
1113
import ReactDOM from 'react-dom';
1214
import Dashboard from './Dashboard';
13-
import 'core-js/stable';
14-
import 'regenerator-runtime/runtime';
1515

1616
require('stylesheets/fonts.scss');
1717
require('graphiql/graphiql.min.css')

0 commit comments

Comments
 (0)