babel-plugin-transform-es2015-spread
Advanced tools
Comparing version 6.6.4 to 6.6.5
"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(); |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4848
106