Open popenc opened 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.
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").
Removed query-string from package.json dependencies as it's not being used anymore.
Scanning all CTS images and resolving vulnerabilities.