@babel/plugin-transform-object-super
Advanced tools
Comparing version 7.0.0-beta.38 to 7.0.0-beta.39
@@ -58,5 +58,5 @@ "use strict"; | ||
path.scope.push({ | ||
id: objectRef | ||
id: _core.types.cloneNode(objectRef) | ||
}); | ||
path.replaceWith(_core.types.assignmentExpression("=", objectRef, path.node)); | ||
path.replaceWith(_core.types.assignmentExpression("=", _core.types.cloneNode(objectRef), path.node)); | ||
} | ||
@@ -63,0 +63,0 @@ } |
{ | ||
"name": "@babel/plugin-transform-object-super", | ||
"version": "7.0.0-beta.38", | ||
"version": "7.0.0-beta.39", | ||
"description": "Compile ES2015 object super to ES5", | ||
@@ -12,11 +12,11 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-object-super", | ||
"dependencies": { | ||
"@babel/helper-replace-supers": "7.0.0-beta.38" | ||
"@babel/helper-replace-supers": "7.0.0-beta.39" | ||
}, | ||
"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/core": "7.0.0-beta.39", | ||
"@babel/helper-plugin-test-runner": "7.0.0-beta.39" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3973
+ Added@babel/code-frame@7.0.0-beta.39(transitive)
+ Added@babel/core@7.0.0-beta.39(transitive)
+ Added@babel/generator@7.0.0-beta.39(transitive)
+ Added@babel/helper-function-name@7.0.0-beta.39(transitive)
+ Added@babel/helper-get-function-arity@7.0.0-beta.39(transitive)
+ Added@babel/helper-optimise-call-expression@7.0.0-beta.39(transitive)
+ Added@babel/helper-replace-supers@7.0.0-beta.39(transitive)
+ Added@babel/helpers@7.0.0-beta.39(transitive)
+ Added@babel/template@7.0.0-beta.39(transitive)
+ Added@babel/traverse@7.0.0-beta.39(transitive)
+ Added@babel/types@7.0.0-beta.39(transitive)
+ Addedbabylon@7.0.0-beta.39(transitive)
- Removed@babel/code-frame@7.0.0-beta.38(transitive)
- Removed@babel/core@7.0.0-beta.38(transitive)
- Removed@babel/generator@7.0.0-beta.38(transitive)
- Removed@babel/helper-function-name@7.0.0-beta.38(transitive)
- Removed@babel/helper-get-function-arity@7.0.0-beta.38(transitive)
- Removed@babel/helper-optimise-call-expression@7.0.0-beta.38(transitive)
- Removed@babel/helper-replace-supers@7.0.0-beta.38(transitive)
- Removed@babel/helpers@7.0.0-beta.38(transitive)
- Removed@babel/template@7.0.0-beta.38(transitive)
- Removed@babel/traverse@7.0.0-beta.38(transitive)
- Removed@babel/types@7.0.0-beta.38(transitive)
- Removedbabylon@7.0.0-beta.38(transitive)