Skip to content

v1.0.5

Compare
Choose a tag to compare
@GSTJ GSTJ released this 12 May 13:12
· 19 commits to main since this release

This version now understands and supports the !! operator for boolean conversion.

Now !!a won't be translated to `Boolean(!!a)``

It also understands and supports the "new Boolean" constructor, avoiding Boolean(new Boolean(a))cases.

It also uses typescript internally and has a lot more tests covering edge-cases.