react-app-polyfill 1.0.1 → 1.0.5

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 +9 -8
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.1",
3
+ "version": "1.0.5",
4
4
  "description": "Polyfills for various browsers including commonly used language features",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,11 +21,12 @@
21
21
  "stable.js"
22
22
  ],
23
23
  "dependencies": {
24
- "core-js": "3.0.1",
25
- "object-assign": "4.1.1",
26
- "promise": "8.0.2",
27
- "raf": "3.4.1",
28
- "regenerator-runtime": "0.13.2",
29
- "whatwg-fetch": "3.0.0"
30
- }
24
+ "core-js": "^3.4.1",
25
+ "object-assign": "^4.1.1",
26
+ "promise": "^8.0.3",
27
+ "raf": "^3.4.1",
28
+ "regenerator-runtime": "^0.13.3",
29
+ "whatwg-fetch": "^3.0.0"
30
+ },
31
+ "gitHead": "9a817dd0d780ec401afb1f99dbc0f3bdbcd51683"
31
32
  }