1
0

feat: Try this
All checks were successful
Remote Deploy / deploy (push) Successful in 6s

This commit is contained in:
2025-08-07 11:00:42 +02:00
parent 15c5a6b563
commit cdc4715453
3 changed files with 27 additions and 6 deletions

30
package-lock.json generated
View File

@@ -17,6 +17,7 @@
"node-cron": "^4.2.1", "node-cron": "^4.2.1",
"openai": "^5.0.2", "openai": "^5.0.2",
"puppeteer": "^24.10.0", "puppeteer": "^24.10.0",
"undici": "^5.28.4",
"xlsx": "^0.18.5" "xlsx": "^0.18.5"
} }
}, },
@@ -43,6 +44,15 @@
"node": ">=6.9.0" "node": ">=6.9.0"
} }
}, },
"node_modules/@fastify/busboy": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz",
"integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==",
"license": "MIT",
"engines": {
"node": ">=14"
}
},
"node_modules/@puppeteer/browsers": { "node_modules/@puppeteer/browsers": {
"version": "2.10.5", "version": "2.10.5",
"resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.5.tgz", "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.10.5.tgz",
@@ -453,6 +463,15 @@
"url": "https://github.com/sponsors/fb55" "url": "https://github.com/sponsors/fb55"
} }
}, },
"node_modules/cheerio/node_modules/undici": {
"version": "7.13.0",
"resolved": "https://registry.npmjs.org/undici/-/undici-7.13.0.tgz",
"integrity": "sha512-l+zSMssRqrzDcb3fjMkjjLGmuiiK2pMIcV++mJaAc9vhjSGpvM7h43QgP+OAMb1GImHmbPyG2tBXeuyG5iY4gA==",
"license": "MIT",
"engines": {
"node": ">=20.18.1"
}
},
"node_modules/chromium-bidi": { "node_modules/chromium-bidi": {
"version": "5.1.0", "version": "5.1.0",
"resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-5.1.0.tgz", "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-5.1.0.tgz",
@@ -2438,12 +2457,15 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/undici": { "node_modules/undici": {
"version": "7.13.0", "version": "5.28.4",
"resolved": "https://registry.npmjs.org/undici/-/undici-7.13.0.tgz", "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.4.tgz",
"integrity": "sha512-l+zSMssRqrzDcb3fjMkjjLGmuiiK2pMIcV++mJaAc9vhjSGpvM7h43QgP+OAMb1GImHmbPyG2tBXeuyG5iY4gA==", "integrity": "sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g==",
"license": "MIT", "license": "MIT",
"dependencies": {
"@fastify/busboy": "^2.0.0"
},
"engines": { "engines": {
"node": ">=20.18.1" "node": ">=14.0"
} }
}, },
"node_modules/undici-types": { "node_modules/undici-types": {

View File

@@ -19,6 +19,7 @@
"node-cron": "^4.2.1", "node-cron": "^4.2.1",
"openai": "^5.0.2", "openai": "^5.0.2",
"puppeteer": "^24.10.0", "puppeteer": "^24.10.0",
"undici": "^5.28.4",
"xlsx": "^0.18.5" "xlsx": "^0.18.5"
} }
} }

View File

@@ -3,8 +3,6 @@ const path = require("path");
const app = express(); const app = express();
const fs = require("fs/promises"); const fs = require("fs/promises");
const cheerio = require("cheerio"); const cheerio = require("cheerio");
const { File } = require('fetch-blob');
global.File = File;
const PORT = process.env.PORT || 3000; const PORT = process.env.PORT || 3000;