-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency strong-mock to v9 (renovate-deps) #11
Open
renovate
wants to merge
1
commit into
renovate-deps
Choose a base branch
from
renovate/renovate-deps-strong-mock-9.x
base: renovate-deps
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Branch automerge failureThis PR was configured for branch automerge. However, this is not possible, so it has been raised as a PR instead.
|
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
7 times, most recently
from
September 22, 2024 08:49
3e876c8
to
cdb13b1
Compare
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
7 times, most recently
from
September 30, 2024 02:13
ab83666
to
096f794
Compare
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
6 times, most recently
from
October 7, 2024 02:45
07b40c3
to
4cb043d
Compare
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
6 times, most recently
from
October 13, 2024 06:00
9629cd2
to
7571feb
Compare
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
3 times, most recently
from
October 20, 2024 05:41
93a9bf7
to
56eb7a3
Compare
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
4 times, most recently
from
November 14, 2024 05:14
6d94f3e
to
52e2aba
Compare
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
4 times, most recently
from
November 27, 2024 17:58
0c4e357
to
83830a5
Compare
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
5 times, most recently
from
December 3, 2024 02:49
d208182
to
ea5879f
Compare
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
6 times, most recently
from
December 12, 2024 04:44
4b9167e
to
2ed0a4b
Compare
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
6 times, most recently
from
December 16, 2024 23:25
8229985
to
2671024
Compare
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
3 times, most recently
from
December 23, 2024 17:52
e80f08f
to
0544349
Compare
| datasource | package | from | to | | ---------- | ----------- | ----- | ----- | | npm | strong-mock | 8.0.1 | 9.0.1 | ## [v9.0.1](https://github.com/NiGhTTraX/strong-mock/blob/HEAD/CHANGELOG.md#901-2024-11-23) ## [v9.0.0](https://github.com/NiGhTTraX/strong-mock/blob/HEAD/CHANGELOG.md#900-2024-05-27) This version greatly improves error messages and the matcher API. Check the [migration guide](MIGRATION.md#migrating-to-v9). ```typescript const fn = mock<(x: number, y: number, z: { foo: string }) => number>(); when(() => fn(1, 2, { foo: 'bar' })).thenReturn(42); fn(1, 2, { foo: 'baz' }); ``` | Before | After | |--------------------------------|------------------------------| | ![before](media/before-v9.png) | ![after](media/after-v9.png) | ##### ⚠ BREAKING CHANGES - `isObject` has been replaced by `isPlainObject` and `containsObject` - Merge `isString`'s optional `containing` and `matching` args - Rename the `toJSON` matcher method to `toString` - Don't allow empty partials in `containsObject` ##### Features - Attach actual/expected args to error instance to enable IDE diffs ([7a04a43](NiGhTTraX/strong-mock@7a04a43)) - Improve `isArray` diff ([a5aaddd](NiGhTTraX/strong-mock@a5aaddd)) - Improve `isNumber` diff ([55647ed](NiGhTTraX/strong-mock@55647ed)) - Improve `isObject` diff ([5533bcf](NiGhTTraX/strong-mock@5533bcf)) - Improve `isString` diff ([5c73fbb](NiGhTTraX/strong-mock@5c73fbb)) - Improve `willCapture` diff ([7d92ce9](NiGhTTraX/strong-mock@7d92ce9)) - Improve colors in UnexpectedCall error message ([f326954](NiGhTTraX/strong-mock@f326954)) - Pretty print argument diffs in UnexpectedCall error messages ([ba4f6b5](NiGhTTraX/strong-mock@ba4f6b5)) ##### Bug Fixes - Fix `isPartial` allowing unexpected keys ([cc0b881](NiGhTTraX/strong-mock@cc0b881)) - Fix `isPartial` not working with interfaces ([169b336](NiGhTTraX/strong-mock@169b336)) - `isObject` now correctly fails for `null` and `undefined` ([9b50fe4](NiGhTTraX/strong-mock@9b50fe4)) - Fix `It` docstrings ([df7f91a](NiGhTTraX/strong-mock@df7f91a)) - Handle non string keys in `isObject` ([87cb768](NiGhTTraX/strong-mock@87cb768))
renovate
bot
force-pushed
the
renovate/renovate-deps-strong-mock-9.x
branch
from
December 25, 2024 05:43
0544349
to
337c71e
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~8.0.1
->~9.0.0
Release Notes
NiGhTTraX/strong-mock (strong-mock)
v9.0.1
Compare Source
v9.0.0
Compare Source
This version greatly improves error messages and the matcher API. Check the migration guide.
⚠ BREAKING CHANGES
isObject
has been replaced byisPlainObject
andcontainsObject
isString
's optionalcontaining
andmatching
argstoJSON
matcher method totoString
containsObject
Features
isArray
diff (a5aaddd)isNumber
diff (55647ed)isObject
diff (5533bcf)isString
diff (5c73fbb)willCapture
diff (7d92ce9)Bug Fixes
isPartial
allowing unexpected keys (cc0b881)isPartial
not working with interfaces (169b336)isObject
now correctly fails fornull
andundefined
(9b50fe4)It
docstrings (df7f91a)isObject
(87cb768)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.