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

babel-plugin-transform-es2015-spread

Package Overview
Dependencies
Maintainers
6
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-es2015-spread - npm Package Compare versions

Comparing version 6.6.4 to 6.6.5

22

lib/index.js
"use strict";
var _getIterator = require("babel-runtime/core-js/get-iterator")["default"];
exports.__esModule = true;
exports["default"] = function (_ref2) {
var t = _ref2.types;
exports["default"] = function (_ref) {
var t = _ref.types;

@@ -38,16 +36,4 @@ function getSpreadLiteral(spread, scope, state) {

for (var _iterator = props, _isArray = Array.isArray(_iterator), _i = 0, _iterator = _isArray ? _iterator : _getIterator(_iterator);;) {
var _ref;
if (_isArray) {
if (_i >= _iterator.length) break;
_ref = _iterator[_i++];
} else {
_i = _iterator.next();
if (_i.done) break;
_ref = _i.value;
}
var prop = _ref;
for (var _i = 0; _i < props.length; _i++) {
var prop = props[_i];
if (t.isSpreadElement(prop)) {

@@ -54,0 +40,0 @@ push();

2

package.json
{
"name": "babel-plugin-transform-es2015-spread",
"version": "6.6.4",
"version": "6.6.5",
"description": "Compile ES2015 spread to ES5",

@@ -5,0 +5,0 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-es2015-spread",

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