Skip to content
This repository was archived by the owner on Dec 31, 2025. It is now read-only.

Commit 7d9e9fb

Browse files
authored
nodejs22 update (#1256)
* nodejs22 update * update pnpm github actions * eslint fix
1 parent 87816c3 commit 7d9e9fb

152 files changed

Lines changed: 7230 additions & 5489 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
${{ runner.OS }}-
3030
- name: Install Node.js modules
3131
run: |
32-
npm install -g pnpm@8.9.0
32+
npm install -g pnpm@10.4.1
3333
pnpm recursive install --frozen-lockfile
3434
- name: Build all workspaces
3535
run: |

.github/workflows/lint-prettier.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
${{ runner.OS }}-
2929
- name: Install Node.js modules
3030
run: |
31-
npm install -g pnpm@8.9.0
31+
npm install -g pnpm@10.4.1
3232
pnpm install --frozen-lockfile
3333
- name: Analyze TypeScript files
3434
run: |
@@ -53,7 +53,7 @@ jobs:
5353
${{ runner.OS }}-
5454
- name: Install Node.js modules
5555
run: |
56-
npm install -g pnpm@8.9.0
56+
npm install -g pnpm@10.4.1
5757
pnpm install --frozen-lockfile
5858
- name: Analyze TypeScript files
5959
run: |

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
node-version: 18
4545
- name: Install pnpm
4646
run: |
47-
npm install -g pnpm@8.9.0
47+
npm install -g pnpm@10.4.1
4848
- name: Generate Changelog
4949
id: changelog
5050
env:
@@ -160,7 +160,7 @@ jobs:
160160
node-version: 18
161161
- name: Install pnpm
162162
run: |
163-
npm install -g pnpm@8.9.0
163+
npm install -g pnpm@10.4.1
164164
- name: Build SEA-Config-Schema project
165165
id: build
166166
env:
@@ -200,7 +200,7 @@ jobs:
200200
node-version: 18
201201
- name: Install pnpm
202202
run: |
203-
npm install -g pnpm@8.9.0
203+
npm install -g pnpm@10.4.1
204204
- name: Build SEA-GUI project
205205
id: build
206206
env:

pnpm-lock.yaml

Lines changed: 6779 additions & 5181 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference-artifacts/Add-ons/opensiem/lambdas/common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"main": "dist/index.js",
66
"scripts": {
7-
"build": "npx esbuild --minify --bundle --platform=node --target=node18 --outfile=./dist/index.js src/index.ts",
7+
"build": "npx esbuild --minify --bundle --platform=node --target=node22 --outfile=./dist/index.js src/index.ts",
88
"watch": "tsc -w",
99
"test": "jest",
1010
"cdk": "cdk"

reference-artifacts/Add-ons/opensiem/lambdas/siem-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"main": "dist/index.js",
66
"scripts": {
7-
"build": "npx esbuild --minify --bundle --platform=node --target=node18 --outfile=./dist/index.js src/index.ts",
7+
"build": "npx esbuild --minify --bundle --platform=node --target=node22 --outfile=./dist/index.js src/index.ts",
88
"watch": "tsc -w",
99
"test": "jest",
1010
"cdk": "cdk"

reference-artifacts/Add-ons/opensiem/lambdas/siem-geoip/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"main": "dist/index.js",
66
"scripts": {
7-
"build": "npx esbuild --minify --bundle --platform=node --target=node18 --outfile=./dist/index.js src/index.ts",
7+
"build": "npx esbuild --minify --bundle --platform=node --target=node22 --outfile=./dist/index.js src/index.ts",
88
"watch": "tsc -w",
99
"test": "jest",
1010
"cdk": "cdk"

reference-artifacts/Add-ons/opensiem/lib/opensearch-siem-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ export class OpenSearchSiemStack extends Stack {
398398
);
399399

400400
const geoIpDownloader = new lambda.Function(scope, 'GeoIpDownloaderLambda', {
401-
runtime: lambda.Runtime.NODEJS_18_X,
401+
runtime: lambda.Runtime.NODEJS_LATEST,
402402
role: lambdaRole,
403403
code: lambda.Code.fromAsset('lambdas/siem-geoip/dist'),
404404
handler: 'index.geoIpDownloader',

reference-artifacts/Add-ons/opensiem/lib/siem-configure.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class OpenSearchSiemConfigure extends Construct {
8787
});
8888

8989
return new lambda.Function(stack, `ConfigureLambda`, {
90-
runtime: lambda.Runtime.NODEJS_18_X,
90+
runtime: lambda.Runtime.NODEJS_LATEST,
9191
code: lambda.Code.fromAsset('lambdas/siem-config/dist'),
9292
role: lambdaRole,
9393
handler: 'index.handler',

reference-artifacts/Add-ons/opensiem/lib/siem-geoip-download.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class OpenSearchSiemGeoIpInit extends Construct {
6969
);
7070

7171
return new lambda.Function(stack, `GeoIpInitLambda`, {
72-
runtime: lambda.Runtime.NODEJS_18_X,
72+
runtime: lambda.Runtime.NODEJS_LATEST,
7373
code: lambda.Code.fromAsset('lambdas/siem-geoip/dist'),
7474
role,
7575
handler: 'index.geoIpInit',

0 commit comments

Comments
 (0)