Skip to content

Commit 995171d

Browse files
committed
✨ tweak: update node version and dependencies
1 parent 1360e34 commit 995171d

File tree

3 files changed

+16
-17
lines changed

3 files changed

+16
-17
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515

1616
# syntax=docker/dockerfile:1
1717

18-
# Use latest Node.js LTS Alpine with security patches
19-
ARG NODE_VERSION=20.18.1
18+
# Use latest Node.js 22 LTS Alpine with security patches
19+
ARG NODE_VERSION=22-alpine3.21
2020

2121
# =============================================================================
2222
# STAGE 1: Base Image
2323
# =============================================================================
24-
# Alpine Linux base for minimal image size with security updates
25-
FROM node:${NODE_VERSION}-alpine AS base
24+
# Alpine Linux 3.21 base for minimal image size with latest security updates
25+
FROM node:${NODE_VERSION} AS base
2626

2727
# Install security updates for Alpine packages
2828
RUN apk update && apk upgrade && \

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"main": "dist/index.js",
1515
"type": "module",
1616
"private": true,
17-
"packageManager": "[email protected]",
18-
"engines": {
17+
"packageManager": "[email protected]", "engines": {
1918
"node": ">=20.0.0",
2019
"yarn": ">=1.22.22"
2120
},
@@ -47,9 +46,9 @@
4746
"concurrently": "9.2.0",
4847
"nodemon": "^3.1.10",
4948
"typescript": "5.8.3"
50-
},
51-
"resolutions": {
52-
"cross-spawn": "^7.0.6",
53-
"brace-expansion": "^2.0.1"
49+
}, "resolutions": {
50+
"cross-spawn": "7.0.6",
51+
"brace-expansion": "2.0.2",
52+
"minimatch": "^9.0.0"
5453
}
5554
}

yarn.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ binary-extensions@^2.0.0:
9292
resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.3.0.tgz#f6e14a97858d327252200242d4ccfe522c445522"
9393
integrity sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==
9494

95-
brace-expansion@^1.1.7, brace-expansion@^2.0.1:
95+
brace-expansion@2.0.2, brace-expansion@^2.0.1:
9696
version "2.0.2"
9797
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.2.tgz#54fc53237a613d854c7bd37463aad17df87214e7"
9898
integrity sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==
@@ -186,7 +186,7 @@ [email protected]:
186186
tree-kill "^1.2.2"
187187
yargs "^17.7.2"
188188

189-
cross-spawn@^7.0.6:
189+
190190
version "7.0.6"
191191
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f"
192192
integrity sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==
@@ -340,12 +340,12 @@ min-document@^2.19.0:
340340
dependencies:
341341
dom-walk "^0.1.0"
342342

343-
minimatch@^3.1.2:
344-
version "3.1.2"
345-
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b"
346-
integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==
343+
minimatch@^3.1.2, minimatch@^9.0.0:
344+
version "9.0.5"
345+
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.5.tgz#d74f9dd6b57d83d8e98cfb82133b03978bc929e5"
346+
integrity sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==
347347
dependencies:
348-
brace-expansion "^1.1.7"
348+
brace-expansion "^2.0.1"
349349

350350
mri@^1.2.0:
351351
version "1.2.0"

0 commit comments

Comments
 (0)