8000 Releases · BenMorel/weakmap-polyfill · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: BenMorel/weakmap-polyfill

0.5.0

02 Apr 16:32
Compare
Choose a tag to compare

New features

  • WeakMap now performs housekeeping on GC cycle collection (automatic and via gc_collect_cycles()) by @mvorisek (#10)
  • WeakMap is now properly annotated with @template (for static analysis)

🩹 Compatibility improvements

  • Fixed Error type / message when passing null instead of object in isset() / unset()

0.4.0

01 Jan 13:57
9a6d5e9
Compare
Choose a tag to compare

🐛 Bug fix

  • Fixed behaviour of isset() with null value by @mabar (#7)

0.3.0

09 Jan 23:28
d8f6f17
Compare
Choose a tag to compare

🚀 Performance improvement

  • housekeeping is now performed less often for large WeakMaps (#4)

💥 Compatibility improvement / breaking change

  • serializing & setting dynamic properties is now forbidden, like native WeakMap (#6)

Thanks to @TysonAndre!

0.2.0

23 Jan 12:23
7c5e964
Compare
Choose a tag to compare

WeakMap now throws:

  • TypeError when using a non-object as a key
  • Error when appending ([]) to a WeakMap

In accordance with the specs.

Thanks to @BackEndTea!

0.1.2

22 Jan 10:54
Compare
Choose a tag to compare

♻️ Internal refactoring

No API changes.

0.1.1

20 Jan 15:36
Compare
Choose a tag to compare

New feature

Add missing support for Traversable.

0.1.0

20 Jan 15:15
Compare
Choose a tag to compare

First beta release.

0