diff --git a/package.json b/package.json index d9cd38f8..2392841b 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "unplugin-swc": "^1.5.7", "vite": "^5.4.21", "vitest": "^1.6.1", - "vitest-mock-extended": "^1.3.1" + "vitest-mock-extended": "^4.0.0" }, "files": [ "dist" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 69115783..5fc889ef 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -94,8 +94,8 @@ importers: specifier: ^1.6.1 version: 1.6.1(@types/node@24.0.0) vitest-mock-extended: - specifier: ^1.3.1 - version: 1.3.2(typescript@5.9.2)(vitest@1.6.1(@types/node@24.0.0)) + specifier: ^4.0.0 + version: 4.0.0(typescript@5.9.2)(vitest@1.6.1(@types/node@24.0.0)) packages: @@ -906,6 +906,7 @@ packages: '@ungap/structured-clone@1.2.0': resolution: {integrity: sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==} + deprecated: Potential CWE-502 - Update to 1.3.1 or higher '@vercel/ncc@0.38.3': resolution: {integrity: sha512-rnK6hJBS6mwc+Bkab+PGPs9OiS0i/3kdTO+CkI8V0/VrW3vmz7O2Pxjw/owOlmo6PKEIxRSeZKv/kuL9itnpYA==} @@ -1597,6 +1598,7 @@ packages: git-raw-commits@4.0.0: resolution: {integrity: sha512-ICsMM1Wk8xSGMowkOmPrzo2Fgmfo4bMHLNX6ytHjajRJUqvHOw/TFapQ+QG75c3X/tTDDhOSRPGC52dDbNM8FQ==} engines: {node: '>=16'} + deprecated: This package is no longer maintained. For the JavaScript API, please use @conventional-changelog/git-client instead. hasBin: true glob-parent@5.1.2: @@ -1609,11 +1611,12 @@ packages: glob@10.4.5: resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==} + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me hasBin: true glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} - deprecated: Glob versions prior to v9 are no longer supported + deprecated: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me global-directory@4.0.1: resolution: {integrity: sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==} @@ -2515,8 +2518,8 @@ packages: peerDependencies: typescript: '>=4.2.0' - ts-essentials@10.0.3: - resolution: {integrity: sha512-/FrVAZ76JLTWxJOERk04fm8hYENDo0PWSP3YLQKxevLwWtxemGcl5JJEzN4iqfDlRve0ckyfFaOBu4xbNH/wZw==} + ts-essentials@10.2.1: + resolution: {integrity: sha512-+Id1fRkuir+CsgK2x04/icS2b4V1hQmq7ObzIrDjhN0ozfRYivnP7aaKMVJfLApQm0trjR39A6NIMVchiB9Erw==} peerDependencies: typescript: '>=4.5.0' peerDependenciesMeta: @@ -2641,11 +2644,11 @@ packages: terser: optional: true - vitest-mock-extended@1.3.2: - resolution: {integrity: sha512-wnpym69MFYBUbUT6vrM/E4sF0bylow+N/RBBTZWn4rO/UFLusvuCrb3CMe3K4663+iBzplrhk0hQ2O246rFrqQ==} + vitest-mock-extended@4.0.0: + resolution: {integrity: sha512-m2FmH8JYfxzZoLsHuhXRY+Pv++a3zd91HYpSz81tpRLEHbtFkEL2QcWvJowucWuNTirzQURKfWbJJSXbYqkTsA==} peerDependencies: - typescript: 3.x || 4.x || 5.x - vitest: '>=2.0.0' + typescript: 3.x || 4.x || 5.x || 6.x + vitest: '>=4.0.0' vitest@1.6.1: resolution: {integrity: sha512-Ljb1cnSJSivGN0LqXd/zmDbWEM0RNNg2t1QW/XUhYl/qPqyu7CsqeWtqQXHVaJsecLPuDoak2oJcZN2QoRIOag==} @@ -5120,7 +5123,7 @@ snapshots: dependencies: typescript: 5.9.2 - ts-essentials@10.0.3(typescript@5.9.2): + ts-essentials@10.2.1(typescript@5.9.2): optionalDependencies: typescript: 5.9.2 @@ -5225,9 +5228,9 @@ snapshots: '@types/node': 24.0.0 fsevents: 2.3.3 - vitest-mock-extended@1.3.2(typescript@5.9.2)(vitest@1.6.1(@types/node@24.0.0)): + vitest-mock-extended@4.0.0(typescript@5.9.2)(vitest@1.6.1(@types/node@24.0.0)): dependencies: - ts-essentials: 10.0.3(typescript@5.9.2) + ts-essentials: 10.2.1(typescript@5.9.2) typescript: 5.9.2 vitest: 1.6.1(@types/node@24.0.0)