Socket
Socket
Sign inDemoInstall

core-js-compat

Package Overview
Dependencies
Maintainers
1
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.27.2 to 3.28.0

19

modules-by-versions.json

@@ -471,3 +471,22 @@ {

"esnext.string.dedent"
],
"3.28": [
"es.array.to-reversed",
"es.array.to-sorted",
"es.array.to-spliced",
"es.array.with",
"es.typed-array.to-reversed",
"es.typed-array.to-sorted",
"es.typed-array.with",
"esnext.array-buffer.detached",
"esnext.array-buffer.transfer",
"esnext.array-buffer.transfer-to-fixed-length",
"esnext.function.demethodize",
"esnext.iterator.range",
"esnext.json.is-raw-json",
"esnext.json.parse",
"esnext.json.raw-json",
"esnext.symbol.is-registered",
"esnext.symbol.is-well-known"
]
}

@@ -52,5 +52,9 @@ [

"es.array.splice",
"es.array.to-reversed",
"es.array.to-sorted",
"es.array.to-spliced",
"es.array.unscopables.flat",
"es.array.unscopables.flat-map",
"es.array.unshift",
"es.array.with",
"es.array-buffer.constructor",

@@ -232,3 +236,6 @@ "es.array-buffer.is-view",

"es.typed-array.to-locale-string",
"es.typed-array.to-reversed",
"es.typed-array.to-sorted",
"es.typed-array.to-string",
"es.typed-array.with",
"es.unescape",

@@ -257,2 +264,5 @@ "es.weak-map",

"esnext.array.with",
"esnext.array-buffer.detached",
"esnext.array-buffer.transfer",
"esnext.array-buffer.transfer-to-fixed-length",
"esnext.async-disposable-stack.constructor",

@@ -279,2 +289,3 @@ "esnext.async-iterator.constructor",

"esnext.disposable-stack.constructor",
"esnext.function.demethodize",
"esnext.function.is-callable",

@@ -296,2 +307,3 @@ "esnext.function.is-constructor",

"esnext.iterator.map",
"esnext.iterator.range",
"esnext.iterator.reduce",

@@ -302,2 +314,5 @@ "esnext.iterator.some",

"esnext.iterator.to-async",
"esnext.json.is-raw-json",
"esnext.json.parse",
"esnext.json.raw-json",
"esnext.map.delete-all",

@@ -390,2 +405,4 @@ "esnext.map.emplace",

"esnext.symbol.dispose",
"esnext.symbol.is-registered",
"esnext.symbol.is-well-known",
"esnext.symbol.matcher",

@@ -392,0 +409,0 @@ "esnext.symbol.metadata",

4

package.json
{
"name": "core-js-compat",
"version": "3.27.2",
"version": "3.28.0",
"description": "core-js compat",

@@ -23,4 +23,4 @@ "repository": {

"dependencies": {
"browserslist": "^4.21.4"
"browserslist": "^4.21.5"
}
}

@@ -9,2 +9,5 @@ ![logo](https://user-images.githubusercontent.com/2213682/146607186-8e13ddef-26a4-4ebf-befd-5aac9d77c090.png)

**I highly recommend reading this: [So, what's next?](https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md)**
---
[`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.

@@ -28,3 +31,3 @@

],
version: '3.27', // used `core-js` version, by default - the latest
version: '3.28', // used `core-js` version, by default - the latest
inverse: false, // inverse of the result - shows modules that are NOT required for the target environment

@@ -127,5 +130,5 @@ });

// the subset of modules which available in the passed `core-js` version:
require('core-js-compat/get-modules-list-for-target-version')('3.27'); // => Array<ModuleName>
require('core-js-compat/get-modules-list-for-target-version')('3.28'); // => Array<ModuleName>
// or
require('core-js-compat').getModulesListForTargetVersion('3.27'); // => Array<ModuleName>
require('core-js-compat').getModulesListForTargetVersion('3.28'); // => Array<ModuleName>
```

@@ -135,2 +138,2 @@

![compat-table](https://user-images.githubusercontent.com/2213682/202867481-69d28cd6-9e1a-453b-8875-39a5bf92eac3.png)
![compat-table](https://user-images.githubusercontent.com/2213682/217452234-ccdcfc5a-c7d3-40d1-ab3f-86902315b8c3.png)

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