Skip to content

Commit

Permalink
Merge pull request #5358 from plotly/replace-es6-promise
Browse files Browse the repository at this point in the history
Replace es6-promise module with native-promise-only module
  • Loading branch information
archmoj authored Dec 25, 2020
2 parents bae378a + ef11ced commit 278950b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
"d3-interpolate": "^1.4.0",
"d3-time-format": "^2.2.3",
"delaunay-triangulate": "^1.1.6",
"es6-promise": "^4.2.8",
"fast-isnumeric": "^1.1.4",
"gl-cone3d": "^1.5.2",
"gl-contour2d": "^1.1.7",
Expand Down Expand Up @@ -104,6 +103,7 @@
"mouse-change": "^1.4.0",
"mouse-event-offset": "^3.0.2",
"mouse-wheel": "^1.2.0",
"native-promise-only": "^0.8.1",
"ndarray": "^1.0.19",
"ndarray-linear-interpolate": "^1.0.0",
"parse-svg-path": "^0.1.2",
Expand Down
2 changes: 1 addition & 1 deletion src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
exports.version = require('./version').version;

// inject promise polyfill
require('es6-promise').polyfill();
require('native-promise-only');

// inject plot css
require('../build/plotcss');
Expand Down

0 comments on commit 278950b

Please sign in to comment.