array-hyper-unique
Advanced tools
Comparing version 1.0.4 to 1.0.5
11
index.js
@@ -80,3 +80,3 @@ "use strict"; | ||
equals: require('deep-eql'), | ||
default: lazy_unique, | ||
default: lazy_unique.lazy_unique, | ||
}); | ||
@@ -88,4 +88,13 @@ // @ts-ignore | ||
// @ts-ignore | ||
Object.keys(lazy_unique).forEach((k) => { | ||
try { | ||
// @ts-ignore | ||
lazy_unique[k] = Object.freeze(lazy_unique[k]); | ||
} | ||
catch (e) { | ||
} | ||
}); | ||
// @ts-ignore | ||
lazy_unique = Object.freeze(lazy_unique); | ||
module.exports = lazy_unique; | ||
//export = lazy_unique; |
{ | ||
"name": "array-hyper-unique", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Get unique values of an array. Really, like deeply unique.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
10890
130