reference-map
Advanced tools
Comparing version 1.2.1 to 1.2.3
@@ -46,2 +46,3 @@ module.exports = class ReferanceMap { | ||
delete (ref) { | ||
delete this._map[ref][this.intRefProp] | ||
delete this._map[ref] | ||
@@ -54,2 +55,3 @@ } | ||
clear () { | ||
this.intRefProp = Symbol('int') | ||
this._map = [] | ||
@@ -56,0 +58,0 @@ } |
{ | ||
"name": "reference-map", | ||
"version": "1.2.1", | ||
"version": "1.2.3", | ||
"description": "This is a simple determinstic map that maps POJOs to an integer", | ||
@@ -32,5 +32,5 @@ "main": "index.js", | ||
"nyc": "^11.4.1", | ||
"standard": "^10.0.3", | ||
"tape": "^4.8.0" | ||
"standard": "^11.0.0", | ||
"tape": "^4.9.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
65692
524