Skip to content

Commit 42eb160

Browse files
fix(deps): update dependency typed-inject to v5 (#5239)
* fix(deps): update dependency typed-inject to v5 * test(test-helpers): add createChildInjector to injector stub --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Andreas Hoornstra <[email protected]>
1 parent 7545d08 commit 42eb160

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

package-lock.json

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/api/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"mutation-testing-metrics": "3.5.1",
6161
"mutation-testing-report-schema": "3.5.1",
6262
"tslib": "~2.8.0",
63-
"typed-inject": "~4.0.0"
63+
"typed-inject": "~5.0.0"
6464
},
6565
"devDependencies": {
6666
"@types/node": "22.14.1"

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"source-map": "~0.7.4",
9292
"tree-kill": "~1.2.2",
9393
"tslib": "2.8.1",
94-
"typed-inject": "~4.0.0",
94+
"typed-inject": "~5.0.0",
9595
"typed-rest-client": "~2.1.0"
9696
},
9797
"devDependencies": {

packages/test-helpers/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@
3030
"devDependencies": {
3131
"@stryker-mutator/api": "8.7.1",
3232
"@types/node": "22.14.1",
33-
"typed-inject": "4.0.0"
33+
"typed-inject": "5.0.0"
3434
}
3535
}

packages/test-helpers/src/factory.ts

+1
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,7 @@ export function injector<T = unknown>(): sinon.SinonStubbedInstance<Injector<T>>
390390
provideFactory: sinon.stub<any>(),
391391
provideValue: sinon.stub<any>(),
392392
resolve: sinon.stub<any>(),
393+
createChildInjector: sinon.stub<any>(),
393394
};
394395
injectorMock.provideClass.returnsThis();
395396
injectorMock.provideFactory.returnsThis();

0 commit comments

Comments
 (0)