Skip to content
Permalink
Browse files

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.
   - Fixes circular dependencies by isolating core map/set/list features in their own package-private file
  • Loading branch information...
marchant committed Apr 17, 2016
1 parent 503a1b3 commit 8922b2ef420443dacc03e8cc622c90a14b0f705a
Showing with 1,829 additions and 1,052 deletions.
  1. +11 −0 CHANGES.md
  2. +466 −0 _list.js
  3. +309 −0 _map.js
  4. +421 −0 _set.js
  5. +16 −8 demo/fast-map-demo.js
  6. +10 −8 demo/map-demo.js
  7. +4 −2 demo/multi-map-demo.js
  8. +2 −1 deque.js
  9. +11 −4 dict.js
  10. +3 −1 fast-map.js
  11. +56 −13 fast-set.js
  12. +14 −6 generic-collection.js
  13. +32 −17 generic-map.js
  14. +17 −0 generic-set.js
  15. +2 −1 heap.js
  16. +5 −0 iterator.js
  17. +6 −2 lfu-map.js
  18. +3 −2 lfu-set.js
  19. +2 −459 list.js
  20. +73 −18 listen/array-changes.js
  21. +1 −0 listen/change-descriptor.js
  22. +1 −7 listen/map-changes.js
  23. +12 −5 listen/property-changes.js
  24. +2 −4 listen/range-changes.js
  25. +6 −2 lru-map.js
  26. +3 −2 lru-set.js
  27. +24 −52 map.js
  28. +1 −2 multi-map.js
  29. +2 −2 package.json
  30. +31 −196 set.js
  31. +12 −7 shim-array.js
  32. +1 −0 shim-object.js
  33. +4 −1 sorted-array-map.js
  34. +2 −1 sorted-array-set.js
  35. +12 −10 sorted-array.js
  36. +5 −1 sorted-map.js
  37. +2 −0 sorted-set.js
  38. +2 −3 spec/array-spec.js
  39. +1 −1 spec/clone-spec.js
  40. +19 −17 spec/collection.js
  41. +17 −14 spec/dict.js
  42. +5 −12 spec/fast-set-spec.js
  43. +4 −5 spec/lfu-map-spec.js
  44. +4 −11 spec/lfu-set-spec.js
  45. +2 −15 spec/list-spec.js
  46. +3 −4 spec/listen/map-changes.js
  47. +4 −5 spec/lru-map-spec.js
  48. +4 −12 spec/lru-set-spec.js
  49. +18 −20 spec/map.js
  50. +92 −15 spec/set-spec.js
  51. +20 −19 spec/set.js
  52. +12 −1 spec/shim-array-spec.js
  53. +4 −13 spec/sorted-array-set-spec.js
  54. +4 −12 spec/sorted-array-spec.js
  55. +25 −34 spec/sorted-set-spec.js
  56. +4 −4 spec/to-json.js
  57. +1 −1 weak-map.js
@@ -1,3 +1,14 @@
## 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.


## v3.0.0

- Aligns iterations with latest standard with PR #137
Oops, something went wrong.

0 comments on commit 8922b2e

Please sign in to comment.
You can’t perform that action at this time.