Socket
Socket
Sign inDemoInstall

hasharray

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hasharray - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

16

package.json

@@ -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.0.0",
"version": "1.1.0",
"main": "index.js",

@@ -12,3 +12,13 @@ "url": "https://github.com/joshjung/hash-array",

"email": "joshua.p.jung@gmail.com",
"files": ["dist", "src", "index.js", "test"],
"files": [
"dist",
"src",
"index.js",
"test"
],
"scripts": {
"release:major": "npm version major && npm publish && git push --follow-tags",
"release:minor": "npm version minor && npm publish && git push --follow-tags",
"release:patch": "npm version patch && npm publish && git push --follow-tags"
},
"dependencies": {

@@ -28,2 +38,2 @@ "jclass": "^1.0.1"

]
}
}

@@ -244,2 +244,4 @@ /*===========================================================================*\

this._map[key].splice(ix, 1);
else
throw new Error('HashArray: attempting to remove an object that was never added!' + key);

@@ -251,3 +253,8 @@ if (this._map[key].length == 0)

this._list.splice(this._list.indexOf(item), 1);
var ix = this._list.indexOf(item);
if (ix != -1)
this._list.splice(ix, 1);
else
throw new Error('HashArray: attempting to remove an object that was never added!' + key);
}

@@ -254,0 +261,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc