jbilcke-hf HF staff commited on
Commit
3da1201
β€’
1 Parent(s): 0fb0f13

upgrade to Node 20

Browse files
Files changed (3) hide show
  1. .nvmrc +1 -1
  2. Dockerfile +2 -2
  3. package-lock.json +18 -18
.nvmrc CHANGED
@@ -1 +1 @@
1
- v18.16.0
 
1
+ v20.9.0
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:18-alpine AS base
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.2",
167
- "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.2.tgz",
168
- "integrity": "sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g==",
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.30001559",
2533
- "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001559.tgz",
2534
- "integrity": "sha512-cPiMKZgqgkg5LY3/ntGeLFUpi6tzddBNS58A4tnTgQw1zON7u2sZMU7SzOeVH4tj20++9ggL+V6FDOFMTaFFYA==",
2535
  "funding": [
2536
  {
2537
  "type": "opencollective",
@@ -3303,9 +3303,9 @@
3303
  }
3304
  },
3305
  "node_modules/electron-to-chromium": {
3306
- "version": "1.4.574",
3307
- "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.574.tgz",
3308
- "integrity": "sha512-bg1m8L0n02xRzx4LsTTMbBPiUd9yIR+74iPtS/Ao65CuXvhVZHP0ym1kSdDG3yHFDXqHQQBKujlN1AQ8qZnyFg=="
3309
  },
3310
  "node_modules/emoji-regex": {
3311
  "version": "10.3.0",
@@ -5491,9 +5491,9 @@
5491
  }
5492
  },
5493
  "node_modules/openai": {
5494
- "version": "4.14.2",
5495
- "resolved": "https://registry.npmjs.org/openai/-/openai-4.14.2.tgz",
5496
- "integrity": "sha512-JGlm7mMC7J+cyQZnQMOH7daD9cBqqWqLtlBsejElEkgoehPrYfdyxSxIGICz5xk4YimbwI5FlLATSVojLtCKXQ==",
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.3",
7443
- "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.3.3.tgz",
7444
- "integrity": "sha512-zw0VAJxgeZ6+++/su5AFoqBbZbrEakwu+X0M5HmcwUiBL7AzcuPKjj5we4xfQLp78LkEMpD0cOnUhmgOVy3KdQ==",
7445
  "engines": {
7446
  "node": ">= 14"
7447
  }
@@ -7474,9 +7474,9 @@
7474
  }
7475
  },
7476
  "node_modules/zustand": {
7477
- "version": "4.4.5",
7478
- "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.4.5.tgz",
7479
- "integrity": "sha512-jgIrBBLKncQW74PA2Lclct3gwD4aPughwGE4FqlXrv3rDqQox7JCn8rwUiFK6ygJcbBAvfTf8fF+ICg7HLD2FQ==",
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
  },