Socket
Socket
Sign inDemoInstall

@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.3.0 to 7.3.1

10

lib/index.js

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

function push() {
if (!props.length) return;
args.push(_core().types.objectExpression(props));

@@ -345,2 +346,6 @@ props = [];

if (_core().types.isSpreadElement(path.node.properties[0])) {
args.push(_core().types.objectExpression([]));
}
for (const prop of path.node.properties) {

@@ -355,6 +360,3 @@ if (_core().types.isSpreadElement(prop)) {

if (props.length) {
push();
}
push();
let helper;

@@ -361,0 +363,0 @@

4

package.json
{
"name": "@babel/plugin-proposal-object-rest-spread",
"version": "7.3.0",
"version": "7.3.1",
"description": "Compile object rest and spread to ES5",

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

},
"gitHead": "f6ee26c3da4c903818fd61fd9e5e8e1970185f77"
"gitHead": "f2af6c1170ebbea22bd29a2bae01efaec800dfe9"
}
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