Socket
Socket
Sign inDemoInstall

babel-plugin-polyfill-corejs3

Package Overview
Dependencies
79
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.7.1 to 0.8.0

3

lib/built-in-definitions.js

@@ -287,2 +287,5 @@ "use strict";

},
URL: {
canParse: define("url/can-parse", ["web.url.can-parse", "web.url"])
},
WeakMap: {

@@ -289,0 +292,0 @@ from: define(null, ["esnext.weak-map.from", ...WeakMapDependencies]),

9

lib/index.js

@@ -56,7 +56,5 @@ "use strict";

[runtimeCompat]: {
useBabelRuntime,
useBabelRuntime = false,
ext = ".js"
} = {
useBabelRuntime: ""
}
} = {}
}) {

@@ -72,3 +70,3 @@ const isWebpack = babel.caller(caller => (caller == null ? void 0 : caller.name) === "babel-loader");

function getCoreJSPureBase(useProposalBase) {
return useBabelRuntime ? useProposalBase ? `${useBabelRuntime}/core-js` : `${useBabelRuntime}/core-js-stable` : useProposalBase ? "core-js-pure/features" : "core-js-pure/stable";
return useBabelRuntime ? useProposalBase ? `${_utils.BABEL_RUNTIME}/core-js` : `${_utils.BABEL_RUNTIME}/core-js-stable` : useProposalBase ? "core-js-pure/features" : "core-js-pure/stable";
}

@@ -127,2 +125,3 @@

name: "corejs3",
runtimeName: _utils.BABEL_RUNTIME,
polyfills: _data.default,

@@ -129,0 +128,0 @@

@@ -7,4 +7,4 @@ "use strict";

// This file is automatically generated by scripts/build-corejs3-shipped-proposals.mjs
var _default = new Set(["esnext.array.from-async", "esnext.array.group", "esnext.array.group-to-map", "esnext.set.intersection.v2", "esnext.set.is-disjoint-from.v2", "esnext.set.is-subset-of.v2", "esnext.set.is-superset-of.v2", "esnext.set.symmetric-difference.v2", "esnext.set.union.v2", "esnext.string.is-well-formed", "esnext.string.to-well-formed"]);
var _default = new Set(["esnext.array.from-async", "esnext.array.group", "esnext.array.group-to-map", "esnext.array-buffer.detached", "esnext.array-buffer.transfer", "esnext.array-buffer.transfer-to-fixed-length", "esnext.json.is-raw-json", "esnext.json.parse", "esnext.json.raw-json", "esnext.set.difference.v2", "esnext.set.intersection.v2", "esnext.set.is-disjoint-from.v2", "esnext.set.is-subset-of.v2", "esnext.set.is-superset-of.v2", "esnext.set.symmetric-difference.v2", "esnext.set.union.v2", "esnext.string.is-well-formed", "esnext.string.to-well-formed"]);
exports.default = _default;
"use strict";
exports.__esModule = true;
exports.BABEL_RUNTIME = void 0;
exports.callMethod = callMethod;

@@ -22,2 +23,4 @@ exports.coreJSModule = coreJSModule;

} = _babel.default || _babel;
const BABEL_RUNTIME = "@babel/runtime-corejs3";
exports.BABEL_RUNTIME = BABEL_RUNTIME;

@@ -55,3 +58,3 @@ function callMethod(path, id) {

function coreJSPureHelper(name, useBabelRuntime, ext) {
return useBabelRuntime ? `${useBabelRuntime}/core-js/${name}${ext}` : `core-js-pure/features/${name}.js`;
return useBabelRuntime ? `${BABEL_RUNTIME}/core-js/${name}${ext}` : `core-js-pure/features/${name}.js`;
}
{
"name": "babel-plugin-polyfill-corejs3",
"version": "0.7.1",
"version": "0.8.0",
"description": "A Babel plugin to inject imports to core-js@3 polyfills",

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

"dependencies": {
"@babel/helper-define-polyfill-provider": "^0.3.3",
"core-js-compat": "^3.29.0"
"@babel/helper-define-polyfill-provider": "^0.4.0",
"core-js-compat": "^3.30.1"
},

@@ -41,4 +41,4 @@ "devDependencies": {

"@babel/plugin-transform-spread": "^7.16.7",
"core-js": "^3.29.0",
"core-js-pure": "^3.29.0"
"core-js": "^3.30.1",
"core-js-pure": "^3.30.1"
},

@@ -48,3 +48,3 @@ "peerDependencies": {

},
"gitHead": "f9d6c6041bfaad1f89b1dce6f23a919636229008"
"gitHead": "391a1f4049fe1d6943ca8e91cf7e2e23f3f1ef73"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc