From 4acf85077aec165ae85f4f08824e00fbee5921c2 Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Fri, 6 Nov 2026 09:03:53 +1100 Subject: [PATCH 1/3] Require verified email through shared JWT verifier --- package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 9afe0c1..b64e3f5 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "reflect-metadata": "^0.2.2", "rxjs": "^7.8.1", "swagger-ui-express": "^5.0.1", - "tc-core-library-js": "github:topcoder-platform/tc-core-library-js#v4.0.0-rc.2", + "tc-core-library-js": "https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4", "uuid": "^14.0.1", "winston": "^3.18.3", "xss": "^1.0.15", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8da9ac8..bc664da 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -149,8 +149,8 @@ importers: specifier: ^5.0.1 version: 5.0.1(express@5.2.1(supports-color@5.5.0)) tc-core-library-js: - specifier: github:topcoder-platform/tc-core-library-js#v4.0.0-rc.2 - version: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/58de37670180e183e8378c3d203df0112a0414f6(supports-color@5.5.0) + specifier: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4 + version: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4(supports-color@5.5.0) uuid: specifier: ^14.0.1 version: 14.0.1 @@ -3975,9 +3975,9 @@ packages: resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} engines: {node: '>=6'} - tc-core-library-js@https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/58de37670180e183e8378c3d203df0112a0414f6: - resolution: {gitHosted: true, tarball: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/58de37670180e183e8378c3d203df0112a0414f6} - version: 4.0.0-rc.2 + tc-core-library-js@https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4: + resolution: {gitHosted: true, integrity: sha512-4xzx6ycEdy8Rs5BpIOUhg/YX0cUUQpOCtTM60vcb9JF4XvqI1fLfIDmHNvZNek49dBo1Il1Lp8O/HLhKfLhhVg==, tarball: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4} + version: 4.0.0-rc.4 engines: {node: '>=22.13'} terser-webpack-plugin@5.6.1: @@ -7473,7 +7473,7 @@ snapshots: prisma: 7.10.1(@types/node@26.1.1)(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(typescript@5.9.3) reflect-metadata: 0.2.2 rxjs: 7.8.2 - tc-core-library-js: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/58de37670180e183e8378c3d203df0112a0414f6(supports-color@5.5.0) + tc-core-library-js: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4(supports-color@5.5.0) transitivePeerDependencies: - '@fastify/static' - '@nestjs/microservices' @@ -8861,7 +8861,7 @@ snapshots: tapable@2.3.3: {} - tc-core-library-js@https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/58de37670180e183e8378c3d203df0112a0414f6(supports-color@5.5.0): + tc-core-library-js@https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4(supports-color@5.5.0): dependencies: '@types/jsonwebtoken': 9.0.10 jsonwebtoken: 9.0.3 From e0b6a493f961717f696751cc850ccd76b37101db Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Fri, 6 Nov 2026 09:21:54 +1100 Subject: [PATCH 2/3] Use compatible v4 verification backport and verified JWT fixtures --- package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- test/testHelper.js | 2 ++ test/unit/jwt-configuration.test.ts | 8 ++++---- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index b64e3f5..24eac04 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "reflect-metadata": "^0.2.2", "rxjs": "^7.8.1", "swagger-ui-express": "^5.0.1", - "tc-core-library-js": "https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4", + "tc-core-library-js": "https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/c2df92b2227089909ab6e229df0ec6b658bb431a", "uuid": "^14.0.1", "winston": "^3.18.3", "xss": "^1.0.15", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc664da..4d9de5d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -149,8 +149,8 @@ importers: specifier: ^5.0.1 version: 5.0.1(express@5.2.1(supports-color@5.5.0)) tc-core-library-js: - specifier: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4 - version: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4(supports-color@5.5.0) + specifier: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/c2df92b2227089909ab6e229df0ec6b658bb431a + version: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/c2df92b2227089909ab6e229df0ec6b658bb431a(supports-color@5.5.0) uuid: specifier: ^14.0.1 version: 14.0.1 @@ -3975,9 +3975,9 @@ packages: resolution: {integrity: sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A==} engines: {node: '>=6'} - tc-core-library-js@https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4: - resolution: {gitHosted: true, integrity: sha512-4xzx6ycEdy8Rs5BpIOUhg/YX0cUUQpOCtTM60vcb9JF4XvqI1fLfIDmHNvZNek49dBo1Il1Lp8O/HLhKfLhhVg==, tarball: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4} - version: 4.0.0-rc.4 + tc-core-library-js@https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/c2df92b2227089909ab6e229df0ec6b658bb431a: + resolution: {gitHosted: true, integrity: sha512-n+4KUOeV4LEIsTI/R216dBc6bUkbSyO/2O0LpoY3Hk7eqKsRQFUHloB3y0hfK/v1rzf8qYQxTdv8ikeRGBn4pQ==, tarball: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/c2df92b2227089909ab6e229df0ec6b658bb431a} + version: 4.0.0-rc.2.1 engines: {node: '>=22.13'} terser-webpack-plugin@5.6.1: @@ -7473,7 +7473,7 @@ snapshots: prisma: 7.10.1(@types/node@26.1.1)(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(typescript@5.9.3) reflect-metadata: 0.2.2 rxjs: 7.8.2 - tc-core-library-js: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4(supports-color@5.5.0) + tc-core-library-js: https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/c2df92b2227089909ab6e229df0ec6b658bb431a(supports-color@5.5.0) transitivePeerDependencies: - '@fastify/static' - '@nestjs/microservices' @@ -8861,7 +8861,7 @@ snapshots: tapable@2.3.3: {} - tc-core-library-js@https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/2067e74f73d7fe3442c96f375fc97f8486f79be4(supports-color@5.5.0): + tc-core-library-js@https://codeload.github.com/topcoder-platform/tc-core-library-js/tar.gz/c2df92b2227089909ab6e229df0ec6b658bb431a(supports-color@5.5.0): dependencies: '@types/jsonwebtoken': 9.0.10 jsonwebtoken: 9.0.3 diff --git a/test/testHelper.js b/test/testHelper.js index cfe77ae..9206dd9 100644 --- a/test/testHelper.js +++ b/test/testHelper.js @@ -270,6 +270,7 @@ async function createData () { }) adminToken = jwt.sign({ + emailVerified: true, roles: [ 'Topcoder User', 'Connect Support', @@ -292,6 +293,7 @@ async function createData () { }, config.get('AUTH_SECRET')) // adminToken = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlcyI6WyJUb3Bjb2RlciBVc2VyIiwiQ29ubmVjdCBTdXBwb3J0IiwiYWRtaW5pc3RyYXRvciIsInRlc3RSb2xlIiwiYWFhIiwidG9ueV90ZXN0XzEiLCJDb25uZWN0IE1hbmFnZXIiLCJDb25uZWN0IEFkbWluIiwiY29waWxvdCIsIkNvbm5lY3QgQ29waWxvdCBNYW5hZ2VyIl0sImlzcyI6Imh0dHBzOi8vYXBpLnRvcGNvZGVyLWRldi5jb20iLCJoYW5kbGUiOiJUb255SiIsImV4cCI6MTc4OTAwODYyMywidXNlcklkIjoiODU0Nzg5OSIsImlhdCI6MTU0OTc5MTYxMSwiZW1haWwiOiJ0amVmdHMrZml4QHRvcGNvZGVyLmNvbSIsImp0aSI6ImY5NGQxZTI2LTNkMGUtNDZjYS04MTE1LTg3NTQ1NDRhMDhmMSJ9.bMzIZ7YlDVhIauGtYTcL4bwW1eyYnOvqZUMb_ZNcX0E' userToken = jwt.sign({ + emailVerified: true, roles: [ 'Topcoder User' ], diff --git a/test/unit/jwt-configuration.test.ts b/test/unit/jwt-configuration.test.ts index 9397550..77aacbb 100644 --- a/test/unit/jwt-configuration.test.ts +++ b/test/unit/jwt-configuration.test.ts @@ -79,7 +79,7 @@ describe('route JWT configuration', () => { }); it('accepts browser RSA tokens using JWT_AUDIENCE', async () => { - const token = jwt.sign({ userId: '42', roles: ['User'] }, privateKey, { algorithm: 'RS256', keyid: 'test-key', issuer, audience: 'browser-client', expiresIn: 300 }); + const token = jwt.sign({ emailVerified: true, userId: '42', roles: ['User'] }, privateKey, { algorithm: 'RS256', keyid: 'test-key', issuer, audience: 'browser-client', expiresIn: 300 }); const result = await verify(token); assert.equal(result.status, 200); assert.equal(result.user.isMachine, false); @@ -93,12 +93,12 @@ describe('route JWT configuration', () => { }); it('retains legacy HS256 human tokens without an audience', async () => { - const token = jwt.sign({ userId: '42', roles: ['User'] }, secret, { issuer, expiresIn: 300 }); + const token = jwt.sign({ emailVerified: true, userId: '42', roles: ['User'] }, secret, { issuer, expiresIn: 300 }); assert.equal((await verify(token)).status, 200); }); it('rejects an untrusted audience', async () => { - const token = jwt.sign({ userId: '42' }, privateKey, { algorithm: 'RS256', keyid: 'test-key', issuer, audience: 'another-api', expiresIn: 300 }); + const token = jwt.sign({ emailVerified: true, userId: '42' }, privateKey, { algorithm: 'RS256', keyid: 'test-key', issuer, audience: 'another-api', expiresIn: 300 }); assert.equal((await verify(token)).status, 401); }); @@ -108,7 +108,7 @@ describe('route JWT configuration', () => { }); it('rejects an invalid signature', async () => { - const token = jwt.sign({ userId: '42' }, 'incorrect-secret-at-least-32-bytes', { issuer, expiresIn: 300 }); + const token = jwt.sign({ emailVerified: true, userId: '42' }, 'incorrect-secret-at-least-32-bytes', { issuer, expiresIn: 300 }); assert.equal((await verify(token)).status, 401); }); }); From 8c423241e4237fe63cb2b2631513653abc38bec7 Mon Sep 17 00:00:00 2001 From: Justin Gasper Date: Sun, 15 Nov 2026 16:36:36 +1100 Subject: [PATCH 3/3] Patch container and Hono vulnerabilities and prevent markup fragment joining --- data-migration/package-lock.json | 14 +++++----- data-migration/package.json | 4 +-- .../descriptionSourcing.js | 8 +++--- ...arathonMatches.descriptionSourcing.test.js | 14 ++++++++++ docker/Dockerfile | 6 ++--- mock-api/Dockerfile | 6 ++--- pnpm-lock.yaml | 27 ++++++++++--------- pnpm-workspace.yaml | 6 +++-- 8 files changed, 52 insertions(+), 33 deletions(-) diff --git a/data-migration/package-lock.json b/data-migration/package-lock.json index 4de3be8..3de550d 100644 --- a/data-migration/package-lock.json +++ b/data-migration/package-lock.json @@ -785,16 +785,16 @@ } }, "node_modules/@hono/node-server": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.3.tgz", - "integrity": "sha512-TA//nWMqPhbfdfneACk6t5a9eqbS9lABEPyKn0/xZTah3H3U2XaVg85rJFl0/Fyit0I552YDHgXGVSf3GwqbUw==", + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.8.tgz", + "integrity": "sha512-jdf7FHh6A1lzjpHHQUgxsg2GeER2vMetnAOfeActzcoli6jamlK+NAwL6Dsr5Fl3BS3tYUQzCdtZjU8Qxv7bEA==", "devOptional": true, "license": "MIT", "engines": { "node": ">=20" }, "peerDependencies": { - "hono": "^4" + "hono": "^4 || ^5.0.0-0" } }, "node_modules/@humanfs/core": { @@ -4014,9 +4014,9 @@ } }, "node_modules/hono": { - "version": "4.13.11", - "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.11.tgz", - "integrity": "sha512-/SMX/RQNJn7oNmFwH6DtwDqcrzZU2otm1FD6OJe2cWF6cfy/F8hq0XVBv7xW3FTJshRQwuBnXHDq2kNsdZnshg==", + "version": "4.13.18", + "resolved": "https://registry.npmjs.org/hono/-/hono-4.13.18.tgz", + "integrity": "sha512-H9q/E1XizaWstJxUW881dmLxEj+t/TrGGnyxINkm4+sK0qUwsMtFdo2BWI9Vs3cIS19MU6b6iCijoUoEf4f3DA==", "devOptional": true, "license": "MIT", "engines": { diff --git a/data-migration/package.json b/data-migration/package.json index 3fff2c8..46c15be 100644 --- a/data-migration/package.json +++ b/data-migration/package.json @@ -39,11 +39,11 @@ "yarn": "1.22.19" }, "overrides": { - "@hono/node-server": "2.1.3", + "@hono/node-server": "2.1.8", "deepmerge-ts": "8.0.0", "effect": "3.22.0", "glob": "14.0.2", - "hono": "4.13.11", + "hono": "4.13.18", "lodash": "4.18.1", "valibot": "1.4.2", "mysql2": "3.23.1", diff --git a/data-migration/src/scripts/importHistoricalMarathonMatches/descriptionSourcing.js b/data-migration/src/scripts/importHistoricalMarathonMatches/descriptionSourcing.js index 68da35d..f9fe432 100644 --- a/data-migration/src/scripts/importHistoricalMarathonMatches/descriptionSourcing.js +++ b/data-migration/src/scripts/importHistoricalMarathonMatches/descriptionSourcing.js @@ -283,19 +283,19 @@ const convertRichTextSectionToMarkdown = (value) => { .replace(/\s*(?:<\/br>)?/gi, "\n") .replace(/<(tt|code|type)\b[^>]*>([\s\S]*?)<\/\1>/gi, (_, __, content) => { const inline = toInlineText(content); - return inline ? `\`${inline}\`` : ""; + return inline ? `\`${inline}\`` : " "; }) .replace(/<(b|strong)\b[^>]*>([\s\S]*?)<\/\1>/gi, (_, __, content) => { const inline = toInlineText(content); - return inline ? `**${inline}**` : ""; + return inline ? `**${inline}**` : " "; }) .replace(/<(i|em)\b[^>]*>([\s\S]*?)<\/\1>/gi, (_, __, content) => { const inline = toInlineText(content); - return inline ? `*${inline}*` : ""; + return inline ? `*${inline}*` : " "; }) .replace(/]*>([\s\S]*?)<\/sup>/gi, (_, content) => { const inline = toInlineText(content); - return inline ? `^${inline}^` : ""; + return inline ? `^${inline}^` : " "; }) .replace(/]*>/gi, "\n- ") .replace(/<\/li>/gi, "\n") diff --git a/data-migration/test/importHistoricalMarathonMatches.descriptionSourcing.test.js b/data-migration/test/importHistoricalMarathonMatches.descriptionSourcing.test.js index 2e59d62..aee8f37 100644 --- a/data-migration/test/importHistoricalMarathonMatches.descriptionSourcing.test.js +++ b/data-migration/test/importHistoricalMarathonMatches.descriptionSourcing.test.js @@ -78,4 +78,18 @@ describe("importHistoricalMarathonMatches description sourcing", () => { source: "legacy-component-text-markdown", }); }); + + test.each(["tt", "code", "type", "b", "strong", "i", "em", "sup"])( + "keeps a separator when an empty %s element interrupts an HTML tag", + (tag) => { + const markdown = convertComponentXmlToMarkdown( + `before <${tag}>iframe src='https://evil.example'>after` + ); + + expect(markdown).toContain("before"); + expect(markdown).toContain("after"); + expect(markdown).toContain("iframe src='https://evil.example'>after"); + expect(markdown).not.toMatch(/=1.4-r0' openssl WORKDIR /challenge-api RUN npm install --global pnpm@${PNPM_VERSION} @@ -41,7 +41,7 @@ FROM alpine:${ALPINE_VERSION} AS runtime COPY --from=node-base /usr/local/bin/node /usr/local/bin/node ARG NODE_VERSION RUN apk upgrade --no-cache \ - && apk add --no-cache ca-certificates libatomic libstdc++ openssl \ + && apk add --no-cache 'zlib>=1.4-r0' ca-certificates libatomic libstdc++ openssl \ && test "$(node --version)" = "v${NODE_VERSION}" \ && addgroup -S app \ && adduser -S -D -u 10001 -G app app diff --git a/mock-api/Dockerfile b/mock-api/Dockerfile index f3cb1c4..ed03921 100644 --- a/mock-api/Dockerfile +++ b/mock-api/Dockerfile @@ -1,4 +1,4 @@ -ARG NODE_VERSION=26.5.1 +ARG NODE_VERSION=26.13.1 ARG ALPINE_VERSION=3.24 ARG PNPM_VERSION=11.15.1 @@ -9,7 +9,7 @@ FROM node-base AS build ARG PNPM_VERSION RUN apk upgrade --no-cache \ - && apk add --no-cache openssl \ + && apk add --no-cache 'zlib>=1.4-r0' openssl \ && npm install --global pnpm@${PNPM_VERSION} WORKDIR /challenge-api @@ -38,7 +38,7 @@ FROM alpine:${ALPINE_VERSION} AS runtime COPY --from=node-base /usr/local/bin/node /usr/local/bin/node ARG NODE_VERSION RUN apk upgrade --no-cache \ - && apk add --no-cache ca-certificates libatomic libstdc++ openssl \ + && apk add --no-cache 'zlib>=1.4-r0' ca-certificates libatomic libstdc++ openssl \ && test "$(node --version)" = "v${NODE_VERSION}" \ && addgroup -S app \ && adduser -S -D -u 10001 -G app app diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8da9ac8..e356a2a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,6 +5,7 @@ settings: excludeLinksFromLockfile: false overrides: + tc-core-library-js: github:topcoder-platform/tc-core-library-js#v4.0.0-rc.2 baseline-browser-mapping: 2.11.0 browserslist: 4.28.8 proxy-addr: 2.0.8 @@ -15,8 +16,8 @@ overrides: joi: 18.3.1 moment: 2.31.0 mysql2: 3.23.1 - hono: 4.13.11 - '@hono/node-server': 2.1.3 + hono: 4.13.18 + '@hono/node-server': 2.1.8 js-yaml@^3: 3.15.2 js-yaml@^4: 4.3.2 js-yaml@^5: 5.4.1 @@ -630,11 +631,11 @@ packages: '@hapi/topo@6.0.2': resolution: {integrity: sha512-KR3rD5inZbGMrHmgPxsJ9dbi6zEK+C3ZwUwTa+eMwWLz7oijWUTWD2pMSNNYJAU6Qq+65NkxXjqHr/7LM2Xkqg==} - '@hono/node-server@2.1.3': - resolution: {integrity: sha512-TA//nWMqPhbfdfneACk6t5a9eqbS9lABEPyKn0/xZTah3H3U2XaVg85rJFl0/Fyit0I552YDHgXGVSf3GwqbUw==} + '@hono/node-server@2.1.8': + resolution: {integrity: sha512-jdf7FHh6A1lzjpHHQUgxsg2GeER2vMetnAOfeActzcoli6jamlK+NAwL6Dsr5Fl3BS3tYUQzCdtZjU8Qxv7bEA==} engines: {node: '>=20'} peerDependencies: - hono: 4.13.11 + hono: 4.13.18 '@humanfs/core@0.19.2': resolution: {integrity: sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==} @@ -1836,6 +1837,7 @@ packages: axios-retry@4.5.0: resolution: {integrity: sha512-aR99oXhpEDGo0UuAlYcn2iGRds30k366Zfa05XWScR9QaQD4JYiP3/1Qt1u7YlefUOK+cn0CcwoL1oefavQUlQ==} + deprecated: axios-retry is no longer maintained. See https://github.com/softonic/axios-retry for alternatives. peerDependencies: axios: 1.20.0 @@ -2776,8 +2778,8 @@ packages: resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==} hasBin: true - hono@4.13.11: - resolution: {integrity: sha512-/SMX/RQNJn7oNmFwH6DtwDqcrzZU2otm1FD6OJe2cWF6cfy/F8hq0XVBv7xW3FTJshRQwuBnXHDq2kNsdZnshg==} + hono@4.13.18: + resolution: {integrity: sha512-H9q/E1XizaWstJxUW881dmLxEj+t/TrGGnyxINkm4+sK0qUwsMtFdo2BWI9Vs3cIS19MU6b6iCijoUoEf4f3DA==} engines: {node: '>=16.9.0'} html-escaper@2.0.2: @@ -3336,6 +3338,7 @@ packages: node-abort-controller@3.1.1: resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==} + deprecated: This package is no longer needed on supported Node.js versions. Node.js 16+ includes AbortController and AbortSignal as built-in globals. All Node.js versions requiring this polyfill are end-of-life. Use the built-in globals instead. node-cache@5.1.2: resolution: {integrity: sha512-t1QzWwnk4sjLWaQAS8CHgOJ+RAfmHpxFWmc36IWTiWHQfs0w5JDMBS1b1ZxQteo0vVVuWJvIUKHDkkeK7vIGCg==} @@ -5102,9 +5105,9 @@ snapshots: dependencies: '@hapi/hoek': 11.0.7 - '@hono/node-server@2.1.3(hono@4.13.11)': + '@hono/node-server@2.1.8(hono@4.13.18)': dependencies: - hono: 4.13.11 + hono: 4.13.18 '@humanfs/core@0.19.2': dependencies: @@ -5532,13 +5535,13 @@ snapshots: '@electric-sql/pglite': 0.4.1 '@electric-sql/pglite-socket': 0.1.1(@electric-sql/pglite@0.4.1) '@electric-sql/pglite-tools': 0.3.1(@electric-sql/pglite@0.4.1) - '@hono/node-server': 2.1.3(hono@4.13.11) + '@hono/node-server': 2.1.8(hono@4.13.18) '@prisma/get-platform': 7.2.0 '@prisma/query-plan-executor': 7.2.0 '@prisma/streams-local': 0.1.2 foreground-child: 3.3.1 get-port-please: 3.2.0 - hono: 4.13.11 + hono: 4.13.18 http-status-codes: 2.3.0 pathe: 2.0.3 proper-lockfile: 4.1.2 @@ -7618,7 +7621,7 @@ snapshots: he@1.2.0: {} - hono@4.13.11: {} + hono@4.13.18: {} html-escaper@2.0.2: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 3345499..04df46c 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -12,6 +12,8 @@ allowBuilds: dtrace-provider: false overrides: + # Keep linked service packages on the same hardened JWT verifier as this API. + tc-core-library-js: github:topcoder-platform/tc-core-library-js#v4.0.0-rc.2 'baseline-browser-mapping': 2.11.0 'browserslist': 4.28.8 'proxy-addr': 2.0.8 @@ -22,8 +24,8 @@ overrides: 'joi': 18.3.1 'moment': 2.31.0 'mysql2': 3.23.1 - 'hono': 4.13.11 - '@hono/node-server': 2.1.3 + 'hono': 4.13.18 + '@hono/node-server': 2.1.8 'js-yaml@^3': 3.15.2 'js-yaml@^4': 4.3.2 'js-yaml@^5': 5.4.1