Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-spread

Package Overview
Dependencies
Maintainers
6
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 7.12.1 to 7.12.13

6

lib/index.js

@@ -99,3 +99,7 @@ "use strict";

const calleePath = (0, _helperSkipTransparentExpressionWrappers.skipTransparentExprWrappers)(path.get("callee"));
if (calleePath.isSuper()) return;
if (calleePath.isSuper()) {
throw path.buildCodeFrameError("It's not possible to compile spread arguments in `super()` without compiling classes.\n" + "Please add '@babel/plugin-transform-classes' to your Babel configuration.");
}
let contextLiteral = scope.buildUndefinedNode();

@@ -102,0 +106,0 @@ node.arguments = [];

11

package.json
{
"name": "@babel/plugin-transform-spread",
"version": "7.12.1",
"version": "7.12.13",
"description": "Compile ES2015 spread to ES5",

@@ -19,3 +19,3 @@ "repository": {

"dependencies": {
"@babel/helper-plugin-utils": "^7.10.4",
"@babel/helper-plugin-utils": "^7.12.13",
"@babel/helper-skip-transparent-expression-wrappers": "^7.12.1"

@@ -27,5 +27,6 @@ },

"devDependencies": {
"@babel/core": "^7.12.1",
"@babel/helper-plugin-test-runner": "7.10.4"
}
"@babel/core": "7.12.13",
"@babel/helper-plugin-test-runner": "7.12.13"
},
"homepage": "https://babel.dev/docs/en/next/babel-plugin-transform-spread"
}

@@ -5,3 +5,3 @@ # @babel/plugin-transform-spread

See our website [@babel/plugin-transform-spread](https://babeljs.io/docs/en/next/babel-plugin-transform-spread.html) for more information.
See our website [@babel/plugin-transform-spread](https://babeljs.io/docs/en/babel-plugin-transform-spread) for more information.

@@ -8,0 +8,0 @@ ## Install

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