fix(deps): update dependency @types/node to v22.14.0
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
b107450333
commit
638fe4f9b0
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) {
|
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 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -895,7 +895,7 @@ class ProxiedFS extends FakeFS {
|
|||||||
watch(p, a, b) {
|
watch(p, a, b) {
|
||||||
return this.baseFs.watch(
|
return this.baseFs.watch(
|
||||||
this.mapToBase(p),
|
this.mapToBase(p),
|
||||||
// @ts-expect-error
|
// @ts-expect-error - reason TBS
|
||||||
a,
|
a,
|
||||||
b
|
b
|
||||||
);
|
);
|
||||||
@ -903,7 +903,7 @@ class ProxiedFS extends FakeFS {
|
|||||||
watchFile(p, a, b) {
|
watchFile(p, a, b) {
|
||||||
return this.baseFs.watchFile(
|
return this.baseFs.watchFile(
|
||||||
this.mapToBase(p),
|
this.mapToBase(p),
|
||||||
// @ts-expect-error
|
// @ts-expect-error - reason TBS
|
||||||
a,
|
a,
|
||||||
b
|
b
|
||||||
);
|
);
|
||||||
@ -1323,7 +1323,7 @@ class NodeFS extends BasePortableFakeFS {
|
|||||||
watch(p, a, b) {
|
watch(p, a, b) {
|
||||||
return this.realFs.watch(
|
return this.realFs.watch(
|
||||||
npath.fromPortablePath(p),
|
npath.fromPortablePath(p),
|
||||||
// @ts-expect-error
|
// @ts-expect-error - reason TBS
|
||||||
a,
|
a,
|
||||||
b
|
b
|
||||||
);
|
);
|
||||||
@ -1331,7 +1331,7 @@ class NodeFS extends BasePortableFakeFS {
|
|||||||
watchFile(p, a, b) {
|
watchFile(p, a, b) {
|
||||||
return this.realFs.watchFile(
|
return this.realFs.watchFile(
|
||||||
npath.fromPortablePath(p),
|
npath.fromPortablePath(p),
|
||||||
// @ts-expect-error
|
// @ts-expect-error - reason TBS
|
||||||
a,
|
a,
|
||||||
b
|
b
|
||||||
);
|
);
|
||||||
|
16
yarn.lock
16
yarn.lock
@ -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.14.0
|
||||||
resolution: "@types/node@npm:22.13.10"
|
resolution: "@types/node@npm:22.14.0"
|
||||||
dependencies:
|
dependencies:
|
||||||
undici-types: "npm:~6.20.0"
|
undici-types: "npm:~6.21.0"
|
||||||
checksum: 10c0/a3865f9503d6f718002374f7b87efaadfae62faa499c1a33b12c527cfb9fd86f733e1a1b026b80c5a0e4a965701174bc3305595a7d36078aa1abcf09daa5dee9
|
checksum: 10c0/9d79f3fa1af9c2c869514f419c4a4905b34c10e12915582fd1784868ac4e74c6d306cf5eb47ef889b6750ab85a31be96618227b86739c4a3e0b1c15063f384c6
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@ -3812,10 +3812,10 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"undici-types@npm:~6.20.0":
|
"undici-types@npm:~6.21.0":
|
||||||
version: 6.20.0
|
version: 6.21.0
|
||||||
resolution: "undici-types@npm:6.20.0"
|
resolution: "undici-types@npm:6.21.0"
|
||||||
checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf
|
checksum: 10c0/c01ed51829b10aa72fc3ce64b747f8e74ae9b60eafa19a7b46ef624403508a54c526ffab06a14a26b3120d055e1104d7abe7c9017e83ced038ea5cf52f8d5e04
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user