Skip to content

Releases: Serrin/assert.js

v1.2.0

Choose a tag to compare

@Serrin Serrin released this 17 May 18:17
1ba19e9

assert.js v1.2.0

  1. Documentation, pdf and code fixes and many optimalisations.
  2. FIX Type checking in match();.
  3. FIX Change the order of arguments in these functions: testSync(); and testAsync();
  4. ADD New class: assert.TestSuite();
  5. ADD Add a new TS type: type Message = string | Error;.
  6. ADD Enhance the helper function _isSameType() with a new argument.
  7. ADD Developer (helper) functions in properties of function assert();, but only during development.
  8. ADD Add aliases:
Original function Alias
testSync(); test();
testSync(); it();

v1.1.10

Choose a tag to compare

@Serrin Serrin released this 13 May 19:41
80bc188

assert.js v1.1.10

  1. FIX Add JSDOC @private at the helper functions.
  2. FIX Change the argument message from message: unknown to message?: string | Error in the exported functions.
  3. FIX Remove cause from the properties of the AssertionErrorOptions.
  4. ADD Add aliases:
Original function Alias
isNullish(); ifError();
deepEqual(); deepStrictEqual();
notDeepEqual(); notDeepStrictEqual();

v1.1.9

Choose a tag to compare

@Serrin Serrin released this 12 May 16:53
2018cfd

assert.js v1.1.9

  1. Documentation, pdf and code fixes.
  2. Add these functions:
  • typeOf();
  • notTypeOf();
  • instanceOf();
  • notInstanceOf();

v1.1.8

Choose a tag to compare

@Serrin Serrin released this 03 May 18:07
f3bf0d7

assert.js v1.1.8

  1. Documentation, pdf and code fixes and many optimalisations.
  2. Faster type checking without breaking changes.

v1.1.7

Choose a tag to compare

@Serrin Serrin released this 19 Apr 16:01
cbfe635

assert.js v1.1.7

  1. Documentation, pdf and code fixes.
  2. Add these functions:
  • stringStartsWith();
  • stringNotStartsWith();
  • stringEndsWith();
  • stringNotEndsWith();

v1.1.6

Choose a tag to compare

@Serrin Serrin released this 17 Apr 16:54
e0d49e1

assert.js v1.1.6

  1. Documentation, pdf and code fixes.
  2. New assert-cheatsheet.odt and assert-cheatsheet.pdf.
  3. Fix the AssertionError();.
  4. Modify the fail(); function with the new optional arguments: assert.fail([value1, value2, message, operator]);.

v1.1.5

Choose a tag to compare

@Serrin Serrin released this 15 Apr 20:26
c2349d5

assert.js v1.1.5

  1. Documentation, pdf and code fixes.
  2. Add these functions:
  • isNotTrue();
  • isNotFalse();
  • oneOf();
  • notOneOf();

v1.1.4

Choose a tag to compare

@Serrin Serrin released this 02 Apr 16:49
fb7e032

assert.js v1.1.4

  1. Documentation, pdf and code fixes.
  2. Basic type assertion functions (isNumber();, isNotNumber();, etc.) use the assert.is(); and assert.isNot(); instead of be a standalone function.
  3. Add these functions: isInt();, isNotInt();, isFloat();, isNotFloat();

assert.js v1.1.3

Choose a tag to compare

@Serrin Serrin released this 01 Apr 19:03
3f07975

assert.js v1.1.3

  1. Documentation, pdf and code fixes.
  2. Add Windows Samsung Browser to the testing enviroments.
  3. Many TS6 small changes in the code files.
  4. Add the assert.config.alwaysStrict;

v1.1.2

Choose a tag to compare

@Serrin Serrin released this 23 Dec 20:02
37da94a

assert.js v1.1.2

  1. Documentation, pdf and code fixes.
  2. Fix the arguments list of the Testrunner functions in the assert-cheatsheet.odt and assert-cheatsheet.pdf