fix(deps): update dependency @types/node to v22.13.14
All checks were successful
continuous-integration/drone/pr Build is passing
All checks were successful
continuous-integration/drone/pr Build is passing
This commit is contained in:
parent
d18c073ee8
commit
7f3d6bd522
82
.pnp.cjs
generated
82
.pnp.cjs
generated
@ -28,7 +28,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
"packageLocation": "./",\
|
"packageLocation": "./",\
|
||||||
"packageDependencies": [\
|
"packageDependencies": [\
|
||||||
["@types/jest", "npm:29.5.14"],\
|
["@types/jest", "npm:29.5.14"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.7.0"],\
|
["jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.7.0"],\
|
||||||
["ts-jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.2.6"],\
|
["ts-jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.2.6"],\
|
||||||
["ts-node", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:10.9.2"],\
|
["ts-node", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:10.9.2"],\
|
||||||
@ -881,7 +881,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
"packageDependencies": [\
|
"packageDependencies": [\
|
||||||
["@jest/console", "npm:29.7.0"],\
|
["@jest/console", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["chalk", "npm:4.1.2"],\
|
["chalk", "npm:4.1.2"],\
|
||||||
["jest-message-util", "npm:29.7.0"],\
|
["jest-message-util", "npm:29.7.0"],\
|
||||||
["jest-util", "npm:29.7.0"],\
|
["jest-util", "npm:29.7.0"],\
|
||||||
@ -907,7 +907,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["@jest/test-result", "npm:29.7.0"],\
|
["@jest/test-result", "npm:29.7.0"],\
|
||||||
["@jest/transform", "npm:29.7.0"],\
|
["@jest/transform", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["@types/node-notifier", null],\
|
["@types/node-notifier", null],\
|
||||||
["ansi-escapes", "npm:4.3.2"],\
|
["ansi-escapes", "npm:4.3.2"],\
|
||||||
["chalk", "npm:4.1.2"],\
|
["chalk", "npm:4.1.2"],\
|
||||||
@ -947,7 +947,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["@jest/environment", "npm:29.7.0"],\
|
["@jest/environment", "npm:29.7.0"],\
|
||||||
["@jest/fake-timers", "npm:29.7.0"],\
|
["@jest/fake-timers", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["jest-mock", "npm:29.7.0"]\
|
["jest-mock", "npm:29.7.0"]\
|
||||||
],\
|
],\
|
||||||
"linkType": "HARD"\
|
"linkType": "HARD"\
|
||||||
@ -989,7 +989,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["@jest/fake-timers", "npm:29.7.0"],\
|
["@jest/fake-timers", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@sinonjs/fake-timers", "npm:10.3.0"],\
|
["@sinonjs/fake-timers", "npm:10.3.0"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["jest-message-util", "npm:29.7.0"],\
|
["jest-message-util", "npm:29.7.0"],\
|
||||||
["jest-mock", "npm:29.7.0"],\
|
["jest-mock", "npm:29.7.0"],\
|
||||||
["jest-util", "npm:29.7.0"]\
|
["jest-util", "npm:29.7.0"]\
|
||||||
@ -1028,7 +1028,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["@jest/transform", "npm:29.7.0"],\
|
["@jest/transform", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@jridgewell/trace-mapping", "npm:0.3.19"],\
|
["@jridgewell/trace-mapping", "npm:0.3.19"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["@types/node-notifier", null],\
|
["@types/node-notifier", null],\
|
||||||
["chalk", "npm:4.1.2"],\
|
["chalk", "npm:4.1.2"],\
|
||||||
["collect-v8-coverage", "npm:1.0.2"],\
|
["collect-v8-coverage", "npm:1.0.2"],\
|
||||||
@ -1136,7 +1136,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["@jest/schemas", "npm:29.6.3"],\
|
["@jest/schemas", "npm:29.6.3"],\
|
||||||
["@types/istanbul-lib-coverage", "npm:2.0.4"],\
|
["@types/istanbul-lib-coverage", "npm:2.0.4"],\
|
||||||
["@types/istanbul-reports", "npm:3.0.1"],\
|
["@types/istanbul-reports", "npm:3.0.1"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["@types/yargs", "npm:17.0.24"],\
|
["@types/yargs", "npm:17.0.24"],\
|
||||||
["chalk", "npm:4.1.2"]\
|
["chalk", "npm:4.1.2"]\
|
||||||
],\
|
],\
|
||||||
@ -1345,7 +1345,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
"packageLocation": "../../../../cache/others/berry/cache/@types-graceful-fs-npm-4.1.6-1eadcf742d-10c0.zip/node_modules/@types/graceful-fs/",\
|
"packageLocation": "../../../../cache/others/berry/cache/@types-graceful-fs-npm-4.1.6-1eadcf742d-10c0.zip/node_modules/@types/graceful-fs/",\
|
||||||
"packageDependencies": [\
|
"packageDependencies": [\
|
||||||
["@types/graceful-fs", "npm:4.1.6"],\
|
["@types/graceful-fs", "npm:4.1.6"],\
|
||||||
["@types/node", "npm:22.13.10"]\
|
["@types/node", "npm:22.13.14"]\
|
||||||
],\
|
],\
|
||||||
"linkType": "HARD"\
|
"linkType": "HARD"\
|
||||||
}]\
|
}]\
|
||||||
@ -1391,10 +1391,10 @@ const RAW_RUNTIME_STATE =
|
|||||||
}]\
|
}]\
|
||||||
]],\
|
]],\
|
||||||
["@types/node", [\
|
["@types/node", [\
|
||||||
["npm:22.13.10", {\
|
["npm:22.13.14", {\
|
||||||
"packageLocation": "../../../../cache/others/berry/cache/@types-node-npm-22.13.10-af5336e62b-10c0.zip/node_modules/@types/node/",\
|
"packageLocation": "../../../../cache/others/berry/cache/@types-node-npm-22.13.14-2796c41449-10c0.zip/node_modules/@types/node/",\
|
||||||
"packageDependencies": [\
|
"packageDependencies": [\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["undici-types", "npm:6.20.0"]\
|
["undici-types", "npm:6.20.0"]\
|
||||||
],\
|
],\
|
||||||
"linkType": "HARD"\
|
"linkType": "HARD"\
|
||||||
@ -1938,7 +1938,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
"packageDependencies": [\
|
"packageDependencies": [\
|
||||||
["clean-architecture", "workspace:."],\
|
["clean-architecture", "workspace:."],\
|
||||||
["@types/jest", "npm:29.5.14"],\
|
["@types/jest", "npm:29.5.14"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.7.0"],\
|
["jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.7.0"],\
|
||||||
["ts-jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.2.6"],\
|
["ts-jest", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:29.2.6"],\
|
||||||
["ts-node", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:10.9.2"],\
|
["ts-node", "virtual:0bdaf34b18f64a61d994ea5745297b16ca55696ece813438927b218d5900be7b3b1afb8777870498f0544991088e71be7d6609a8d92700ec537ab224121fd8a4#npm:10.9.2"],\
|
||||||
@ -2959,7 +2959,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["@jest/expect", "npm:29.7.0"],\
|
["@jest/expect", "npm:29.7.0"],\
|
||||||
["@jest/test-result", "npm:29.7.0"],\
|
["@jest/test-result", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["chalk", "npm:4.1.2"],\
|
["chalk", "npm:4.1.2"],\
|
||||||
["co", "npm:4.6.0"],\
|
["co", "npm:4.6.0"],\
|
||||||
["dedent", "virtual:f7679858c638e2e5ade31901dd2b1e5007918fdc7d84fefb11f4200f46ba2e43b9d662fb793507b517bb1e725144e51f6d68f60f9f6100fd52144f042f58f0bc#npm:1.5.1"],\
|
["dedent", "virtual:f7679858c638e2e5ade31901dd2b1e5007918fdc7d84fefb11f4200f46ba2e43b9d662fb793507b517bb1e725144e51f6d68f60f9f6100fd52144f042f58f0bc#npm:1.5.1"],\
|
||||||
@ -3064,7 +3064,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["@babel/core", "npm:7.22.15"],\
|
["@babel/core", "npm:7.22.15"],\
|
||||||
["@jest/test-sequencer", "npm:29.7.0"],\
|
["@jest/test-sequencer", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["@types/ts-node", null],\
|
["@types/ts-node", null],\
|
||||||
["babel-jest", "virtual:939a7fe9ef9185d9378b96533b42cb7bd61bd3e34d0edd537f69a76537c5748d3b4733d3050f6f18ab17ac63143f81e7f121e602a5d38c959251dc0768083e9b#npm:29.7.0"],\
|
["babel-jest", "virtual:939a7fe9ef9185d9378b96533b42cb7bd61bd3e34d0edd537f69a76537c5748d3b4733d3050f6f18ab17ac63143f81e7f121e602a5d38c959251dc0768083e9b#npm:29.7.0"],\
|
||||||
["chalk", "npm:4.1.2"],\
|
["chalk", "npm:4.1.2"],\
|
||||||
@ -3151,7 +3151,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["@jest/environment", "npm:29.7.0"],\
|
["@jest/environment", "npm:29.7.0"],\
|
||||||
["@jest/fake-timers", "npm:29.7.0"],\
|
["@jest/fake-timers", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["jest-mock", "npm:29.7.0"],\
|
["jest-mock", "npm:29.7.0"],\
|
||||||
["jest-util", "npm:29.7.0"]\
|
["jest-util", "npm:29.7.0"]\
|
||||||
],\
|
],\
|
||||||
@ -3174,7 +3174,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["jest-haste-map", "npm:29.7.0"],\
|
["jest-haste-map", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/graceful-fs", "npm:4.1.6"],\
|
["@types/graceful-fs", "npm:4.1.6"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["anymatch", "npm:3.1.3"],\
|
["anymatch", "npm:3.1.3"],\
|
||||||
["fb-watchman", "npm:2.0.2"],\
|
["fb-watchman", "npm:2.0.2"],\
|
||||||
["fsevents", "patch:fsevents@npm%3A2.3.3#optional!builtin<compat/fsevents>::version=2.3.3&hash=df0bf1"],\
|
["fsevents", "patch:fsevents@npm%3A2.3.3#optional!builtin<compat/fsevents>::version=2.3.3&hash=df0bf1"],\
|
||||||
@ -3263,7 +3263,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
"packageDependencies": [\
|
"packageDependencies": [\
|
||||||
["jest-mock", "npm:29.7.0"],\
|
["jest-mock", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["jest-util", "npm:29.7.0"]\
|
["jest-util", "npm:29.7.0"]\
|
||||||
],\
|
],\
|
||||||
"linkType": "HARD"\
|
"linkType": "HARD"\
|
||||||
@ -3339,7 +3339,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["@jest/test-result", "npm:29.7.0"],\
|
["@jest/test-result", "npm:29.7.0"],\
|
||||||
["@jest/transform", "npm:29.7.0"],\
|
["@jest/transform", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["chalk", "npm:4.1.2"],\
|
["chalk", "npm:4.1.2"],\
|
||||||
["emittery", "npm:0.13.1"],\
|
["emittery", "npm:0.13.1"],\
|
||||||
["graceful-fs", "npm:4.2.11"],\
|
["graceful-fs", "npm:4.2.11"],\
|
||||||
@ -3371,7 +3371,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["@jest/test-result", "npm:29.7.0"],\
|
["@jest/test-result", "npm:29.7.0"],\
|
||||||
["@jest/transform", "npm:29.7.0"],\
|
["@jest/transform", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["chalk", "npm:4.1.2"],\
|
["chalk", "npm:4.1.2"],\
|
||||||
["cjs-module-lexer", "npm:1.2.3"],\
|
["cjs-module-lexer", "npm:1.2.3"],\
|
||||||
["collect-v8-coverage", "npm:1.0.2"],\
|
["collect-v8-coverage", "npm:1.0.2"],\
|
||||||
@ -3425,7 +3425,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
"packageDependencies": [\
|
"packageDependencies": [\
|
||||||
["jest-util", "npm:29.6.3"],\
|
["jest-util", "npm:29.6.3"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["chalk", "npm:4.1.2"],\
|
["chalk", "npm:4.1.2"],\
|
||||||
["ci-info", "npm:3.8.0"],\
|
["ci-info", "npm:3.8.0"],\
|
||||||
["graceful-fs", "npm:4.2.11"],\
|
["graceful-fs", "npm:4.2.11"],\
|
||||||
@ -3438,7 +3438,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
"packageDependencies": [\
|
"packageDependencies": [\
|
||||||
["jest-util", "npm:29.7.0"],\
|
["jest-util", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["chalk", "npm:4.1.2"],\
|
["chalk", "npm:4.1.2"],\
|
||||||
["ci-info", "npm:3.8.0"],\
|
["ci-info", "npm:3.8.0"],\
|
||||||
["graceful-fs", "npm:4.2.11"],\
|
["graceful-fs", "npm:4.2.11"],\
|
||||||
@ -3469,7 +3469,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["jest-watcher", "npm:29.7.0"],\
|
["jest-watcher", "npm:29.7.0"],\
|
||||||
["@jest/test-result", "npm:29.7.0"],\
|
["@jest/test-result", "npm:29.7.0"],\
|
||||||
["@jest/types", "npm:29.6.3"],\
|
["@jest/types", "npm:29.6.3"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["ansi-escapes", "npm:4.3.2"],\
|
["ansi-escapes", "npm:4.3.2"],\
|
||||||
["chalk", "npm:4.1.2"],\
|
["chalk", "npm:4.1.2"],\
|
||||||
["emittery", "npm:0.13.1"],\
|
["emittery", "npm:0.13.1"],\
|
||||||
@ -3484,7 +3484,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
"packageLocation": "../../../../cache/others/berry/cache/jest-worker-npm-29.7.0-4d3567fed6-10c0.zip/node_modules/jest-worker/",\
|
"packageLocation": "../../../../cache/others/berry/cache/jest-worker-npm-29.7.0-4d3567fed6-10c0.zip/node_modules/jest-worker/",\
|
||||||
"packageDependencies": [\
|
"packageDependencies": [\
|
||||||
["jest-worker", "npm:29.7.0"],\
|
["jest-worker", "npm:29.7.0"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["jest-util", "npm:29.7.0"],\
|
["jest-util", "npm:29.7.0"],\
|
||||||
["merge-stream", "npm:2.0.0"],\
|
["merge-stream", "npm:2.0.0"],\
|
||||||
["supports-color", "npm:8.1.1"]\
|
["supports-color", "npm:8.1.1"]\
|
||||||
@ -4679,7 +4679,7 @@ const RAW_RUNTIME_STATE =
|
|||||||
["@tsconfig/node12", "npm:1.0.11"],\
|
["@tsconfig/node12", "npm:1.0.11"],\
|
||||||
["@tsconfig/node14", "npm:1.0.3"],\
|
["@tsconfig/node14", "npm:1.0.3"],\
|
||||||
["@tsconfig/node16", "npm:1.0.4"],\
|
["@tsconfig/node16", "npm:1.0.4"],\
|
||||||
["@types/node", "npm:22.13.10"],\
|
["@types/node", "npm:22.13.14"],\
|
||||||
["@types/swc__core", null],\
|
["@types/swc__core", null],\
|
||||||
["@types/swc__wasm", null],\
|
["@types/swc__wasm", null],\
|
||||||
["@types/typescript", null],\
|
["@types/typescript", null],\
|
||||||
@ -5367,7 +5367,7 @@ async function copyImpl(prelayout, postlayout, destinationFs, destination, sourc
|
|||||||
async function maybeLStat(baseFs, p) {
|
async function maybeLStat(baseFs, p) {
|
||||||
try {
|
try {
|
||||||
return await baseFs.lstatPromise(p);
|
return await baseFs.lstatPromise(p);
|
||||||
} catch (e) {
|
} catch {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -5626,7 +5626,7 @@ class CustomStatWatcher extends events.EventEmitter {
|
|||||||
stat() {
|
stat() {
|
||||||
try {
|
try {
|
||||||
return this.fakeFs.statSync(this.path, { bigint: this.bigint });
|
return this.fakeFs.statSync(this.path, { bigint: this.bigint });
|
||||||
} catch (error) {
|
} catch {
|
||||||
const statInstance = this.bigint ? new BigIntStatsEntry() : new StatEntry();
|
const statInstance = this.bigint ? new BigIntStatsEntry() : new StatEntry();
|
||||||
return clearStats(statInstance);
|
return clearStats(statInstance);
|
||||||
}
|
}
|
||||||
@ -5952,7 +5952,7 @@ class FakeFS {
|
|||||||
let current = Buffer.alloc(0);
|
let current = Buffer.alloc(0);
|
||||||
try {
|
try {
|
||||||
current = await this.readFilePromise(p);
|
current = await this.readFilePromise(p);
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
if (Buffer.compare(current, content) === 0)
|
if (Buffer.compare(current, content) === 0)
|
||||||
return;
|
return;
|
||||||
@ -5962,7 +5962,7 @@ class FakeFS {
|
|||||||
let current = ``;
|
let current = ``;
|
||||||
try {
|
try {
|
||||||
current = await this.readFilePromise(p, `utf8`);
|
current = await this.readFilePromise(p, `utf8`);
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
||||||
if (current === normalizedContent)
|
if (current === normalizedContent)
|
||||||
@ -5980,7 +5980,7 @@ class FakeFS {
|
|||||||
let current = Buffer.alloc(0);
|
let current = Buffer.alloc(0);
|
||||||
try {
|
try {
|
||||||
current = this.readFileSync(p);
|
current = this.readFileSync(p);
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
if (Buffer.compare(current, content) === 0)
|
if (Buffer.compare(current, content) === 0)
|
||||||
return;
|
return;
|
||||||
@ -5990,7 +5990,7 @@ class FakeFS {
|
|||||||
let current = ``;
|
let current = ``;
|
||||||
try {
|
try {
|
||||||
current = this.readFileSync(p, `utf8`);
|
current = this.readFileSync(p, `utf8`);
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
||||||
if (current === normalizedContent)
|
if (current === normalizedContent)
|
||||||
@ -6030,13 +6030,13 @@ class FakeFS {
|
|||||||
let pid;
|
let pid;
|
||||||
try {
|
try {
|
||||||
[pid] = await this.readJsonPromise(lockPath);
|
[pid] = await this.readJsonPromise(lockPath);
|
||||||
} catch (error) {
|
} catch {
|
||||||
return Date.now() - startTime < 500;
|
return Date.now() - startTime < 500;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
process.kill(pid, 0);
|
process.kill(pid, 0);
|
||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -6049,7 +6049,7 @@ class FakeFS {
|
|||||||
try {
|
try {
|
||||||
await this.unlinkPromise(lockPath);
|
await this.unlinkPromise(lockPath);
|
||||||
continue;
|
continue;
|
||||||
} catch (error2) {
|
} catch {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Date.now() - startTime < 60 * 1e3) {
|
if (Date.now() - startTime < 60 * 1e3) {
|
||||||
@ -6069,7 +6069,7 @@ class FakeFS {
|
|||||||
try {
|
try {
|
||||||
await this.closePromise(fd);
|
await this.closePromise(fd);
|
||||||
await this.unlinkPromise(lockPath);
|
await this.unlinkPromise(lockPath);
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -7219,7 +7219,7 @@ class MountFS extends BasePortableFakeFS {
|
|||||||
let content;
|
let content;
|
||||||
try {
|
try {
|
||||||
content = await sourceFs.readFilePromise(sourceP2);
|
content = await sourceFs.readFilePromise(sourceP2);
|
||||||
} catch (error) {
|
} catch {
|
||||||
throw Object.assign(new Error(`EINVAL: invalid argument, copyfile '${sourceP2}' -> '${destP2}'`), { code: `EINVAL` });
|
throw Object.assign(new Error(`EINVAL: invalid argument, copyfile '${sourceP2}' -> '${destP2}'`), { code: `EINVAL` });
|
||||||
}
|
}
|
||||||
await destFs.writeFilePromise(destP2, content);
|
await destFs.writeFilePromise(destP2, content);
|
||||||
@ -7251,7 +7251,7 @@ class MountFS extends BasePortableFakeFS {
|
|||||||
let content;
|
let content;
|
||||||
try {
|
try {
|
||||||
content = sourceFs.readFileSync(sourceP2);
|
content = sourceFs.readFileSync(sourceP2);
|
||||||
} catch (error) {
|
} catch {
|
||||||
throw Object.assign(new Error(`EINVAL: invalid argument, copyfile '${sourceP2}' -> '${destP2}'`), { code: `EINVAL` });
|
throw Object.assign(new Error(`EINVAL: invalid argument, copyfile '${sourceP2}' -> '${destP2}'`), { code: `EINVAL` });
|
||||||
}
|
}
|
||||||
destFs.writeFileSync(destP2, content);
|
destFs.writeFileSync(destP2, content);
|
||||||
@ -8166,7 +8166,7 @@ function patchFs(patchedFs, fakeFs) {
|
|||||||
setupFn(patchedFs, `existsSync`, (p) => {
|
setupFn(patchedFs, `existsSync`, (p) => {
|
||||||
try {
|
try {
|
||||||
return fakeFs.existsSync(p);
|
return fakeFs.existsSync(p);
|
||||||
} catch (error) {
|
} catch {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -9527,7 +9527,7 @@ class ZipFS extends BasePortableFakeFS {
|
|||||||
let resolvedP;
|
let resolvedP;
|
||||||
try {
|
try {
|
||||||
resolvedP = this.resolveFilename(`stat '${p}'`, p, void 0, false);
|
resolvedP = this.resolveFilename(`stat '${p}'`, p, void 0, false);
|
||||||
} catch (error) {
|
} catch {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (resolvedP === void 0)
|
if (resolvedP === void 0)
|
||||||
@ -10568,7 +10568,7 @@ Require stack:
|
|||||||
} else {
|
} else {
|
||||||
resolution = originalFindPath.call(require$$0.Module, request, [path], isMain);
|
resolution = originalFindPath.call(require$$0.Module, request, [path], isMain);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (resolution) {
|
if (resolution) {
|
||||||
@ -11651,7 +11651,7 @@ function makeApi(runtimeState, opts) {
|
|||||||
try {
|
try {
|
||||||
candidates.push(unqualifiedPath);
|
candidates.push(unqualifiedPath);
|
||||||
stat = opts.fakeFs.statSync(unqualifiedPath);
|
stat = opts.fakeFs.statSync(unqualifiedPath);
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
if (stat && !stat.isDirectory())
|
if (stat && !stat.isDirectory())
|
||||||
return opts.fakeFs.realpathSync(unqualifiedPath);
|
return opts.fakeFs.realpathSync(unqualifiedPath);
|
||||||
@ -11659,7 +11659,7 @@ function makeApi(runtimeState, opts) {
|
|||||||
let pkgJson;
|
let pkgJson;
|
||||||
try {
|
try {
|
||||||
pkgJson = JSON.parse(opts.fakeFs.readFileSync(ppath.join(unqualifiedPath, Filename.manifest), `utf8`));
|
pkgJson = JSON.parse(opts.fakeFs.readFileSync(ppath.join(unqualifiedPath, Filename.manifest), `utf8`));
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
let nextUnqualifiedPath;
|
let nextUnqualifiedPath;
|
||||||
if (pkgJson && pkgJson.main)
|
if (pkgJson && pkgJson.main)
|
||||||
|
18
.pnp.loader.mjs
generated
18
.pnp.loader.mjs
generated
@ -131,7 +131,7 @@ async function copyImpl(prelayout, postlayout, destinationFs, destination, sourc
|
|||||||
async function maybeLStat(baseFs, p) {
|
async function maybeLStat(baseFs, p) {
|
||||||
try {
|
try {
|
||||||
return await baseFs.lstatPromise(p);
|
return await baseFs.lstatPromise(p);
|
||||||
} catch (e) {
|
} catch {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -482,7 +482,7 @@ class FakeFS {
|
|||||||
let current = Buffer.alloc(0);
|
let current = Buffer.alloc(0);
|
||||||
try {
|
try {
|
||||||
current = await this.readFilePromise(p);
|
current = await this.readFilePromise(p);
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
if (Buffer.compare(current, content) === 0)
|
if (Buffer.compare(current, content) === 0)
|
||||||
return;
|
return;
|
||||||
@ -492,7 +492,7 @@ class FakeFS {
|
|||||||
let current = ``;
|
let current = ``;
|
||||||
try {
|
try {
|
||||||
current = await this.readFilePromise(p, `utf8`);
|
current = await this.readFilePromise(p, `utf8`);
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
||||||
if (current === normalizedContent)
|
if (current === normalizedContent)
|
||||||
@ -510,7 +510,7 @@ class FakeFS {
|
|||||||
let current = Buffer.alloc(0);
|
let current = Buffer.alloc(0);
|
||||||
try {
|
try {
|
||||||
current = this.readFileSync(p);
|
current = this.readFileSync(p);
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
if (Buffer.compare(current, content) === 0)
|
if (Buffer.compare(current, content) === 0)
|
||||||
return;
|
return;
|
||||||
@ -520,7 +520,7 @@ class FakeFS {
|
|||||||
let current = ``;
|
let current = ``;
|
||||||
try {
|
try {
|
||||||
current = this.readFileSync(p, `utf8`);
|
current = this.readFileSync(p, `utf8`);
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
||||||
if (current === normalizedContent)
|
if (current === normalizedContent)
|
||||||
@ -560,13 +560,13 @@ class FakeFS {
|
|||||||
let pid;
|
let pid;
|
||||||
try {
|
try {
|
||||||
[pid] = await this.readJsonPromise(lockPath);
|
[pid] = await this.readJsonPromise(lockPath);
|
||||||
} catch (error) {
|
} catch {
|
||||||
return Date.now() - startTime < 500;
|
return Date.now() - startTime < 500;
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
process.kill(pid, 0);
|
process.kill(pid, 0);
|
||||||
return true;
|
return true;
|
||||||
} catch (error) {
|
} catch {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -579,7 +579,7 @@ class FakeFS {
|
|||||||
try {
|
try {
|
||||||
await this.unlinkPromise(lockPath);
|
await this.unlinkPromise(lockPath);
|
||||||
continue;
|
continue;
|
||||||
} catch (error2) {
|
} catch {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (Date.now() - startTime < 60 * 1e3) {
|
if (Date.now() - startTime < 60 * 1e3) {
|
||||||
@ -599,7 +599,7 @@ class FakeFS {
|
|||||||
try {
|
try {
|
||||||
await this.closePromise(fd);
|
await this.closePromise(fd);
|
||||||
await this.unlinkPromise(lockPath);
|
await this.unlinkPromise(lockPath);
|
||||||
} catch (error) {
|
} catch {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -904,11 +904,11 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@types/node@npm:*, @types/node@npm:^22.7.5":
|
"@types/node@npm:*, @types/node@npm:^22.7.5":
|
||||||
version: 22.13.10
|
version: 22.13.14
|
||||||
resolution: "@types/node@npm:22.13.10"
|
resolution: "@types/node@npm:22.13.14"
|
||||||
dependencies:
|
dependencies:
|
||||||
undici-types: "npm:~6.20.0"
|
undici-types: "npm:~6.20.0"
|
||||||
checksum: 10c0/a3865f9503d6f718002374f7b87efaadfae62faa499c1a33b12c527cfb9fd86f733e1a1b026b80c5a0e4a965701174bc3305595a7d36078aa1abcf09daa5dee9
|
checksum: 10c0/fa2ab5b8277bfbcc86c42e46a3ea9871b0d559894cc9d955685d17178c9499f0b1bf03d1d1ea8d92ef2dda818988f4035acb8abf9dc15423a998fa56173ab804
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user