Socket
Socket
Sign inDemoInstall

hashmap

Package Overview
Dependencies
0
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

2.4.0

Diff

Changelog

Source

2.4.0

  • HashMap instances are now compatible ES6 iterators. Thanks @NathanJang
flesler
published 2.3.0 •

Changelog

Source

2.3.0

  • Constructor now supports a 2D array 2D of key-value pair. Thanks @ulikoehler
  • Renamed remove() to delete(). remove() is now deprecated and kept temporarily. Thanks @ulikoehler
  • Added .size member. count() is now deprecated and kept temporarily. Thanks @ulikoehler
flesler
published 2.2.0 •

Changelog

Source

2.2.0

  • Added entries() method to hashmaps. Thanks @ulikoehler
flesler
published 2.1.0 •

Changelog

Source

2.1.0

  • support ECMA 5 non-conformant behaviour of Microsoft edge #27. Thanks @freddiecoleman
flesler
published 2.0.6 •

Changelog

Source

2.0.6

  • Names of chained methods is hardcoded rather than using the "return" trick. Fixes bug when minified, thanks @fresheneesz.
  • Added jshint to be run before any commit
flesler
published 2.0.5 •

Changelog

Source

2.0.5

  • count() is now O(1), thanks @qbolec
flesler
published 2.0.4 •

Changelog

Source

2.0.4

  • hasOwnProperty() is used to check for the internal expando, thanks @psionski
flesler
published 2.0.3 •

Changelog

Source

2.0.3

  • forEach method accepts a context as 2nd argument, thanks @mvayngrib
flesler
published 2.0.2 •

Changelog

Source

2.0.2

  • Make collisions rarer
flesler
published 2.0.1 •

Changelog

Source

2.0.1

  • AMD CommonJS export is now compatible
2Next
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc