Socket
Socket
Sign inDemoInstall

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

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 8.0.0-alpha.6 to 8.0.0-alpha.7

7

lib/index.js

@@ -46,3 +46,3 @@ import { declare } from '@babel/helper-plugin-utils';

var index = declare((api, opts) => {
api.assertVersion("8.0.0-alpha.6");
api.assertVersion("8.0.0-alpha.7");
const targets = api.targets();

@@ -396,7 +396,4 @@ const supportsObjectAssign = !isRequired("es6.object.assign", targets, {

} else {
try {
{
helper = file.addHelper("objectSpread2");
} catch {
this.file.declarations["objectSpread2"] = null;
helper = file.addHelper("objectSpread");
}

@@ -403,0 +400,0 @@ }

{
"name": "@babel/plugin-transform-object-rest-spread",
"version": "8.0.0-alpha.6",
"version": "8.0.0-alpha.7",
"description": "Compile object rest and spread to ES5",

@@ -20,14 +20,14 @@ "repository": {

"dependencies": {
"@babel/compat-data": "^8.0.0-alpha.6",
"@babel/helper-compilation-targets": "^8.0.0-alpha.6",
"@babel/helper-plugin-utils": "^8.0.0-alpha.6",
"@babel/plugin-transform-parameters": "^8.0.0-alpha.6"
"@babel/compat-data": "^8.0.0-alpha.7",
"@babel/helper-compilation-targets": "^8.0.0-alpha.7",
"@babel/helper-plugin-utils": "^8.0.0-alpha.7",
"@babel/plugin-transform-parameters": "^8.0.0-alpha.7"
},
"peerDependencies": {
"@babel/core": "^8.0.0-alpha.6"
"@babel/core": "^8.0.0-alpha.7"
},
"devDependencies": {
"@babel/core": "^8.0.0-alpha.6",
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.6",
"@babel/parser": "^8.0.0-alpha.6"
"@babel/core": "^8.0.0-alpha.7",
"@babel/helper-plugin-test-runner": "^8.0.0-alpha.7",
"@babel/parser": "^8.0.0-alpha.7"
},

@@ -34,0 +34,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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