Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-new-target

Package Overview
Dependencies
Maintainers
6
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-new-target - npm Package Compare versions

Comparing version 7.0.0-beta.38 to 7.0.0-beta.39

2

lib/index.js

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

path.replaceWith(_core.types.conditionalExpression(_core.types.binaryExpression("instanceof", _core.types.thisExpression(), node.id), _constructor, scope.buildUndefinedNode()));
path.replaceWith(_core.types.conditionalExpression(_core.types.binaryExpression("instanceof", _core.types.thisExpression(), _core.types.cloneNode(node.id)), _constructor, scope.buildUndefinedNode()));
}

@@ -63,0 +63,0 @@ }

{
"name": "@babel/plugin-transform-new-target",
"version": "7.0.0-beta.38",
"version": "7.0.0-beta.39",
"description": "Transforms new.target meta property",

@@ -12,10 +12,10 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-new-target",

"peerDependencies": {
"@babel/core": "7.0.0-beta.38"
"@babel/core": "7.0.0-beta.39"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.38",
"@babel/helper-plugin-test-runner": "7.0.0-beta.38",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.38",
"@babel/plugin-transform-arrow-functions": "7.0.0-beta.38"
"@babel/core": "7.0.0-beta.39",
"@babel/helper-plugin-test-runner": "7.0.0-beta.39",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.39",
"@babel/plugin-transform-arrow-functions": "7.0.0-beta.39"
}
}
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