Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-runtime

Package Overview
Dependencies
Maintainers
5
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-runtime - npm Package Compare versions

Comparing version 7.9.6 to 7.10.0

5

lib/index.js

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

function supportsStaticESM(caller) {
return !!(caller && caller.supportsStaticESM);
return !!(caller == null ? void 0 : caller.supportsStaticESM);
}

@@ -264,2 +264,5 @@

if (!path.isReferenced()) return;
if (path.parentPath.isUnaryExpression({
operator: "delete"
})) return;
const {

@@ -266,0 +269,0 @@ node

4

lib/runtime-corejs2-definitions.js

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

},
StaticProperties: Object.assign({
StaticProperties: Object.assign(Object.assign({
Array: {

@@ -230,3 +230,3 @@ from: {

}
} : {}, {
} : {}), {}, {
Symbol: {

@@ -233,0 +233,0 @@ for: {

{
"name": "@babel/plugin-transform-runtime",
"version": "7.9.6",
"version": "7.10.0",
"description": "Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals",

@@ -28,12 +28,12 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-runtime",

"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/core": "^7.10.0",
"@babel/helper-plugin-test-runner": "^7.8.3",
"@babel/helpers": "^7.9.6",
"@babel/helpers": "^7.10.0",
"@babel/plugin-transform-typeof-symbol": "^7.8.3",
"@babel/preset-env": "^7.9.6",
"@babel/runtime": "^7.9.6",
"@babel/template": "^7.8.3",
"@babel/types": "^7.9.6"
"@babel/preset-env": "^7.10.0",
"@babel/runtime": "^7.10.0",
"@babel/template": "^7.10.0",
"@babel/types": "^7.10.0"
},
"gitHead": "9c2846bcacc75aa931ea9d556950c2113765d43d"
"gitHead": "5da2440adff6f25579fb6e9a018062291c89416f"
}
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