0.1.3
Changelog
- #186 feat: Add finalize option for post-processing formatted output
- Add new
finalizeandfinalizeFnoptions toIFormatterOptionsinterface to control post-processing of formatted assertion error messages - When
finalize: trueis set without a customfinalizeFn, automatically usesescapeAnsifrom @nevware21/chromacon to escape ANSI codes for display as literal characters - Finalization is applied once to the complete formatted output string in
_formatValue()for consistent processing - Enables powerful use cases:
- Escape ANSI codes for proper terminal display without interpreting color codes
- Colorize escaped ANSI sequences (e.g., display in gray) for better readability
- Convert output to HTML-safe format for web-based test runners and reports
- Wrap or decorate formatted messages with custom styling or metadata
- Apply any custom transformation to final assertion error output
- Updated
assertConfigdefaults to include the new finalization options - Reduced karma worker log level from DEBUG to INFO for faster test startup times
- Add new
- #105 Add WeakSet and WeakMap checks
- Add support for WeakMap and WeakSet in equality comparison operations using strict equality checks
- Add
isEmptyvalidation for WeakMap and WeakSet collections - Note: WeakMap and WeakSet do not expose a size property, so emptiness cannot be determined directly - the implementation handles these special cases appropriately
- Enables proper testing of code using ES6 weak collections
What's Changed
- Bump to typedoc ^0.28.2, Bump to typescript ~5.2.2 by @nev21 in #96
- build(deps-dev): bump @microsoft/rush from 5.151.0 to 5.153.0 by @dependabot[bot] in #100
- build(deps-dev): bump @microsoft/rush from 5.153.0 to 5.153.1 by @dependabot[bot] in #104
- Add WeekSet and WeakMap checks by @nev21 in #105
- bump @microsoft/rush from 5.153.1 to 5.153.2 by @nev21 in #112
- build(deps-dev): bump @microsoft/rush from 5.153.2 to 5.155.0 by @dependabot[bot] in #121
- build(deps-dev): bump @microsoft/rush from 5.155.0 to 5.155.1 by @dependabot[bot] in #127
- build(deps-dev): bump @microsoft/rush from 5.155.1 to 5.157.0 by @dependabot[bot] in #129
- build(deps-dev): bump @microsoft/rush from 5.157.0 to 5.158.1 by @dependabot[bot] in #142
- build(deps): bump actions/setup-node from 4 to 5 by @dependabot[bot] in #146
- build(deps-dev): bump @microsoft/rush from 5.158.1 to 5.162.0 by @dependabot[bot] in #161
- build(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in #157
- build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #134
- build(deps): bump actions/upload-pages-artifact from 3 to 4 by @dependabot[bot] in #138
- build(deps-dev): bump @types/sinon from 17.0.4 to 20.0.0 by @dependabot[bot] in #164
- Update npm version in rush settings by @nev21 in #167
- build(deps): bump actions/setup-node from 5 to 6 by @dependabot[bot] in #162
- Add Copilot instructions for repository context by @Copilot in #166
- build(deps-dev): bump @types/sinon from 20.0.0 to 21.0.0 by @dependabot[bot] in #169
- Add Dependabot auto-merge workflow by @nev21 in #175
- build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #171
- build(deps): bump peter-evans/rebase from 2 to 3 by @dependabot[bot] in #176
- build(deps-dev): bump @microsoft/rush from 5.162.0 to 5.163.0 by @dependabot[bot] in #174
- Update to use Chromacon for error messages by @nev21 in #177
- Update dependabot actions by @nev21 in #178
- Fix broken typedoc deployment by @nev21 in #179
- Additional steps to try and fix typedoc deployment by @nev21 in #180
- build(deps): bump peter-evans/rebase from 2 to 4 by @dependabot[bot] in #182
- Enhance Rush version sync workflow by @nev21 in #184
- Include common/scripts folder in sync process by @nev21 in #185
- build(deps-dev): bump @microsoft/rush from 5.163.0 to 5.164.0 by @dependabot[bot] in #183
- feat: Add finalize option for post-processing formatted output by @nev21 in #186
- Remove git config for dependabot user by @nev21 in #193
- Revert "Remove git config for dependabot user (#193)" by @nev21 in #194
- Add dependabot-sync[bot] to auto-approve workflow actors by @Copilot in #202
- Remove force rebase workflow by @nev21 in #203
- Fix sync-rush-versions workflow permissions for Dependabot PRs by @Copilot in #204
- Use official Dependabot bot account in sync-rush-versions workflow by @Copilot in #205
- build(deps-dev): bump @microsoft/rush from 5.164.0 to 5.165.0 by @dependabot[bot] in #192
- Update sync-rush-versions.yml by @nev21 in #206
- Delete .github/workflows/sync-rush-versions.yml by @nev21 in #210
- Update conditions for auto-approve job by @nev21 in #211
- build(deps-dev): bump @types/node from 24.10.4 to 25.0.3 in /core by @dependabot[bot] in #201
- build(deps-dev): bump cross-env from 7.0.3 to 10.1.0 in /core by @dependabot[bot] in #191
- build(deps-dev): bump the rollup group across 1 directory with 5 updates by @dependabot[bot] in #213
New Contributors
- @Copilot made their first contribution in #166
Full Changelog: v0.1.2...v0.1.3