Skip to content

Commit 278950b

Browse files
authored
Merge pull request #5358 from plotly/replace-es6-promise
Replace es6-promise module with native-promise-only module
2 parents bae378a + ef11ced commit 278950b

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package-lock.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
"d3-interpolate": "^1.4.0",
7777
"d3-time-format": "^2.2.3",
7878
"delaunay-triangulate": "^1.1.6",
79-
"es6-promise": "^4.2.8",
8079
"fast-isnumeric": "^1.1.4",
8180
"gl-cone3d": "^1.5.2",
8281
"gl-contour2d": "^1.1.7",
@@ -104,6 +103,7 @@
104103
"mouse-change": "^1.4.0",
105104
"mouse-event-offset": "^3.0.2",
106105
"mouse-wheel": "^1.2.0",
106+
"native-promise-only": "^0.8.1",
107107
"ndarray": "^1.0.19",
108108
"ndarray-linear-interpolate": "^1.0.0",
109109
"parse-svg-path": "^0.1.2",

src/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
exports.version = require('./version').version;
1212

1313
// inject promise polyfill
14-
require('es6-promise').polyfill();
14+
require('native-promise-only');
1515

1616
// inject plot css
1717
require('../build/plotcss');

0 commit comments

Comments
 (0)