Socket
Socket
Sign inDemoInstall

collections

Package Overview
Dependencies
Maintainers
7
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collections - npm Package Versions

1
8

5.0.1

Diff

Changelog

Source

v5.0.1

  • Changes to make IE11 use set and map polyfills
marchant
published 5.0.0 •

Changelog

Source

v5.0.0

  • Some backward compatibility breaking changes:
    • Native Maps, WeakMaps and Sets are now used when available
    • Aligns Map with latest standard with PR #137
      • Use of a second argument for default value in get() is deprecated
      • keys(), values() and entries() now return an iterator per standards, methods returning an array are now keysArray(), valuesArray(), entriesArray()
      • It's not possible to create a Map by passing an anonymous object to the constructor, that feature is now available as Map.from();
    • Introduces .from() method on constructors.
  • Fix for issue #149
  • Changes to work in IE10, involving splitting pure implementations as private from the public API that support listening,
kriskowal
published 2.0.3 •

marchant
published 3.0.0 •

Changelog

Source

v3.0.0

  • Aligns iterations with latest standard with PR #137
marchant
published 1.2.4 •

Changelog

Source

v1.2.4

  • Optimise performance of PropertyChanges with PR#126 and avoid unnecessary calls to require in Map Changes with PR #129
kriskowal
published 2.0.2 •

marchant
published 1.2.3 •

Changelog

Source

v1.2.3

  • Dict Optimization to remove the need to mangle/unmangle keys. This minimize the amount of string creation and therefore garbage collection
marchant
published 1.2.2 •

Changelog

Source

v1.2.2

  • Vlad Alexandru Ionescu fixed a bug in dictionaries with single character keys.
  • Optimizations for push to avoid creating unnecessary arrays through splice
  • Fixes for a few regressions in listen and impacting Montage
kriskowal
published 1.2.1 •

kriskowal
published 1.2.0 •

Changelog

Source

v1.2.0

  • Trevor Dixon fixed bugs in SortedSet find methods.
  • Adds toJSON method to all collections.
  • Adds deleteAll to some collections.
  • Eliminate some extra work in change listener registration and dispatch by using namespaced properties instead of a weak map, precomputing event handler method names, and reusing an array to capture a snapshot of active change listeners during dispatch.
  • Fix SortedArrayMap isSorted flag.
  • Fix Array find such that the sought value may be a wild card.
  • MultiMap provides the key to the bucket maker
  • Improve support for strings, maps, and arguments across implementations of addEach
  • Fix a bug in the generic join method
  • Dict uses $ in mangled names instead of ~, so names are more frequently valid identifiers. May have a performance win.
  • Ignore property changes in non-configurable objects.
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