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

@babel/plugin-proposal-object-rest-spread

Package Overview
Dependencies
Maintainers
5
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-proposal-object-rest-spread - npm Package Compare versions

Comparing version 7.0.0-rc.2 to 7.0.0-rc.3

LICENSE

6

lib/index.js

@@ -132,7 +132,9 @@ "use strict";

Object.keys(bindings).forEach(bindingName => {
if (path.scope.getBinding(bindingName).references > 1) {
const bindingParentPath = bindings[bindingName].parentPath;
if (path.scope.getBinding(bindingName).references > 1 || !bindingParentPath.isObjectProperty()) {
return;
}
bindings[bindingName].parentPath.remove();
bindingParentPath.remove();
});

@@ -139,0 +141,0 @@ }

{
"name": "@babel/plugin-proposal-object-rest-spread",
"version": "7.0.0-rc.2",
"version": "7.0.0-rc.3",
"description": "Compile object rest and spread to ES5",

@@ -12,4 +12,4 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-proposal-object-rest-spread",

"dependencies": {
"@babel/helper-plugin-utils": "7.0.0-rc.2",
"@babel/plugin-syntax-object-rest-spread": "7.0.0-rc.2"
"@babel/helper-plugin-utils": "7.0.0-rc.3",
"@babel/plugin-syntax-object-rest-spread": "7.0.0-rc.3"
},

@@ -20,5 +20,5 @@ "peerDependencies": {

"devDependencies": {
"@babel/core": "7.0.0-rc.2",
"@babel/helper-plugin-test-runner": "7.0.0-rc.2"
"@babel/core": "7.0.0-rc.3",
"@babel/helper-plugin-test-runner": "7.0.0-rc.3"
}
}
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