Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
6
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-beta.39 to 7.0.0-beta.40

3

lib/index.js

@@ -203,2 +203,3 @@ "use strict";

var refPropertyPath = [];
var kind;
path.findParent(function (path) {

@@ -208,2 +209,3 @@ if (path.isObjectProperty()) {

} else if (path.isVariableDeclarator()) {
kind = path.parentPath.node.kind;
return true;

@@ -233,2 +235,3 @@ }

insertionPath = insertionPath.getSibling(insertionPath.key + 1);
path.scope.registerBinding(kind, insertionPath);

@@ -235,0 +238,0 @@ if (objectPatternPath.node.properties.length === 0) {

10

package.json
{
"name": "@babel/plugin-proposal-object-rest-spread",
"version": "7.0.0-beta.39",
"version": "7.0.0-beta.40",
"description": "Compile object rest and spread to ES5",

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

"dependencies": {
"@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.39"
"@babel/plugin-syntax-object-rest-spread": "7.0.0-beta.40"
},
"peerDependencies": {
"@babel/core": "7.0.0-beta.39"
"@babel/core": "7.0.0-beta.40"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.39",
"@babel/helper-plugin-test-runner": "7.0.0-beta.39"
"@babel/core": "7.0.0-beta.40",
"@babel/helper-plugin-test-runner": "7.0.0-beta.40"
}
}
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