core-js-compat
Advanced tools
Comparing version 3.13.1 to 3.14.0
{ | ||
"name": "core-js-compat", | ||
"description": "core-js compat", | ||
"version": "3.13.1", | ||
"version": "3.14.0", | ||
"repository": { | ||
@@ -20,3 +20,3 @@ "type": "git", | ||
"license": "MIT", | ||
"gitHead": "a05c21cbf99ccb39b75746f3f65cbb91ef80d697" | ||
"gitHead": "e386f3de7760ee2910d07efb9d35029aa5dda93b" | ||
} |
@@ -10,3 +10,3 @@ [`core-js-compat` package](https://github.com/zloirock/core-js/tree/master/packages/core-js-compat) contains data about the necessity of [`core-js`](https://github.com/zloirock/core-js) modules and API for getting a list of required core-js modules by browserslist query. | ||
filter: /^(es|web)\./, // optional filter - string-prefix, regexp or list of modules | ||
version: '3.13', // used `core-js` version, by default - the latest | ||
version: '3.14', // used `core-js` version, by default - the latest | ||
}); | ||
@@ -69,7 +69,7 @@ | ||
// the subset of modules which available in the passed `core-js` version: | ||
require('core-js-compat/get-modules-list-for-target-version')('3.13'); // => Array<ModuleName> | ||
require('core-js-compat/get-modules-list-for-target-version')('3.14'); // => Array<ModuleName> | ||
// or | ||
require('core-js-compat').getModulesListForTargetVersion('3.13'); // => Array<ModuleName> | ||
require('core-js-compat').getModulesListForTargetVersion('3.14'); // => Array<ModuleName> | ||
``` | ||
If you want to add new / update data about modules required for target engines, [follow this instruction](https://github.com/zloirock/core-js/blob/master/CONTRIBUTING.md#updating-core-js-compat-data). |
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
320998
12817
10