react-app-polyfill 1.0.0 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/ie11.js +1 -1
- package/ie9.js +2 -1
- package/package.json +5 -5
package/README.md
CHANGED
@@ -19,7 +19,7 @@ yarn add react-app-polyfill
|
|
19
19
|
|
20
20
|
## Supporting Internet Explorer
|
21
21
|
|
22
|
-
You can import the entry point for the minimal version you intend to support to ensure that the minimum
|
22
|
+
You can import the entry point for the minimal version you intend to support to ensure that the minimum language features are present that are required to use Create React App. For example, if you import the IE9 entry point, this will include IE10 and IE11 support.
|
23
23
|
|
24
24
|
These modules ensure the following language features are present:
|
25
25
|
|
package/ie11.js
CHANGED
@@ -11,7 +11,7 @@ if (typeof Promise === 'undefined') {
|
|
11
11
|
// inconsistent state due to an error, but it gets swallowed by a Promise,
|
12
12
|
// and the user has no idea what causes React's erratic future behavior.
|
13
13
|
require('promise/lib/rejection-tracking').enable();
|
14
|
-
|
14
|
+
self.Promise = require('promise/lib/es6-extensions.js');
|
15
15
|
}
|
16
16
|
|
17
17
|
// Make sure we're in a Browser-like environment before importing polyfills
|
package/ie9.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-app-polyfill",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.4",
|
4
4
|
"description": "Polyfills for various browsers including commonly used language features",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -21,12 +21,12 @@
|
|
21
21
|
"stable.js"
|
22
22
|
],
|
23
23
|
"dependencies": {
|
24
|
-
"core-js": "3.
|
24
|
+
"core-js": "3.2.1",
|
25
25
|
"object-assign": "4.1.1",
|
26
|
-
"promise": "8.0.
|
26
|
+
"promise": "8.0.3",
|
27
27
|
"raf": "3.4.1",
|
28
|
-
"regenerator-runtime": "0.13.
|
28
|
+
"regenerator-runtime": "0.13.3",
|
29
29
|
"whatwg-fetch": "3.0.0"
|
30
30
|
},
|
31
|
-
"gitHead": "
|
31
|
+
"gitHead": "7fae307aefe74282f2ffc98e8f1f401ddf5fab3f"
|
32
32
|
}
|