Comparing version 1.1.0 to 1.1.1
@@ -6,3 +6,3 @@ { | ||
"description": "A data structure that combines a hash and an array for fast dictionary lookup and traversal by complex keys.", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "index.js", | ||
@@ -9,0 +9,0 @@ "url": "https://github.com/joshjung/hash-array", |
@@ -41,3 +41,3 @@ /*===========================================================================*\ | ||
if (inst) { | ||
if (this._map[inst]) { | ||
if (this.has(inst)) { | ||
if (this.options.ignoreDuplicates) | ||
@@ -213,3 +213,3 @@ return; | ||
var key2 = this.objectAt(item, this.keyFields[ix]); | ||
if (key2 && this._map[key2]) { | ||
if (key2 && this.has(key2)) { | ||
var ix = this._map[key2].indexOf(item); | ||
@@ -216,0 +216,0 @@ if (ix != -1) { |
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
63776