1 Commits

Author SHA1 Message Date
ec9a66fa92 fix(deps): update dependency @types/node to v22.7.3
All checks were successful
continuous-integration/drone/pr Build is passing
2024-09-26 17:10:17 +00:00
11 changed files with 3084 additions and 4720 deletions

View File

@@ -27,9 +27,9 @@ steps:
restore: true restore: true
- name: test - name: test
image: 'node:22.17.1-slim' image: 'node:22.8.0-slim'
commands: commands:
- yarn set version 4.6.0 - yarn set version 4.4.1
- yarn install - yarn install
- yarn run jest - yarn run jest

3581
.pnp.cjs generated

File diff suppressed because it is too large Load Diff

26
.pnp.loader.mjs generated
View File

@@ -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 { } catch (e) {
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 { } catch (error) {
} }
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 { } catch (error) {
} }
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 { } catch (error) {
} }
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 { } catch (error) {
} }
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 { } catch (error) {
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 { } catch (error) {
return false; return false;
} }
}; };
@@ -579,7 +579,7 @@ class FakeFS {
try { try {
await this.unlinkPromise(lockPath); await this.unlinkPromise(lockPath);
continue; continue;
} catch { } catch (error2) {
} }
} }
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 { } catch (error) {
} }
} }
} }
@@ -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 - reason TBS // @ts-expect-error
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 - reason TBS // @ts-expect-error
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 - reason TBS // @ts-expect-error
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 - reason TBS // @ts-expect-error
a, a,
b b
); );

View File

@@ -1,2 +1,2 @@
nodejs 22.18.0 nodejs 22.8.0
yarn 1.22.22 yarn 1.22.22

925
.yarn/releases/yarn-4.4.1.cjs vendored Executable file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -3,4 +3,4 @@ plugins:
path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
spec: "https://go.mskelton.dev/yarn-outdated/v4" spec: "https://go.mskelton.dev/yarn-outdated/v4"
yarnPath: .yarn/releases/yarn-4.9.2.cjs yarnPath: .yarn/releases/yarn-4.4.1.cjs

View File

@@ -1,10 +1,10 @@
FROM node:22.17.1-slim FROM node:22.8.0-slim
WORKDIR /opt/app WORKDIR /opt/app
RUN apt-get update \ RUN apt-get update \
&& apt-get -y install make \ && apt-get -y install make \
&& yarn set version 4.6.0 && yarn set version 4.4.0
COPY ./Makefile ./ COPY ./Makefile ./
COPY ./package.json ./ COPY ./package.json ./

View File

@@ -6,7 +6,7 @@ asdf_install:
.PHONY: yarn_setup .PHONY: yarn_setup
yarn_setup: yarn_setup:
@yarn set version 4.6.0 @yarn set version 4.4.1
@yarn init -2 @yarn init -2
@yarn add typescript jest @types/jest ts-node ts-jest @yarn add typescript jest @types/jest ts-node ts-jest

View File

@@ -1,12 +1,12 @@
{ {
"name": "clean-architecture", "name": "clean-architecture",
"packageManager": "yarn@4.9.2", "packageManager": "yarn@4.4.1",
"dependencies": { "dependencies": {
"@types/jest": "^30.0.0", "@types/jest": "^29.5.4",
"@types/node": "^22.7.5", "@types/node": "^22.4.0",
"jest": "^30.0.0", "jest": "^29.6.4",
"ts-jest": "^29.2.5", "ts-jest": "^29.1.1",
"ts-node": "^10.9.2", "ts-node": "^10.9.1",
"typescript": "^5.6.2" "typescript": "^5.5.4"
} }
} }

2302
yarn.lock

File diff suppressed because it is too large Load Diff