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 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 langauge 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.
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
- window.Promise = require('promise/lib/es6-extensions.js');
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
@@ -11,4 +11,5 @@ require('./ie11');
11
11
  // React 16+ relies on Map, Set, and requestAnimationFrame
12
12
  require('core-js/features/map');
13
13
  require('core-js/features/set');
14
- require('raf').polyfill(window);
14
+
15
+ require('raf').polyfill();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-app-polyfill",
3
- "version": "1.0.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.0.1",
24
+ "core-js": "3.2.1",
25
25
  "object-assign": "4.1.1",
26
- "promise": "8.0.2",
26
+ "promise": "8.0.3",
27
27
  "raf": "3.4.1",
28
- "regenerator-runtime": "0.13.2",
28
+ "regenerator-runtime": "0.13.3",
29
29
  "whatwg-fetch": "3.0.0"
30
30
  },
31
- "gitHead": "265c1592dcf3853122dcdd50e1bfc1e43f697fbe"
31
+ "gitHead": "7fae307aefe74282f2ffc98e8f1f401ddf5fab3f"
32
32
  }