Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/plugin-transform-proto-to-assign

Package Overview
Dependencies
Maintainers
4
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-proto-to-assign - npm Package Compare versions

Comparing version 7.20.7 to 7.21.4-esm

lib/package.json

6

lib/index.js

@@ -23,4 +23,3 @@ "use strict";

function buildDefaultsCallExpression(expr, ref, file) {
return _core.types.expressionStatement(_core.types.callExpression(file.addHelper("defaults"), [
ref, expr.right]));
return _core.types.expressionStatement(_core.types.callExpression(file.addHelper("defaults"), [ref, expr.right]));
}

@@ -38,4 +37,3 @@ return {

if (temp) {
nodes.push(_core.types.expressionStatement(_core.types.assignmentExpression("=", temp,
left)));
nodes.push(_core.types.expressionStatement(_core.types.assignmentExpression("=", temp, left)));
}

@@ -42,0 +40,0 @@ nodes.push(buildDefaultsCallExpression(path.node, _core.types.cloneNode(temp || left), file));

{
"name": "@babel/plugin-transform-proto-to-assign",
"version": "7.20.7",
"version": "7.21.4-esm",
"description": "Babel plugin for turning __proto__ into a shallow property clone",

@@ -20,10 +20,10 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "^7.20.2"
"@babel/helper-plugin-utils": "^7.21.4-esm"
},
"peerDependencies": {
"@babel/core": "^7.0.0-0"
"@babel/core": "^7.0.0-0 || 7.21.4-esm"
},
"devDependencies": {
"@babel/core": "^7.20.7",
"@babel/helper-plugin-test-runner": "^7.18.6"
"@babel/core": "^7.21.4-esm",
"@babel/helper-plugin-test-runner": "^7.21.4-esm"
},

@@ -30,0 +30,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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