Compare commits
3 Commits
57549f75f1
...
9f3bf44310
Author | SHA1 | Date | |
---|---|---|---|
9f3bf44310 | |||
c89223f01d | |||
b107450333 |
26
.pnp.loader.mjs
generated
26
.pnp.loader.mjs
generated
@ -131,7 +131,7 @@ async function copyImpl(prelayout, postlayout, destinationFs, destination, sourc
|
||||
async function maybeLStat(baseFs, p) {
|
||||
try {
|
||||
return await baseFs.lstatPromise(p);
|
||||
} catch (e) {
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@ -482,7 +482,7 @@ class FakeFS {
|
||||
let current = Buffer.alloc(0);
|
||||
try {
|
||||
current = await this.readFilePromise(p);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
}
|
||||
if (Buffer.compare(current, content) === 0)
|
||||
return;
|
||||
@ -492,7 +492,7 @@ class FakeFS {
|
||||
let current = ``;
|
||||
try {
|
||||
current = await this.readFilePromise(p, `utf8`);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
}
|
||||
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
||||
if (current === normalizedContent)
|
||||
@ -510,7 +510,7 @@ class FakeFS {
|
||||
let current = Buffer.alloc(0);
|
||||
try {
|
||||
current = this.readFileSync(p);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
}
|
||||
if (Buffer.compare(current, content) === 0)
|
||||
return;
|
||||
@ -520,7 +520,7 @@ class FakeFS {
|
||||
let current = ``;
|
||||
try {
|
||||
current = this.readFileSync(p, `utf8`);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
}
|
||||
const normalizedContent = automaticNewlines ? normalizeLineEndings(current, content) : content;
|
||||
if (current === normalizedContent)
|
||||
@ -560,13 +560,13 @@ class FakeFS {
|
||||
let pid;
|
||||
try {
|
||||
[pid] = await this.readJsonPromise(lockPath);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
return Date.now() - startTime < 500;
|
||||
}
|
||||
try {
|
||||
process.kill(pid, 0);
|
||||
return true;
|
||||
} catch (error) {
|
||||
} catch {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
@ -579,7 +579,7 @@ class FakeFS {
|
||||
try {
|
||||
await this.unlinkPromise(lockPath);
|
||||
continue;
|
||||
} catch (error2) {
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
if (Date.now() - startTime < 60 * 1e3) {
|
||||
@ -599,7 +599,7 @@ class FakeFS {
|
||||
try {
|
||||
await this.closePromise(fd);
|
||||
await this.unlinkPromise(lockPath);
|
||||
} catch (error) {
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -895,7 +895,7 @@ class ProxiedFS extends FakeFS {
|
||||
watch(p, a, b) {
|
||||
return this.baseFs.watch(
|
||||
this.mapToBase(p),
|
||||
// @ts-expect-error
|
||||
// @ts-expect-error - reason TBS
|
||||
a,
|
||||
b
|
||||
);
|
||||
@ -903,7 +903,7 @@ class ProxiedFS extends FakeFS {
|
||||
watchFile(p, a, b) {
|
||||
return this.baseFs.watchFile(
|
||||
this.mapToBase(p),
|
||||
// @ts-expect-error
|
||||
// @ts-expect-error - reason TBS
|
||||
a,
|
||||
b
|
||||
);
|
||||
@ -1323,7 +1323,7 @@ class NodeFS extends BasePortableFakeFS {
|
||||
watch(p, a, b) {
|
||||
return this.realFs.watch(
|
||||
npath.fromPortablePath(p),
|
||||
// @ts-expect-error
|
||||
// @ts-expect-error - reason TBS
|
||||
a,
|
||||
b
|
||||
);
|
||||
@ -1331,7 +1331,7 @@ class NodeFS extends BasePortableFakeFS {
|
||||
watchFile(p, a, b) {
|
||||
return this.realFs.watchFile(
|
||||
npath.fromPortablePath(p),
|
||||
// @ts-expect-error
|
||||
// @ts-expect-error - reason TBS
|
||||
a,
|
||||
b
|
||||
);
|
||||
|
File diff suppressed because one or more lines are too long
@ -3,4 +3,4 @@ plugins:
|
||||
path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
|
||||
spec: "https://go.mskelton.dev/yarn-outdated/v4"
|
||||
|
||||
yarnPath: .yarn/releases/yarn-4.7.0.cjs
|
||||
yarnPath: .yarn/releases/yarn-4.8.1.cjs
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "clean-architecture",
|
||||
"packageManager": "yarn@4.7.0",
|
||||
"packageManager": "yarn@4.8.1",
|
||||
"dependencies": {
|
||||
"@types/jest": "^29.5.13",
|
||||
"@types/node": "^22.7.5",
|
||||
|
28
yarn.lock
28
yarn.lock
@ -904,11 +904,11 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"@types/node@npm:*, @types/node@npm:^22.7.5":
|
||||
version: 22.13.10
|
||||
resolution: "@types/node@npm:22.13.10"
|
||||
version: 22.14.0
|
||||
resolution: "@types/node@npm:22.14.0"
|
||||
dependencies:
|
||||
undici-types: "npm:~6.20.0"
|
||||
checksum: 10c0/a3865f9503d6f718002374f7b87efaadfae62faa499c1a33b12c527cfb9fd86f733e1a1b026b80c5a0e4a965701174bc3305595a7d36078aa1abcf09daa5dee9
|
||||
undici-types: "npm:~6.21.0"
|
||||
checksum: 10c0/9d79f3fa1af9c2c869514f419c4a4905b34c10e12915582fd1784868ac4e74c6d306cf5eb47ef889b6750ab85a31be96618227b86739c4a3e0b1c15063f384c6
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -3793,29 +3793,29 @@ __metadata:
|
||||
linkType: hard
|
||||
|
||||
"typescript@npm:^5.6.2":
|
||||
version: 5.8.2
|
||||
resolution: "typescript@npm:5.8.2"
|
||||
version: 5.8.3
|
||||
resolution: "typescript@npm:5.8.3"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 10c0/5c4f6fbf1c6389b6928fe7b8fcd5dc73bb2d58cd4e3883f1d774ed5bd83b151cbac6b7ecf11723de56d4676daeba8713894b1e9af56174f2f9780ae7848ec3c6
|
||||
checksum: 10c0/5f8bb01196e542e64d44db3d16ee0e4063ce4f3e3966df6005f2588e86d91c03e1fb131c2581baf0fb65ee79669eea6e161cd448178986587e9f6844446dbb48
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"typescript@patch:typescript@npm%3A^5.6.2#optional!builtin<compat/typescript>":
|
||||
version: 5.8.2
|
||||
resolution: "typescript@patch:typescript@npm%3A5.8.2#optional!builtin<compat/typescript>::version=5.8.2&hash=5786d5"
|
||||
version: 5.8.3
|
||||
resolution: "typescript@patch:typescript@npm%3A5.8.3#optional!builtin<compat/typescript>::version=5.8.3&hash=5786d5"
|
||||
bin:
|
||||
tsc: bin/tsc
|
||||
tsserver: bin/tsserver
|
||||
checksum: 10c0/5448a08e595cc558ab321e49d4cac64fb43d1fa106584f6ff9a8d8e592111b373a995a1d5c7f3046211c8a37201eb6d0f1566f15cdb7a62a5e3be01d087848e2
|
||||
checksum: 10c0/39117e346ff8ebd87ae1510b3a77d5d92dae5a89bde588c747d25da5c146603a99c8ee588c7ef80faaf123d89ed46f6dbd918d534d641083177d5fac38b8a1cb
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"undici-types@npm:~6.20.0":
|
||||
version: 6.20.0
|
||||
resolution: "undici-types@npm:6.20.0"
|
||||
checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
|
||||
"undici-types@npm:~6.21.0":
|
||||
version: 6.21.0
|
||||
resolution: "undici-types@npm:6.21.0"
|
||||
checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user