babel-plugin-proto-to-assign
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -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", |
4083