Spaces:
Sleeping
Sleeping
Commit
•
3da1201
1
Parent(s):
0fb0f13
upgrade to Node 20
Browse files- .nvmrc +1 -1
- Dockerfile +2 -2
- package-lock.json +18 -18
.nvmrc
CHANGED
@@ -1 +1 @@
|
|
1 |
-
|
|
|
1 |
+
v20.9.0
|
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM node:
|
2 |
|
3 |
# Install dependencies only when needed
|
4 |
FROM base AS deps
|
@@ -62,4 +62,4 @@ EXPOSE 3000
|
|
62 |
|
63 |
ENV PORT 3000
|
64 |
|
65 |
-
CMD ["node", "server.js"]
|
|
|
1 |
+
FROM node:20-alpine AS base
|
2 |
|
3 |
# Install dependencies only when needed
|
4 |
FROM base AS deps
|
|
|
62 |
|
63 |
ENV PORT 3000
|
64 |
|
65 |
+
CMD ["node", "server.js"]
|
package-lock.json
CHANGED
@@ -163,9 +163,9 @@
|
|
163 |
}
|
164 |
},
|
165 |
"node_modules/@eslint/eslintrc": {
|
166 |
-
"version": "2.1.
|
167 |
-
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.
|
168 |
-
"integrity": "sha512
|
169 |
"dependencies": {
|
170 |
"ajv": "^6.12.4",
|
171 |
"debug": "^4.3.2",
|
@@ -2529,9 +2529,9 @@
|
|
2529 |
}
|
2530 |
},
|
2531 |
"node_modules/caniuse-lite": {
|
2532 |
-
"version": "1.0.
|
2533 |
-
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.
|
2534 |
-
"integrity": "sha512-
|
2535 |
"funding": [
|
2536 |
{
|
2537 |
"type": "opencollective",
|
@@ -3303,9 +3303,9 @@
|
|
3303 |
}
|
3304 |
},
|
3305 |
"node_modules/electron-to-chromium": {
|
3306 |
-
"version": "1.4.
|
3307 |
-
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.
|
3308 |
-
"integrity": "sha512-
|
3309 |
},
|
3310 |
"node_modules/emoji-regex": {
|
3311 |
"version": "10.3.0",
|
@@ -5491,9 +5491,9 @@
|
|
5491 |
}
|
5492 |
},
|
5493 |
"node_modules/openai": {
|
5494 |
-
"version": "4.
|
5495 |
-
"resolved": "https://registry.npmjs.org/openai/-/openai-4.
|
5496 |
-
"integrity": "sha512-
|
5497 |
"dependencies": {
|
5498 |
"@types/node": "^18.11.18",
|
5499 |
"@types/node-fetch": "^2.6.4",
|
@@ -7439,9 +7439,9 @@
|
|
7439 |
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
|
7440 |
},
|
7441 |
"node_modules/yaml": {
|
7442 |
-
"version": "2.3.
|
7443 |
-
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.
|
7444 |
-
"integrity": "sha512-
|
7445 |
"engines": {
|
7446 |
"node": ">= 14"
|
7447 |
}
|
@@ -7474,9 +7474,9 @@
|
|
7474 |
}
|
7475 |
},
|
7476 |
"node_modules/zustand": {
|
7477 |
-
"version": "4.4.
|
7478 |
-
"resolved": "https://registry.npmjs.org/zustand/-/zustand-4.4.
|
7479 |
-
"integrity": "sha512-
|
7480 |
"dependencies": {
|
7481 |
"use-sync-external-store": "1.2.0"
|
7482 |
},
|
|
|
163 |
}
|
164 |
},
|
165 |
"node_modules/@eslint/eslintrc": {
|
166 |
+
"version": "2.1.3",
|
167 |
+
"resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.3.tgz",
|
168 |
+
"integrity": "sha512-yZzuIG+jnVu6hNSzFEN07e8BxF3uAzYtQb6uDkaYZLo6oYZDCq454c5kB8zxnzfCYyP4MIuyBn10L0DqwujTmA==",
|
169 |
"dependencies": {
|
170 |
"ajv": "^6.12.4",
|
171 |
"debug": "^4.3.2",
|
|
|
2529 |
}
|
2530 |
},
|
2531 |
"node_modules/caniuse-lite": {
|
2532 |
+
"version": "1.0.30001561",
|
2533 |
+
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001561.tgz",
|
2534 |
+
"integrity": "sha512-NTt0DNoKe958Q0BE0j0c1V9jbUzhBxHIEJy7asmGrpE0yG63KTV7PLHPnK2E1O9RsQrQ081I3NLuXGS6zht3cw==",
|
2535 |
"funding": [
|
2536 |
{
|
2537 |
"type": "opencollective",
|
|
|
3303 |
}
|
3304 |
},
|
3305 |
"node_modules/electron-to-chromium": {
|
3306 |
+
"version": "1.4.576",
|
3307 |
+
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.576.tgz",
|
3308 |
+
"integrity": "sha512-yXsZyXJfAqzWk1WKryr0Wl0MN2D47xodPvEEwlVePBnhU5E7raevLQR+E6b9JAD3GfL/7MbAL9ZtWQQPcLx7wA=="
|
3309 |
},
|
3310 |
"node_modules/emoji-regex": {
|
3311 |
"version": "10.3.0",
|
|
|
5491 |
}
|
5492 |
},
|
5493 |
"node_modules/openai": {
|
5494 |
+
"version": "4.15.3",
|
5495 |
+
"resolved": "https://registry.npmjs.org/openai/-/openai-4.15.3.tgz",
|
5496 |
+
"integrity": "sha512-j2XSxxiOhF7lCiHUXmuDOGOgtKa36ia9pOQ2m9YCOMA2Ee4QTI+MzdHRoHlp6ewOsvW5NXkoT+xustSZljiGnA==",
|
5497 |
"dependencies": {
|
5498 |
"@types/node": "^18.11.18",
|
5499 |
"@types/node-fetch": "^2.6.4",
|
|
|
7439 |
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A=="
|
7440 |
},
|
7441 |
"node_modules/yaml": {
|
7442 |
+
"version": "2.3.4",
|
7443 |
+
"resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.4.tgz",
|
7444 |
+
"integrity": "sha512-8aAvwVUSHpfEqTQ4w/KMlf3HcRdt50E5ODIQJBw1fQ5RL34xabzxtUlzTXVqc4rkZsPbvrXKWnABCD7kWSmocA==",
|
7445 |
"engines": {
|
7446 |
"node": ">= 14"
|
7447 |
}
|
|
|
7474 |
}
|
7475 |
},
|
7476 |
"node_modules/zustand": {
|
7477 |
+
"version": "4.4.6",
|
7478 |
+
"resolved": "https://registry.npmjs.org/zustand/-/zustand-4.4.6.tgz",
|
7479 |
+
"integrity": "sha512-Rb16eW55gqL4W2XZpJh0fnrATxYEG3Apl2gfHTyDSE965x/zxslTikpNch0JgNjJA9zK6gEFW8Fl6d1rTZaqgg==",
|
7480 |
"dependencies": {
|
7481 |
"use-sync-external-store": "1.2.0"
|
7482 |
},
|