6to5-runtime
Advanced tools
Comparing version 3.6.1 to 3.6.2
@@ -80,7 +80,5 @@ "use strict"; | ||
exports.slicedToArray = function (arr, i) { | ||
if (!arr || !arr[_core.Symbol.iterator]) { | ||
throw new TypeError("Invalid attempt to destructure non-iterable instance"); | ||
} else if (Array.isArray(arr)) { | ||
if (Array.isArray(arr)) { | ||
return arr; | ||
} else { | ||
} else if (_core.$for.isIterable(Object(arr))) { | ||
var _arr = []; | ||
@@ -95,2 +93,4 @@ | ||
return _arr; | ||
} else { | ||
throw new TypeError("Invalid attempt to destructure non-iterable instance"); | ||
} | ||
@@ -97,0 +97,0 @@ }; |
{ | ||
"name": "6to5-runtime", | ||
"description": "6to5 selfContained runtime", | ||
"version": "3.6.1", | ||
"version": "3.6.2", | ||
"repository": "6to5/6to5", | ||
"author": "Sebastian McKenzie <sebmck@gmail.com>" | ||
} |
102276