From d0f4510e58fbe2ae1c99cc133fe128bea1b832ef Mon Sep 17 00:00:00 2001 From: avallete Date: Tue, 16 Sep 2025 18:38:14 +0200 Subject: [PATCH 1/4] ci: fix canary-comment dependency --- .github/workflows/canary-comment.yml | 39 +++++++++++++--------------- .github/workflows/canary-deploy.yml | 16 ------------ 2 files changed, 18 insertions(+), 37 deletions(-) diff --git a/.github/workflows/canary-comment.yml b/.github/workflows/canary-comment.yml index aae0a7dc..90e4cb99 100644 --- a/.github/workflows/canary-comment.yml +++ b/.github/workflows/canary-comment.yml @@ -43,30 +43,27 @@ jobs: console.log('No associated PR found'); } - # Only continue if we found a PR and the workflow succeeded - - name: Download canary info + # Extract canary info from the workflow run + - name: Extract canary info if: ${{ steps.pr-info.outputs.found == 'true' && github.event.workflow_run.conclusion == 'success' }} - uses: actions/download-artifact@v4 + id: canary-info + uses: actions/github-script@v7 with: - name: canary-info - path: canary-info/ - run-id: ${{ github.event.workflow_run.id }} - continue-on-error: true + script: | + const workflowRun = context.payload.workflow_run; - - name: Read canary info - if: ${{ steps.pr-info.outputs.found == 'true' && github.event.workflow_run.conclusion == 'success' }} - id: canary-info - run: | - if [ -f "canary-info/canary-tags.txt" ]; then - # Read the first tag (DockerHub) from the tags - FIRST_TAG=$(head -n1 canary-info/canary-tags.txt) - echo "tag=$FIRST_TAG" >> $GITHUB_OUTPUT - echo "found=true" >> $GITHUB_OUTPUT - echo "commit-sha=$(cat canary-info/commit-sha.txt)" >> $GITHUB_OUTPUT - else - echo "found=false" >> $GITHUB_OUTPUT - fi - continue-on-error: true + // Extract PR number from the branch name or workflow run + const prNumber = '${{ steps.pr-info.outputs.pr_number }}'; + const commitSha = workflowRun.head_sha; + + // Generate the canary tag based on the pattern used in canary-deploy.yml + const canaryTag = `supabase/postgres-meta:canary-pr-${prNumber}-${commitSha}`; + + core.setOutput('tag', canaryTag); + core.setOutput('found', 'true'); + core.setOutput('commit-sha', commitSha); + + console.log(`Generated canary tag: ${canaryTag}`); # Find existing comment - name: Find existing comment diff --git a/.github/workflows/canary-deploy.yml b/.github/workflows/canary-deploy.yml index 872fcc41..f40f7a0f 100644 --- a/.github/workflows/canary-deploy.yml +++ b/.github/workflows/canary-deploy.yml @@ -105,19 +105,3 @@ jobs: org.opencontainers.image.revision=${{ github.event.pull_request.head.sha }} canary.pr.number=${{ github.event.pull_request.number }} canary.pr.author=${{ github.event.pull_request.user.login }} - - # Save canary info for the comment workflow - - name: Save canary info - run: | - mkdir -p canary-info - echo "${{ steps.meta.outputs.tags }}" > canary-info/canary-tags.txt - echo "${{ github.event.pull_request.number }}" > canary-info/pr-number.txt - echo "${{ github.event.pull_request.head.sha }}" > canary-info/commit-sha.txt - echo "postgres-meta" > canary-info/package-name.txt - - - name: Upload canary info - uses: actions/upload-artifact@v4 - with: - name: canary-info - path: canary-info/ - retention-days: 7 From ea759f017e55d7499bdc0a6001e696f88fd4ceaa Mon Sep 17 00:00:00 2001 From: avallete Date: Tue, 16 Sep 2025 18:40:49 +0200 Subject: [PATCH 2/4] chore: change dependency for trigger --- package-lock.json | 161 +++++++++++++++++++++++++++++++++++++++------- package.json | 2 +- 2 files changed, 137 insertions(+), 26 deletions(-) diff --git a/package-lock.json b/package-lock.json index cd6f7b63..3807986e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,7 +38,7 @@ "cpy-cli": "^5.0.0", "nodemon": "^3.1.7", "npm-run-all": "^4.1.5", - "pino-pretty": "^13.1.1", + "pino-pretty": "^12.1.0", "rimraf": "^6.0.1", "ts-node": "^10.9.1", "typescript": "^5.6.3", @@ -2230,6 +2230,19 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "license": "ISC" }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dev": true, + "license": "MIT", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, "node_modules/abstract-logging": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/abstract-logging/-/abstract-logging-2.0.1.tgz", @@ -2538,6 +2551,27 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "license": "MIT" }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT" + }, "node_modules/big-integer": { "version": "1.6.52", "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz", @@ -2589,6 +2623,31 @@ "node": ">=8" } }, + "node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "MIT", + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, "node_modules/cac": { "version": "6.7.14", "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", @@ -3441,6 +3500,26 @@ "@types/estree": "^1.0.0" } }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.x" + } + }, "node_modules/expect-type": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.2.0.tgz", @@ -4198,6 +4277,27 @@ "node": ">=0.10.0" } }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "license": "BSD-3-Clause" + }, "node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", @@ -6229,9 +6329,9 @@ } }, "node_modules/pino-pretty": { - "version": "13.1.1", - "resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-13.1.1.tgz", - "integrity": "sha512-TNNEOg0eA0u+/WuqH0MH0Xui7uqVk9D74ESOpjtebSQYbNWJk/dIxCXIxFsNfeN53JmtWqYHP2OrIZjT/CBEnA==", + "version": "12.1.0", + "resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-12.1.0.tgz", + "integrity": "sha512-Z7JdCPqggoRyo0saJyCe1BN8At5qE+ZBElNbyx+znCaCVN+ohOqlWb+/WSYnamzfi2e6P6pXq/3H66KwFQHXWg==", "dev": true, "license": "MIT", "dependencies": { @@ -6245,30 +6345,31 @@ "on-exit-leak-free": "^2.1.0", "pino-abstract-transport": "^2.0.0", "pump": "^3.0.0", - "secure-json-parse": "^4.0.0", + "readable-stream": "^4.0.0", + "secure-json-parse": "^2.4.0", "sonic-boom": "^4.0.1", - "strip-json-comments": "^5.0.2" + "strip-json-comments": "^3.1.1" }, "bin": { "pino-pretty": "bin.js" } }, - "node_modules/pino-pretty/node_modules/secure-json-parse": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-4.0.0.tgz", - "integrity": "sha512-dxtLJO6sc35jWidmLxo7ij+Eg48PM/kleBsxpC8QJE0qJICe+KawkDQmvCMZUr9u7WKVHgMW6vy3fQ7zMiFZMA==", + "node_modules/pino-pretty/node_modules/readable-stream": { + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz", + "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fastify" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fastify" - } - ], - "license": "BSD-3-Clause" + "license": "MIT", + "dependencies": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10", + "string_decoder": "^1.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } }, "node_modules/pino-std-serializers": { "version": "7.0.0", @@ -6412,6 +6513,16 @@ "prettier": "^3.0.3" } }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.6.0" + } + }, "node_modules/process-warning": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-3.0.0.tgz", @@ -7518,13 +7629,13 @@ } }, "node_modules/strip-json-comments": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.3.tgz", - "integrity": "sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==", + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, "license": "MIT", "engines": { - "node": ">=14.16" + "node": ">=8" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" diff --git a/package.json b/package.json index 941df965..4e61525a 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "cpy-cli": "^5.0.0", "nodemon": "^3.1.7", "npm-run-all": "^4.1.5", - "pino-pretty": "^13.1.1", + "pino-pretty": "^12.1.0", "rimraf": "^6.0.1", "ts-node": "^10.9.1", "typescript": "^5.6.3", From aa7dcb1906e0bcd9d516cf006753ae21195b116e Mon Sep 17 00:00:00 2001 From: avallete Date: Tue, 16 Sep 2025 18:46:10 +0200 Subject: [PATCH 3/4] chore: only comment on canary label --- .github/workflows/canary-comment.yml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.github/workflows/canary-comment.yml b/.github/workflows/canary-comment.yml index 90e4cb99..69cebc03 100644 --- a/.github/workflows/canary-comment.yml +++ b/.github/workflows/canary-comment.yml @@ -35,17 +35,30 @@ jobs: if (prs.data.length > 0) { const pr = prs.data[0]; - core.setOutput('pr_number', pr.number); - core.setOutput('found', 'true'); - console.log(`Found PR #${pr.number}`); + + // Check if PR has the deploy-canary label + const labels = pr.labels.map(label => label.name); + const hasCanaryLabel = labels.includes('deploy-canary'); + + if (hasCanaryLabel) { + core.setOutput('pr_number', pr.number); + core.setOutput('found', 'true'); + core.setOutput('has_canary_label', 'true'); + console.log(`Found PR #${pr.number} with deploy-canary label`); + } else { + core.setOutput('found', 'false'); + core.setOutput('has_canary_label', 'false'); + console.log(`Found PR #${pr.number} but it doesn't have deploy-canary label`); + } } else { core.setOutput('found', 'false'); + core.setOutput('has_canary_label', 'false'); console.log('No associated PR found'); } # Extract canary info from the workflow run - name: Extract canary info - if: ${{ steps.pr-info.outputs.found == 'true' && github.event.workflow_run.conclusion == 'success' }} + if: ${{ steps.pr-info.outputs.found == 'true' && steps.pr-info.outputs.has_canary_label == 'true' && github.event.workflow_run.conclusion == 'success' }} id: canary-info uses: actions/github-script@v7 with: @@ -67,7 +80,7 @@ jobs: # Find existing comment - name: Find existing comment - if: ${{ steps.pr-info.outputs.found == 'true' }} + if: ${{ steps.pr-info.outputs.found == 'true' && steps.pr-info.outputs.has_canary_label == 'true' }} uses: peter-evans/find-comment@v3 id: find-comment with: @@ -77,7 +90,7 @@ jobs: # Create or update comment based on workflow status - name: Create or update canary comment - if: ${{ steps.pr-info.outputs.found == 'true' }} + if: ${{ steps.pr-info.outputs.found == 'true' && steps.pr-info.outputs.has_canary_label == 'true' }} uses: peter-evans/create-or-update-comment@v4 with: comment-id: ${{ steps.find-comment.outputs.comment-id }} From fb3a90467cf912960e2bbec3911e7ad56e68f1b4 Mon Sep 17 00:00:00 2001 From: avallete Date: Tue, 16 Sep 2025 18:47:37 +0200 Subject: [PATCH 4/4] Revert "chore: change dependency for trigger" This reverts commit ea759f017e55d7499bdc0a6001e696f88fd4ceaa. --- package-lock.json | 161 +++++++--------------------------------------- package.json | 2 +- 2 files changed, 26 insertions(+), 137 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3807986e..cd6f7b63 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,7 +38,7 @@ "cpy-cli": "^5.0.0", "nodemon": "^3.1.7", "npm-run-all": "^4.1.5", - "pino-pretty": "^12.1.0", + "pino-pretty": "^13.1.1", "rimraf": "^6.0.1", "ts-node": "^10.9.1", "typescript": "^5.6.3", @@ -2230,19 +2230,6 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "license": "ISC" }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dev": true, - "license": "MIT", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, "node_modules/abstract-logging": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/abstract-logging/-/abstract-logging-2.0.1.tgz", @@ -2551,27 +2538,6 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "license": "MIT" }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT" - }, "node_modules/big-integer": { "version": "1.6.52", "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz", @@ -2623,31 +2589,6 @@ "node": ">=8" } }, - "node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "MIT", - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, "node_modules/cac": { "version": "6.7.14", "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", @@ -3500,26 +3441,6 @@ "@types/estree": "^1.0.0" } }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.8.x" - } - }, "node_modules/expect-type": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/expect-type/-/expect-type-1.2.0.tgz", @@ -4277,27 +4198,6 @@ "node": ">=0.10.0" } }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "license": "BSD-3-Clause" - }, "node_modules/ignore": { "version": "5.3.2", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", @@ -6329,9 +6229,9 @@ } }, "node_modules/pino-pretty": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-12.1.0.tgz", - "integrity": "sha512-Z7JdCPqggoRyo0saJyCe1BN8At5qE+ZBElNbyx+znCaCVN+ohOqlWb+/WSYnamzfi2e6P6pXq/3H66KwFQHXWg==", + "version": "13.1.1", + "resolved": "https://registry.npmjs.org/pino-pretty/-/pino-pretty-13.1.1.tgz", + "integrity": "sha512-TNNEOg0eA0u+/WuqH0MH0Xui7uqVk9D74ESOpjtebSQYbNWJk/dIxCXIxFsNfeN53JmtWqYHP2OrIZjT/CBEnA==", "dev": true, "license": "MIT", "dependencies": { @@ -6345,31 +6245,30 @@ "on-exit-leak-free": "^2.1.0", "pino-abstract-transport": "^2.0.0", "pump": "^3.0.0", - "readable-stream": "^4.0.0", - "secure-json-parse": "^2.4.0", + "secure-json-parse": "^4.0.0", "sonic-boom": "^4.0.1", - "strip-json-comments": "^3.1.1" + "strip-json-comments": "^5.0.2" }, "bin": { "pino-pretty": "bin.js" } }, - "node_modules/pino-pretty/node_modules/readable-stream": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.7.0.tgz", - "integrity": "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg==", + "node_modules/pino-pretty/node_modules/secure-json-parse": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/secure-json-parse/-/secure-json-parse-4.0.0.tgz", + "integrity": "sha512-dxtLJO6sc35jWidmLxo7ij+Eg48PM/kleBsxpC8QJE0qJICe+KawkDQmvCMZUr9u7WKVHgMW6vy3fQ7zMiFZMA==", "dev": true, - "license": "MIT", - "dependencies": { - "abort-controller": "^3.0.0", - "buffer": "^6.0.3", - "events": "^3.3.0", - "process": "^0.11.10", - "string_decoder": "^1.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" }, "node_modules/pino-std-serializers": { "version": "7.0.0", @@ -6513,16 +6412,6 @@ "prettier": "^3.0.3" } }, - "node_modules/process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 0.6.0" - } - }, "node_modules/process-warning": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-3.0.0.tgz", @@ -7629,13 +7518,13 @@ } }, "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.3.tgz", + "integrity": "sha512-1tB5mhVo7U+ETBKNf92xT4hrQa3pm0MZ0PQvuDnWgAAGHDsfp4lPSpiS6psrSiet87wyGPh9ft6wmhOMQ0hDiw==", "dev": true, "license": "MIT", "engines": { - "node": ">=8" + "node": ">=14.16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" diff --git a/package.json b/package.json index 4e61525a..941df965 100644 --- a/package.json +++ b/package.json @@ -67,7 +67,7 @@ "cpy-cli": "^5.0.0", "nodemon": "^3.1.7", "npm-run-all": "^4.1.5", - "pino-pretty": "^12.1.0", + "pino-pretty": "^13.1.1", "rimraf": "^6.0.1", "ts-node": "^10.9.1", "typescript": "^5.6.3",