fix(deps): update dependency @types/node to v22.14.0 (#92)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | dependencies | minor | [`22.13.10` -> `22.14.0`](https://renovatebot.com/diffs/npm/@types%2fnode/22.13.10/22.14.0) | --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODguMyIsInVwZGF0ZWRJblZlciI6IjM5LjE4OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: #92 Co-authored-by: renovate-bot <renovate-bot@dubas.dev> Co-committed-by: renovate-bot <renovate-bot@dubas.dev>
This commit is contained in:
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
|
||||
);
|
||||
|
Reference in New Issue
Block a user