react-app-polyfill 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/ie11.js +1 -1
  2. package/ie9.js +2 -1
  3. package/package.json +2 -2
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.3",
3
+ "version": "1.0.4",
4
4
  "description": "Polyfills for various browsers including commonly used language features",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,5 +28,5 @@
28
28
  "regenerator-runtime": "0.13.3",
29
29
  "whatwg-fetch": "3.0.0"
30
30
  },
31
- "gitHead": "a825e8f5e3b7ecd84a0bcef61bbc26eb4e8fd9c3"
31
+ "gitHead": "7fae307aefe74282f2ffc98e8f1f401ddf5fab3f"
32
32
  }