Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

Releases: azu/comment-to-assert

2.1.2

24 Aug 13:01
@azu azu
Compare
Choose a tag to compare

Bug Fixes

  • lib: fix TypeScript definition (ece436d)

2.1.1

24 Aug 12:55
@azu azu
Compare
Choose a tag to compare

Bug Fixes

2.1.0

24 Aug 12:47
@azu azu
Compare
Choose a tag to compare

Features

  • lib: Resolve: and Reject: support (c542815)
  • options: support assertBeforeCallbackName and assertAfterCallbackName (d2717eb)

2.0.1

19 Jan 10:15
@azu azu
Compare
Choose a tag to compare

Bug Fixes

  • array and directive string expression support (4927f3c)

2.0.0

19 Jan 01:21
@azu azu
Compare
Choose a tag to compare

Bug Fixes

  • node: console.assert does not throw on Node.js 10 (239b56a)

Features

  • assert: use strictEqual and deepStrictEqual (#9) (54ada0c), closes #6
  • ast: support asyncCallbackName option (#11) (130ab2d)
  • src: support Promise comment (#4) (6b5c505)

BREAKING CHANGES

  • assert: assertion is strict by default

1.5.1

23 Nov 13:54
@azu azu
Compare
Choose a tag to compare

Bug Fixes

  • assert: fix handling of undefined or null (#3) (32de9fa)

1.5.0

09 Sep 16:01
@azu azu
Compare
Choose a tag to compare

Features

  • error: support handling Error: message (12be3e1)

1.4.0

19 Nov 12:36
@azu azu
Compare
Choose a tag to compare

Features

  • comment: Support object literal as comment (89c08f9)
expression; // => { key : "value" }

1.3.0

30 Aug 13:27
@azu azu
Compare
Choose a tag to compare

Bug Fixes

  • error: can handle // => *Error (95babac)

You can write any type Error.

"string" + Symbol("desc");// => TypeError

1.2.0

23 Jul 06:37
@azu azu
Compare
Choose a tag to compare

Features

+"str";// => NaN

to be

assert(isNaN(+"str"));