babel-plugin-polyfill-es-shims
Advanced tools
Comparing version 0.7.1 to 0.8.0
@@ -142,4 +142,7 @@ { | ||
"edge": "97", | ||
"safari": "tp", | ||
"firefox": "104", | ||
"safari": "15.4", | ||
"node": "18", | ||
"ios": "15.4", | ||
"samsung": "18", | ||
"electron": "17" | ||
@@ -151,4 +154,7 @@ }, | ||
"edge": "97", | ||
"safari": "tp", | ||
"firefox": "104", | ||
"safari": "15.4", | ||
"node": "18", | ||
"ios": "15.4", | ||
"samsung": "18", | ||
"electron": "17" | ||
@@ -372,2 +378,3 @@ }, | ||
"ios": "15", | ||
"samsung": "17", | ||
"electron": "15" | ||
@@ -388,2 +395,13 @@ }, | ||
}, | ||
"Map": { | ||
"chrome": "51", | ||
"opera": "38", | ||
"edge": "15", | ||
"firefox": "53", | ||
"safari": "10", | ||
"node": "6.5", | ||
"ios": "10", | ||
"samsung": "5", | ||
"electron": "1.2" | ||
}, | ||
"Math.acosh": { | ||
@@ -659,4 +677,6 @@ "chrome": "38", | ||
"firefox": "92", | ||
"safari": "tp", | ||
"safari": "15.4", | ||
"node": "16.9", | ||
"ios": "15.4", | ||
"samsung": "17", | ||
"electron": "14" | ||
@@ -753,2 +773,20 @@ }, | ||
}, | ||
"Set": { | ||
"chrome": "51", | ||
"opera": "38", | ||
"edge": "15", | ||
"firefox": "53", | ||
"safari": "10", | ||
"node": "6.5", | ||
"ios": "10", | ||
"samsung": "5", | ||
"electron": "1.2" | ||
}, | ||
"Set.prototype.difference": {}, | ||
"Set.prototype.intersection": {}, | ||
"Set.prototype.isDisjointFrom": {}, | ||
"Set.prototype.isSubsetOf": {}, | ||
"Set.prototype.isSupersetOf": {}, | ||
"Set.prototype.symmetricDifference": {}, | ||
"Set.prototype.union": {}, | ||
"String.fromCodePoint": { | ||
@@ -755,0 +793,0 @@ "chrome": "41", |
@@ -54,2 +54,4 @@ "use strict"; | ||
defineGlobal("parseInt", "2.0.0"); | ||
defineGlobal("Map", "1.0.4", "es-map"); | ||
defineGlobal("Set", "1.1.0", "es-set"); | ||
@@ -62,3 +64,4 @@ const arrayCheck = thisObj => expr`Array.isArray(${thisObj})`; | ||
const stringCheck = typeofCheck("string"); | ||
const stringCheck = typeofCheck("string"); // const setCheck = instanceofCheck("Set"); | ||
const getter = { | ||
@@ -165,3 +168,11 @@ getter: true | ||
defineStatic("Reflect", "getPrototypeOf", "1.0.0"); | ||
defineInstance("RegExp", "flags", "1.3.0", instanceofCheck("RegExp"), getter); | ||
defineInstance("RegExp", "flags", "1.3.0", instanceofCheck("RegExp"), getter); // TODO: Uncomment when Stage 4 | ||
// defineInstance("Set", "difference", "1.0.2", setCheck); | ||
// defineInstance("Set", "intersection", "1.0.2", setCheck); | ||
// defineInstance("Set", "isDisjointFrom", "1.0.2", setCheck); | ||
// defineInstance("Set", "isSubsetOf", "1.0.2", setCheck); | ||
// defineInstance("Set", "isSupersetOf", "1.0.2", setCheck); | ||
// defineInstance("Set", "symmetricDifference", "1.0.2", setCheck); | ||
// defineInstance("Set", "union", "1.0.2", setCheck); | ||
defineStatic("String", "fromCodePoint", "1.0.0"); | ||
@@ -168,0 +179,0 @@ defineStatic("String", "raw", "1.0.1"); |
{ | ||
"name": "babel-plugin-polyfill-es-shims", | ||
"version": "0.7.1", | ||
"version": "0.8.0", | ||
"description": "A Babel plugin to inject imports to es-shims polyfills", | ||
@@ -40,3 +40,3 @@ "repository": { | ||
}, | ||
"gitHead": "42b9477c199c0c5420b45cfa8c9bb892d94a64af" | ||
"gitHead": "f9d6c6041bfaad1f89b1dce6f23a919636229008" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102338
1869