New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-proto-to-assign

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-proto-to-assign - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

4

lib/index.js

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

nodes.push(t.expressionStatement(t.assignmentExpression("=", temp, left)));
nodes.push(buildDefaultsCallExpression(node, temp, file));
if (temp) nodes.push(t.expressionStatement(t.assignmentExpression("=", temp, left)));
nodes.push(buildDefaultsCallExpression(node, temp || left, file));
if (temp) nodes.push(temp);

@@ -47,0 +47,0 @@

{
"name": "babel-plugin-proto-to-assign",
"version": "1.0.3",
"version": "1.0.4",
"description": "Babel plugin for turning __proto__ into a shallow property clone",

@@ -5,0 +5,0 @@ "repository": "babel-plugins/babel-plugin-proto-to-assign",

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