collections
Advanced tools
Comparing version 5.1.10 to 5.1.11
{ | ||
"name": "collections", | ||
"version": "5.1.10", | ||
"version": "5.1.11", | ||
"description": "data structures with idiomatic JavaScript collection interfaces", | ||
@@ -5,0 +5,0 @@ "homepage": "http://www.collectionsjs.com", |
@@ -28,4 +28,5 @@ "use strict"; | ||
var isSymbolDefined = typeof Symbol !== "undefined"; | ||
Array.from = function (values, mapFn, thisArg) { | ||
if(Symbol && values && typeof values[Symbol.iterator] === "function") { | ||
if (isSymbolDefined && values && typeof values[Symbol.iterator] === "function") { | ||
return Array.nativeFrom(values, mapFn, thisArg); | ||
@@ -32,0 +33,0 @@ } |
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
1
299180
53
7828