quanted / cts_app

cts repo
4 stars 3 forks source link

Run Prisma image scans #276

Open popenc opened 3 hours ago

popenc commented 3 hours ago

Scanning all CTS images and resolving vulnerabilities.

popenc commented 3 hours ago

All highs and criticals now resolved for all images except jchemws, operaws, biotransformer, and epi-api. Now testing everything at runtime after the patches.

popenc commented 25 minutes ago

cts_nodejs runtime error after package updates:

cts_nodejs-1  | Error [ERR_REQUIRE_ESM]: require() of ES Module /src/node_modules/query-string/index.js from /src/node_server.js not supported.
cts_nodejs-1  | Instead change the require of index.js in /src/node_server.js to a dynamic import() which is available in all CommonJS modules.
cts_nodejs-1  |     at TracingChannel.traceSync (node:diagnostics_channel:315:14)
cts_nodejs-1  |     at Object.<anonymous> (/src/node_server.js:10:19) {
cts_nodejs-1  |   code: 'ERR_REQUIRE_ESM'
cts_nodejs-1  | }

Looks like package import for query-string requires ESM imports (i.e., not "require").

popenc commented 1 minute ago

Removed query-string from package.json dependencies as it's not being used anymore.