Releases: azu/babel-plugin-jsdoc-to-assert
Releases · azu/babel-plugin-jsdoc-to-assert
4.0.0
16 Sep 07:23
Compare
Sorry, something went wrong.
No results found
Features
BREAKING CHANGES
babel: Maybe require Babel 7>=
3.0.4
16 Jan 11:56
Compare
Sorry, something went wrong.
No results found
Fixes
Simplify spec generator assertion code #9
3.0.3
30 Dec 13:34
Compare
Sorry, something went wrong.
No results found
3.0.2
18 Nov 15:08
Compare
Sorry, something went wrong.
No results found
3.0.1
29 Aug 10:47
Compare
Sorry, something went wrong.
No results found
Bug Fixes
generator: use only console.assert (d72ee3b )
3.0.0
29 Aug 00:30
Compare
Sorry, something went wrong.
No results found
Features
generator: add useSpecReporter (#5 ) (ff9a773 )
Improve assertion
See https://github.com/azu/jsdoc-to-assert/releases/tag/2.5.0 for more details
Support Generics type on Array
/**
* @param {number[] } x
*/
to be
Array . isArray ( x ) && x . every ( function ( item ) {
return typeof item === 'number' ;
} ) ;
/**
* @param {...number } x
*/
to be
Array . isArray ( x ) && x . every ( function ( item ) {
return typeof item === 'number' ;
} ) ;
Breaking Change
Change default reporter to use SpecReporter.
It make error more readble for human.
Node.js
Browser
2.2.1
28 Aug 12:46
Compare
Sorry, something went wrong.
No results found
Bug Fixes
npm: revert to jsdoc-to-assert@2.4.0 (25c254a )
test: revert test code also (37e495a )
2.2.0
28 Aug 11:06
Compare
Sorry, something went wrong.
No results found
2.1.0
16 Aug 13:16
Compare
Sorry, something went wrong.
No results found
Features
plugin: suport FunctionExpression (25b7f4d )
2.0.2
16 Aug 01:29
Compare
Sorry, something went wrong.
No results found
Features
plugin: add checkAtType and checkAtParam option (e0b7f4f )