diff --git a/alerting/temporal/.nvmrc b/alerting/temporal/.nvmrc new file mode 100644 index 000000000000..62d44807d084 --- /dev/null +++ b/alerting/temporal/.nvmrc @@ -0,0 +1 @@ +20.13.0 diff --git a/alerting/temporal/Dockerfile b/alerting/temporal/Dockerfile index 7c6853c98f8b..ba3bbee57cda 100644 --- a/alerting/temporal/Dockerfile +++ b/alerting/temporal/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1 -FROM node:18-alpine +FROM node:20-alpine WORKDIR /src COPY . . RUN npm install -CMD ["npm", "run", "start"] \ No newline at end of file +CMD ["npm", "run", "start"] diff --git a/alerting/temporal/package-lock.json b/alerting/temporal/package-lock.json index 227dbee119d4..45a8ab4f646c 100644 --- a/alerting/temporal/package-lock.json +++ b/alerting/temporal/package-lock.json @@ -14,9 +14,9 @@ "zod": "^3.22.4" }, "devDependencies": { - "@tsconfig/node16": "^16.1.1", - "@types/node": "^20.8.2", - "ts-node": "^10.9.1" + "@tsconfig/node20": "^20.1.4", + "@types/node": "^20.12.12", + "ts-node": "^10.9.2" } }, "node_modules/@cspotcode/source-map-support": { @@ -255,10 +255,10 @@ "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", "dev": true }, - "node_modules/@tsconfig/node16": { - "version": "16.1.1", - "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-16.1.1.tgz", - "integrity": "sha512-+pio93ejHN4nINX4pXqfnR/fPLRtJBaT4ORaa5RH0Oc1zoYmo2B2koG+M328CQhHKn1Wj6FcOxCDFXAot9NhvA==", + "node_modules/@tsconfig/node20": { + "version": "20.1.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node20/-/node20-20.1.4.tgz", + "integrity": "sha512-sqgsT69YFeLWf5NtJ4Xq/xAF8p4ZQHlmGW74Nu2tD4+g5fAsposc4ZfaaPixVu4y01BEiDCWLRDCvDM5JOsRxg==", "dev": true }, "node_modules/@types/buffer-from": { @@ -270,9 +270,12 @@ } }, "node_modules/@types/node": { - "version": "20.8.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.2.tgz", - "integrity": "sha512-Vvycsc9FQdwhxE3y3DzeIxuEJbWGDsnrxvMADzTDF/lcdR9/K+AQIeAghTQsHtotg/q0j3WEOYS/jQgSdWue3w==" + "version": "20.12.12", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz", + "integrity": "sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/pako": { "version": "1.0.5", @@ -832,9 +835,9 @@ "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "node_modules/ts-node": { - "version": "10.9.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", - "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", + "version": "10.9.2", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.2.tgz", + "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==", "dev": true, "dependencies": { "@cspotcode/source-map-support": "^0.8.0", @@ -894,6 +897,11 @@ "node": ">=14.17" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/url-parse": { "version": "1.5.10", "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.10.tgz", diff --git a/alerting/temporal/package.json b/alerting/temporal/package.json index 3d6fb0cd6661..744f4bed472c 100644 --- a/alerting/temporal/package.json +++ b/alerting/temporal/package.json @@ -6,9 +6,9 @@ "start": "ts-node src/index.ts" }, "devDependencies": { - "@tsconfig/node16": "^16.1.1", - "@types/node": "^20.8.2", - "ts-node": "^10.9.1" + "@tsconfig/node20": "^20.1.4", + "@types/node": "^20.12.12", + "ts-node": "^10.9.2" }, "dependencies": { "@datadog/datadog-api-client": "^1.17.0",