core-js-compat
Advanced tools
Comparing version 3.1.4 to 3.2.0
@@ -77,2 +77,3 @@ { | ||
"firefox": "67", | ||
"safari": "13", | ||
"opera": "60", | ||
@@ -469,2 +470,3 @@ "node": "12.0", | ||
"chrome": "73", | ||
"safari": "13", | ||
"opera": "60", | ||
@@ -477,2 +479,3 @@ "node": "12.0", | ||
"chrome": "73", | ||
"safari": "13", | ||
"opera": "60", | ||
@@ -1303,2 +1306,8 @@ "node": "12.0", | ||
}, | ||
"es.promise.all-settled": { | ||
"chrome": "76", | ||
"safari": "13", | ||
"opera": "63", | ||
"electron": "6.0" | ||
}, | ||
"es.promise.finally": { | ||
@@ -1574,2 +1583,4 @@ "chrome": "67", | ||
"chrome": "73", | ||
"firefox": "67", | ||
"safari": "13", | ||
"opera": "60", | ||
@@ -2218,2 +2229,3 @@ "node": "12.0", | ||
"esnext.aggregate-error": {}, | ||
"esnext.array.is-template-object": {}, | ||
"esnext.array.last-index": {}, | ||
@@ -2248,2 +2260,3 @@ "esnext.array.last-item": {}, | ||
"esnext.map.update": {}, | ||
"esnext.map.update-or-insert": {}, | ||
"esnext.math.clamp": {}, | ||
@@ -2266,2 +2279,3 @@ "esnext.math.deg-per-rad": {}, | ||
"chrome": "76", | ||
"safari": "13", | ||
"opera": "63", | ||
@@ -2301,3 +2315,12 @@ "electron": "6.0" | ||
"esnext.string.code-points": {}, | ||
"esnext.string.match-all": { | ||
"chrome": "73", | ||
"firefox": "67", | ||
"safari": "13", | ||
"opera": "60", | ||
"node": "12.0", | ||
"electron": "5.0" | ||
}, | ||
"esnext.string.replace-all": {}, | ||
"esnext.symbol.async-dispose": {}, | ||
"esnext.symbol.dispose": {}, | ||
@@ -2386,9 +2409,3 @@ "esnext.symbol.observable": {}, | ||
"ios": "12.0" | ||
}, | ||
"esnext.string.match-all": { | ||
"chrome": "73", | ||
"opera": "60", | ||
"node": "12.0", | ||
"electron": "5.0" | ||
} | ||
} |
@@ -6,3 +6,2 @@ 'use strict'; | ||
const getModulesListForTargetVersion = require('./get-modules-list-for-target-version'); | ||
const intersection = require('core-js-pure/features/set/intersection'); | ||
const has = Function.call.bind({}.hasOwnProperty); | ||
@@ -90,3 +89,4 @@ | ||
if (version) { | ||
modules = [...intersection(new Set(getModulesListForTargetVersion(version)), new Set(modules))]; | ||
const availableModules = new Set(getModulesListForTargetVersion(version)); | ||
modules = modules.filter(name => availableModules.has(name)); | ||
} | ||
@@ -93,0 +93,0 @@ |
@@ -273,2 +273,3 @@ { | ||
"esnext.string.code-points", | ||
"esnext.string.match-all", | ||
"esnext.string.replace-all", | ||
@@ -292,4 +293,3 @@ "esnext.symbol.dispose", | ||
"web.url.to-json", | ||
"web.url-search-params", | ||
"esnext.string.match-all" | ||
"web.url-search-params" | ||
], | ||
@@ -300,3 +300,9 @@ "3.1": [ | ||
"esnext.symbol.replace-all" | ||
], | ||
"3.2": [ | ||
"es.promise.all-settled", | ||
"esnext.array.is-template-object", | ||
"esnext.map.update-or-insert", | ||
"esnext.symbol.async-dispose" | ||
] | ||
} |
{ | ||
"name": "core-js-compat", | ||
"description": "core-js compat", | ||
"version": "3.1.4", | ||
"version": "3.2.0", | ||
"repository": { | ||
@@ -11,9 +11,8 @@ "type": "git", | ||
"dependencies": { | ||
"browserslist": "^4.6.2", | ||
"core-js-pure": "3.1.4", | ||
"semver": "^6.1.1" | ||
"browserslist": "^4.6.6", | ||
"semver": "^6.3.0" | ||
}, | ||
"devDependencies": { | ||
"detective": "^5.2.0", | ||
"electron-to-chromium": "^1.3.161", | ||
"electron-to-chromium": "^1.3.220", | ||
"glob": "^7.1.4" | ||
@@ -20,0 +19,0 @@ }, |
Sorry, the diff of this file is too big to display
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
254425
2
10398
- Removedcore-js-pure@3.1.4
- Removedcore-js-pure@3.1.4(transitive)
Updatedbrowserslist@^4.6.6
Updatedsemver@^6.3.0