Socket
Socket
Sign inDemoInstall

core-js-compat

Package Overview
Dependencies
Maintainers
2
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

core-js-compat - npm Package Compare versions

Comparing version 3.14.0 to 3.15.0

9

modules-by-versions.json

@@ -380,3 +380,12 @@ {

"esnext.symbol.metadata"
],
"3.15": [
"es.date.get-year",
"es.date.set-year",
"es.date.to-gmt-string",
"es.escape",
"es.regexp.dot-all",
"es.string.substr",
"es.unescape"
]
}

@@ -51,3 +51,6 @@ [

"es.data-view",
"es.date.get-year",
"es.date.now",
"es.date.set-year",
"es.date.to-gmt-string",
"es.date.to-iso-string",

@@ -57,2 +60,3 @@ "es.date.to-json",

"es.date.to-string",
"es.escape",
"es.function.bind",

@@ -141,2 +145,3 @@ "es.function.has-instance",

"es.regexp.constructor",
"es.regexp.dot-all",
"es.regexp.exec",

@@ -164,2 +169,3 @@ "es.regexp.flags",

"es.string.starts-with",
"es.string.substr",
"es.string.trim",

@@ -215,2 +221,3 @@ "es.string.trim-end",

"es.typed-array.to-string",
"es.unescape",
"es.weak-map",

@@ -217,0 +224,0 @@ "es.weak-set",

4

package.json
{
"name": "core-js-compat",
"description": "core-js compat",
"version": "3.14.0",
"version": "3.15.0",
"repository": {

@@ -20,3 +20,3 @@ "type": "git",

"license": "MIT",
"gitHead": "e386f3de7760ee2910d07efb9d35029aa5dda93b"
"gitHead": "4f7f304e7472127efc4749323c56819312fb327f"
}

@@ -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.14', // used `core-js` version, by default - the latest
version: '3.15', // 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.14'); // => Array<ModuleName>
require('core-js-compat/get-modules-list-for-target-version')('3.15'); // => Array<ModuleName>
// or
require('core-js-compat').getModulesListForTargetVersion('3.14'); // => Array<ModuleName>
require('core-js-compat').getModulesListForTargetVersion('3.15'); // => 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).

@@ -26,2 +26,3 @@ 'use strict';

'phantom',
'rhino',
'safari',

@@ -28,0 +29,0 @@ 'samsung',

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc