Changelog
Version 9
9.0.3
- #179 chore: bump hoek
9.0.2
- #178 Fix typo and add missing type
9.0.1
- #177 Fix
reject()types
9.0.0
- #175 Drop node v12, support node v18
Version 8
8.0.8
8.0.7
- #174 Fix equal() type
8.0.6
- #173 Fix equal() types
- #172 equal(value: T) type should be Loosely<T> when options ignore symbols or properties
- #171 Fix typings for throw() and reject()
8.0.5
- #168 Don't narrow generic on type specific assertions
- #167 compilation errors for primitive type assertions
8.0.4
8.0.3
8.0.2
- #158 upgrade lab to v24 and devDependency of typescript
8.0.1
8.0.0
- #153 Support only node 12
Version 7
7.0.0
Version 6
6.0.0
- #142 Deep comparison includes symbols
- #141 Support deep comparison key skipping
- #140 Use deepFunction flag for deep comparison
Version 5
5.3.1
- #136 Better handling of thrown stack parsing
5.3.0
- #135 Change module namespace
5.2.3
- #130 Remove engines
5.2.2
- #129 Update hoek v6
5.2.0
- #124 Return error when asserting for thrown. Closes #123
- #123 Assertions on error properties
- #121 Invalidates rejection with wrong type or message arguments
- #119 reject does not fail if argument is of the wrong type
5.1.2
- #117 Update dependencies
5.1.1
- #116 Fix broken API.md anchor
- #111 fix(length): throw decent error on length check of
null - #110 Cannot read property 'length' of null
5.1.0
- #106 Allow custom validation function for reject
5.0.0
- #105 Add promises rejection support
- #104 Add test for async functions
- #103 Expected async function to be a function
Version 4
4.1.0
- #102 please publish new version
- #101 print expected value on equals assertion
- #94 Reference value NaN assertion.
4.0.0
- #91 New release?
- #89 Docs: Modified match API documentation
- #87 fix tests for Node v6.5.0
- #86 Tests failing on node 6.5.0
- #84 Enhancement: Added validation to
include - #83 Include should validate number of arguments
- #82 fix broken test from Node v6.4.0 update
- #81 Fix broken test
- #77 Invalidate array of objects with only a partial object value
Version 3
3.0.1
- #75 Add .npmignore file
3.0.0
Version 2
2.3.0
- #71 Fix at location information. Closes #70
- #70 expect(err).to.not.exist() reports wrong 'at' information
2.2.0
- #64 Add documentation to error() (fixes #63)
- #63 Document new error() method
- #62 Add error type (fixes #61)
- #61 Proposal: error type
2.1.1
- #58 handle errors without proper stacks
- #57 Problem with internals.at
- #56 minor typo fix
- #55 Update dep format for markdown-toc
- #54 Readme tweaks
2.1.0
- #51 add fail method
- #48 customize error message for once flag
- #47 once flag should change error message
2.0.1
- #45 Update hapijs/hoek to 3.0.0 from 2.16.3
2.0.0
Version 1
1.5.0
- #36 Display error when should not exist. Closes #35
- #35 Throw original error when not.exist(err) is asserted
- #32 Added new global setting to ignore prototypes.
1.4.1
- #31 Handle multi-line errors
- #30
settings.truncateMessages = falsecauses issues with deep object comparisons - #29 Fixed the description for the empty() assertion in README.md
1.4.0
- #28 Release code 1.4.0
- #27 Add documentation for global settings
- #26 Add configuration settings, including disabling message truncating
- #25 Allow prototypes to be ignored in deep.equal()
- #24 Allow prototypes to be ignored in deep comparisons
- #23 readme typo and better message
- #18 Remove Makefile in favor of npm scripts
- #17 Verify deep.equal() functionality after changes to Hoek.deepEqual()
- #15 .to.deep.equal() performs unexpectedly with empty object
- #14 do not truncate values in assertions
1.3.0
- #13 code 1.3.0
- #11 Object [object Object] has no method 'startWith'
- #10 Reset flags after each assertion
- #6 Add startsWith and endsWith for URLs.
1.2.1
- #5 throw('') matches any message
1.2.0
- #2 between()