Socket
Socket
Sign inDemoInstall

babel-plugin-polyfill-corejs2

Package Overview
Dependencies
78
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.2 to 0.4.3

7

lib/index.js

@@ -72,3 +72,3 @@ "use strict";

function maybeInjectPure(desc, hint, utils) {
const {
let {
pure,

@@ -82,4 +82,7 @@ meta,

return;
}
} // Unfortunately core-js and @babel/runtime-corejs2 don't have the same
// directory structure, so we need to special case this.
if (useBabelRuntime && pure === "symbol/index") pure = "symbol";
return utils.injectDefaultImport(`${coreJSBase}/${pure}${ext}`, hint);

@@ -86,0 +89,0 @@ }

{
"name": "babel-plugin-polyfill-corejs2",
"version": "0.4.2",
"version": "0.4.3",
"description": "A Babel plugin to inject imports to core-js@2 polyfills",

@@ -42,3 +42,3 @@ "repository": {

},
"gitHead": "6b66be1d9fae2af0dfd207adc64ed99f8e1a5924"
"gitHead": "476a0d277ae9bdf705fe2b2cce645125b3c774dc"
}

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