From b9f00fc360416c9f349f2441d794fd94c9ab997c Mon Sep 17 00:00:00 2001 From: Le Cong Date: Mon, 28 Sep 2026 19:40:06 -0400 Subject: [PATCH 1/2] update CI and dependencies --- .github/workflows/check-pr-reviews.yml | 2 +- .../workflows/check-published-scheduled.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/publish.yml | 14 +- package-lock.json | 218 +++++++++--------- package.json | 14 +- 6 files changed, 131 insertions(+), 121 deletions(-) diff --git a/.github/workflows/check-pr-reviews.yml b/.github/workflows/check-pr-reviews.yml index e1d62d6..fb7fb05 100644 --- a/.github/workflows/check-pr-reviews.yml +++ b/.github/workflows/check-pr-reviews.yml @@ -10,6 +10,6 @@ jobs: name: Check PR Reviews steps: - name: Perform Check of PR Reviews - uses: checkdigit/github-actions/check-pr-reviews@main + uses: checkdigit/github-actions/check-pr-reviews@validate-npm-package__retry-npm-install env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/check-published-scheduled.yml b/.github/workflows/check-published-scheduled.yml index 37972cc..23f5b73 100644 --- a/.github/workflows/check-published-scheduled.yml +++ b/.github/workflows/check-published-scheduled.yml @@ -14,7 +14,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - name: Check Published - uses: checkdigit/github-actions/check-published@main + uses: checkdigit/github-actions/check-published@validate-npm-package__retry-npm-install env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DEBUG: '*' diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 413edfa..b703383 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -63,7 +63,7 @@ jobs: - uses: actions/download-artifact@v8 with: { name: pr-coverage, path: coverage-pr } - name: Post coverage report - uses: checkdigit/github-actions/coverage-reporter@main + uses: checkdigit/github-actions/coverage-reporter@validate-npm-package__retry-npm-install with: coverage-results-folder-pr: 'coverage-pr' coverage-results-folder-base: 'coverage' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 18de9ac..35f745e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,12 +34,12 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Check Label if: github.event_name == 'pull_request' - uses: checkdigit/github-actions/check-label@main + uses: checkdigit/github-actions/check-label@validate-npm-package__retry-npm-install env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Check Imports if: github.event_name == 'pull_request' - uses: checkdigit/github-actions/check-imports@main + uses: checkdigit/github-actions/check-imports@validate-npm-package__retry-npm-install - name: Install Dependencies run: npm ci --ignore-scripts - name: Audit Signatures @@ -50,16 +50,22 @@ jobs: - name: Prepare Beta if: github.event_name == 'pull_request' id: prepare-beta - uses: checkdigit/github-actions/prepare-beta@main + uses: checkdigit/github-actions/prepare-beta@validate-npm-package__retry-npm-install - name: Publish Release if: github.event_name == 'release' run: npm publish - name: Publish Beta if: github.event_name == 'pull_request' run: npm publish --tag beta + - name: Validate Published Beta NPM Package + if: github.event_name == 'pull_request' + id: validate-npm-package + uses: checkdigit/github-actions/validate-npm-package@validate-npm-package__retry-npm-install + with: + betaPackage: ${{ steps.prepare-beta.outputs.betaPackage }} - name: Comment npm publish result if: github.event_name == 'pull_request' - uses: checkdigit/github-actions/comment-npm-publish@main + uses: checkdigit/github-actions/comment-npm-publish@validate-npm-package__retry-npm-install with: betaPackage: ${{ steps.prepare-beta.outputs.betaPackage }} env: diff --git a/package-lock.json b/package-lock.json index c97e781..25cb6d9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,43 +1,43 @@ { "name": "@checkdigit/timeout", - "version": "6.0.0", + "version": "6.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@checkdigit/timeout", - "version": "6.0.0", + "version": "6.0.1", "license": "MIT", "devDependencies": { - "@checkdigit/eslint-config": "^12.1.0", - "@checkdigit/prettier-config": "^8.1.1", - "@checkdigit/typescript-config": "^10.2.1" + "@checkdigit/eslint-config": "^12.1.1", + "@checkdigit/prettier-config": "^8.3.0", + "@checkdigit/typescript-config": "^10.2.2" }, "engines": { - "node": ">=24.18.0" + "node": ">=24.20.0" } }, "node_modules/@apidevtools/json-schema-ref-parser": { - "version": "15.5.2", - "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-15.5.2.tgz", - "integrity": "sha512-B+C9Ok0DF/rjANIUHgwcV5/d4C72MB7f2IbKFL8jDGcGq2qn3yr893s8vAn2kbhmyaelAin0JK8EKF9P1+y7aQ==", + "version": "16.0.3", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-16.0.3.tgz", + "integrity": "sha512-7lZp4XCTZhU/AgiGpIG+j4uJeWPdGbpQ+8wqXrzuHy+tboKsjSacjGH9/kNThRDIFhMWHF3ba+ejS8J3PeSI1Q==", "dev": true, "license": "MIT", "dependencies": { - "js-yaml": "^5.2.2", - "undici": "^6.28.0" + "js-yaml": "^5.4.2", + "undici": "^8.10.2" }, "engines": { - "node": ">=20" + "node": ">=22.19.0" }, "peerDependencies": { "@types/json-schema": "^7.0.15" } }, "node_modules/@apidevtools/json-schema-ref-parser/node_modules/js-yaml": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.4.1.tgz", - "integrity": "sha512-28R/k+NAjeuf7+CKlTxWZVExJGwVVLwY06DgEnOMz2gEpfNkDcD7QvyiVPT0xy0XXhU8vHsd4Ot42OOPdJG7dQ==", + "version": "5.4.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-5.4.2.tgz", + "integrity": "sha512-m+aqu+LwO1O6sIopafj8HUVl5aawITwZQe/yHpMCKjaWBaA/d07B/QdMb3529REftiU+RMMHL3Vlsw3hON7vWg==", "dev": true, "funding": [ { @@ -58,20 +58,20 @@ } }, "node_modules/@checkdigit/eslint-athena-plugin": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@checkdigit/eslint-athena-plugin/-/eslint-athena-plugin-2.0.0.tgz", - "integrity": "sha512-Sx9Khr71vR+EwVLz6nEaAzCDdpppWSRd5aT96cUOpRweK0VZMGHzNW8HAmCjoGrnsyoxJLQiMGHuhzGXxvpJ+g==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@checkdigit/eslint-athena-plugin/-/eslint-athena-plugin-2.0.1.tgz", + "integrity": "sha512-sVBqfiI1NHoRRBvHmLCg1g5nb9r6x/fd6i7lvPe/l2fIR2Q+Q7Dho+xuJKkVyQ/tR5COHc36tQajhWRoBfnzaQ==", "dev": true, "license": "MIT", "dependencies": { - "@apidevtools/json-schema-ref-parser": "^15.5.1", - "@typescript-eslint/type-utils": "^8.65.0", - "@typescript-eslint/utils": "^8.65.0", + "@apidevtools/json-schema-ref-parser": "^16.0.2", + "@typescript-eslint/type-utils": "^8.70.0", + "@typescript-eslint/utils": "^8.70.0", "ajv": "^8.20.0", "debug": "^4.4.3", "glob": "^13.0.6", "http-status-codes": "^2.3.0", - "js-yaml": "^4.2.0", + "js-yaml": "^4.3.2", "json-pointer": "^0.6.2", "jsonpath-plus": "^10.4.0", "ts-api-utils": "^2.5.0" @@ -84,17 +84,17 @@ } }, "node_modules/@checkdigit/eslint-config": { - "version": "12.1.0", - "resolved": "https://registry.npmjs.org/@checkdigit/eslint-config/-/eslint-config-12.1.0.tgz", - "integrity": "sha512-SMWHhVUzqyBGh9MsVm2EMc1x/HcThMfAoKwr4IEWZ+AVkcqirXykOmw8kgkrtfLFv4uMVP8dfZFuFLL2i1uzqw==", + "version": "12.1.1", + "resolved": "https://registry.npmjs.org/@checkdigit/eslint-config/-/eslint-config-12.1.1.tgz", + "integrity": "sha512-NuCrwU72gTJkTV8bSegZ/Ml9LfBBg4oQKUUTXJ0OEQosSSl9J4mvNOWi1rP72jpsCWc9mAahAGI35CKJWTf1JA==", "dev": true, "license": "MIT", "dependencies": { - "@checkdigit/eslint-athena-plugin": "2.0.0", - "@checkdigit/eslint-plugin": "8.0.0", - "@eslint-community/eslint-plugin-eslint-comments": "4.7.2", + "@checkdigit/eslint-athena-plugin": "2.0.1", + "@checkdigit/eslint-plugin": "8.1.1", + "@eslint-community/eslint-plugin-eslint-comments": "4.8.1", "@eslint/js": "10.0.1", - "@eslint/json": "2.0.1", + "@eslint/json": "2.1.0", "@eslint/markdown": "8.0.3", "eslint-config-prettier": "10.1.8", "eslint-import-resolver-typescript": "4.4.5", @@ -108,53 +108,53 @@ "typescript-eslint": "8.67.0" }, "engines": { - "node": ">=24.18.0" + "node": ">=24.20.0" }, "peerDependencies": { "eslint": "10.8.1" } }, "node_modules/@checkdigit/eslint-plugin": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@checkdigit/eslint-plugin/-/eslint-plugin-8.0.0.tgz", - "integrity": "sha512-X9cmzGWdSV10Pcg8VZTfyNyHENYoC17Dj9v2de9104KRTt1LHeJ3dBc6ip4Uq+2hIZYgKH6a8sD5P2+OUQpnTw==", + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/@checkdigit/eslint-plugin/-/eslint-plugin-8.1.1.tgz", + "integrity": "sha512-EuddiUjJea/+NoFoqdUUE6ERXCahVKr6VTXKNx7+FTssiZ1ku1VaMq9uSnuJ/pJaAeyffiKiNXJRLAMH9LUd8A==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/type-utils": "^8.66.0", - "@typescript-eslint/utils": "^8.66.0", + "@typescript-eslint/type-utils": "^8.70.1", + "@typescript-eslint/utils": "^8.70.1", "http-status-codes": "^2.3.0", "ts-api-utils": "^2.5.0" }, "engines": { - "node": ">=24.18.0" + "node": ">=24.20.0" }, "peerDependencies": { "eslint": ">=10 <11" } }, "node_modules/@checkdigit/prettier-config": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@checkdigit/prettier-config/-/prettier-config-8.1.1.tgz", - "integrity": "sha512-OFiCbEDri1Wr9O1unZrlwPCg+72KO48AVLtZXFPAyhiwJlxtY1zZGcS9XJmGt3KibXPFdvBFIF3BQc8BM4j+kA==", + "version": "8.3.0", + "resolved": "https://registry.npmjs.org/@checkdigit/prettier-config/-/prettier-config-8.3.0.tgz", + "integrity": "sha512-FTFTMSiFb2iTGrHLWGrEc9xkkJ2pNIWJeVEFZ9ZWcGrKJA325a1YG0DRyFE/9DLPHtmv58EUVJKuFLNmzf+W3A==", "dev": true, "license": "MIT", "engines": { - "node": ">=24.18.0" + "node": ">=24.20.0" }, "peerDependencies": { - "@prettier/plugin-oxc": "0.2.2", + "@prettier/plugin-oxc": "0.2.3", "@prettier/plugin-xml": "3.4.2", - "prettier": "3.9.6", + "prettier": "3.9.9", "prettier-plugin-packagejson": "3.0.2", "prettier-plugin-svelte": "4.1.1", "prettier-plugin-tailwindcss": "0.8.1" } }, "node_modules/@checkdigit/typescript-config": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/@checkdigit/typescript-config/-/typescript-config-10.2.1.tgz", - "integrity": "sha512-HI0LBMcY9VApyXoWYqyQIy5VQFouzZuwkIjv3kKa3MhQklfgymWxsuQdKUsOC1R4clDPVZ0NJzz3k2bt8t/HNQ==", + "version": "10.2.2", + "resolved": "https://registry.npmjs.org/@checkdigit/typescript-config/-/typescript-config-10.2.2.tgz", + "integrity": "sha512-QEN+pRYRO7EOsQX70DW8HiIJoPLBF4c2YJYrpRCNObM6Kl1TDwDxH6L/ET+qEPC9oHlAg4FisxUYr2JFdOPbaQ==", "dev": true, "license": "MIT", "bin": { @@ -675,9 +675,9 @@ } }, "node_modules/@eslint-community/eslint-plugin-eslint-comments": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-4.7.2.tgz", - "integrity": "sha512-LF03qURSwEWm2dz5wtdDCzNk+7Opl0X7q6I3undsaIuNsEiNvRV3BCtqu14Q/6Pzg1tBj44LcxpW2EpSLZStZw==", + "version": "4.8.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-plugin-eslint-comments/-/eslint-plugin-eslint-comments-4.8.1.tgz", + "integrity": "sha512-vafrdi15JHBFh1qWOAucyJwlEEuhdoMof28jOdKdgnwZ7bXwd6v4wzHYSmAVLwnx0yc7bqAtfJ0EZQV1WAzV/Q==", "dev": true, "license": "MIT", "dependencies": { @@ -802,9 +802,9 @@ } }, "node_modules/@eslint/json": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@eslint/json/-/json-2.0.1.tgz", - "integrity": "sha512-Thz2j92ceUF3Bq/0TuWb3MWn3Z+Cwc8k5ptF0fakl2D4Mp8mSx07Xr1aQM4R5NoihzarWUdxfOmQ8DesGy4jOg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@eslint/json/-/json-2.1.0.tgz", + "integrity": "sha512-Zcg+SXHmdAlo+0ZFwxOvDQye2zxhaFCu/CPdJTsMDSEYZXkX67AWvdwzhI/YdPYNW68Q1Tr1Rv2SsuUZydnjBg==", "dev": true, "license": "Apache-2.0", "dependencies": { @@ -925,9 +925,9 @@ } }, "node_modules/@humanwhocodes/momoa": { - "version": "3.3.12", - "resolved": "https://registry.npmjs.org/@humanwhocodes/momoa/-/momoa-3.3.12.tgz", - "integrity": "sha512-xS9xl4ieqTqhSZfKV3YXj/htwJCUxbgvkTVaK1fkESgrOzvoVSOTRQeQ8tTLOZUS0Csi2xqtJQXgVTRH5OEbHQ==", + "version": "3.3.13", + "resolved": "https://registry.npmjs.org/@humanwhocodes/momoa/-/momoa-3.3.13.tgz", + "integrity": "sha512-AbKq3EW41+HY6pNMJgAOrz68iyiTTf0Nr1JRHHfuG5zwniJ9Dw8J3U7oa1I2ptpqYwmEf1sXKOGK6lbdZ9eqmg==", "dev": true, "license": "Apache-2.0", "engines": { @@ -1463,9 +1463,9 @@ } }, "node_modules/@prettier/plugin-oxc": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@prettier/plugin-oxc/-/plugin-oxc-0.2.2.tgz", - "integrity": "sha512-yscDcAuDtvOfE0c8i8UVP+hjK43VIPpwfMv+73mdkpy12rZWnk5Kl6N6pUneQmaZ3PKTg611zemBHFpMjp9ZnQ==", + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@prettier/plugin-oxc/-/plugin-oxc-0.2.3.tgz", + "integrity": "sha512-6TYRFBxthmW0IULsZjik2Gu62jc17xPILlcSIXTXfrhDH4etIcissalZ+RO5oweMWidM3jJ38QJbkD2C6J0/LA==", "dev": true, "license": "MIT", "peer": true, @@ -1972,14 +1972,14 @@ } }, "node_modules/@typescript-eslint/project-service": { - "version": "8.68.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.68.0.tgz", - "integrity": "sha512-5GQtWZCXFcFYux955pvoS02WLc49pXNlvIxocKjS0clvwo3in1RdlzVKyiqQH9vE5AKWFLTaUgeQkOrTS+0Qxw==", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.71.0.tgz", + "integrity": "sha512-aABjw5rjBacYONVPaPiWOCjJu0vEF4a25iQuodlmQYL1trtLZ0X/y+2Vzl3BKI1odM4LnwLE1oUDXYp1wzx1TQ==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/tsconfig-utils": "^8.68.0", - "@typescript-eslint/types": "^8.68.0", + "@typescript-eslint/tsconfig-utils": "^8.71.0", + "@typescript-eslint/types": "^8.71.0", "debug": "^4.4.3" }, "engines": { @@ -1994,14 +1994,14 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.68.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.68.0.tgz", - "integrity": "sha512-T5eXpcaJNg8bhjHJ8Rjp68Vq/QBteYtTKY8TZqVNPaUbuz0f6jI9t6aDkylwvalpAB9XTTFeFOjrjXAZ3YvmVA==", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.71.0.tgz", + "integrity": "sha512-gWF0BhUcnjZxSpLE8ngS/59n2SB0J3YqRxvX1+2aoRJk9hNtHSLOV+TcarFiOr5ipXm3yc1QrI4c9YZc8zyCxw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.68.0", - "@typescript-eslint/visitor-keys": "8.68.0" + "@typescript-eslint/types": "8.71.0", + "@typescript-eslint/visitor-keys": "8.71.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2012,9 +2012,9 @@ } }, "node_modules/@typescript-eslint/tsconfig-utils": { - "version": "8.68.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.68.0.tgz", - "integrity": "sha512-F7zrGQfiJHojPwi8vhxZQC1tWtJzvL74cK/nqri2lk8YUXvYaYwl263xOJ69jDWPUk1hmcdoayFwk9lX09npVw==", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.71.0.tgz", + "integrity": "sha512-Z1UlWHADEK2Mlb9NpWfDeSjqoZ5EyrOv4R3eQpbkzqn/EwaIdOpXXupEA1+0ZIOSJSZZDBHG0BrQyN8zUG6Pwg==", "dev": true, "license": "MIT", "engines": { @@ -2029,15 +2029,15 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "8.68.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.68.0.tgz", - "integrity": "sha512-X77zqoY1EjeWGs/0JNxeaMfp5C5lIz4Tw8y66F1Ne8Faq6g424sBNYM6xBAqElfGZPLpWS+CZAp0DXyKDzWiHg==", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.71.0.tgz", + "integrity": "sha512-i8uO1qbdxeKgRnS5sCRt6On3/nfo2d2DwQe3Yvjx543zLy7r8ySqRuPPiIIXAhS03U0v5NfAFx+rUgxFzKKwNw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.68.0", - "@typescript-eslint/typescript-estree": "8.68.0", - "@typescript-eslint/utils": "8.68.0", + "@typescript-eslint/types": "8.71.0", + "@typescript-eslint/typescript-estree": "8.71.0", + "@typescript-eslint/utils": "8.71.0", "debug": "^4.4.3", "ts-api-utils": "^2.5.0" }, @@ -2054,9 +2054,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "8.68.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.68.0.tgz", - "integrity": "sha512-9RnpsGJjrAllCMefGVVsImJM24YurhC0Q1h4UbvivtvOqXmR/vEJge2OoE++z9m6hyg8T1Q8t5SNT6tHSbrxcg==", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.71.0.tgz", + "integrity": "sha512-cJ4OoxPGWvFnBTnSZyaU+qJzGTqPTGJY+gDchj6cRyLRdmIdt4rcsE4twj+zPfrNiWuVi38wijHzShL++Z9atQ==", "dev": true, "license": "MIT", "engines": { @@ -2068,16 +2068,16 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.68.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.68.0.tgz", - "integrity": "sha512-OKKsD0tYmoNiU5PW2zehO1yO56jYOm1ShYlxon/Z0SJNidAkdVg86eg9ruRuoXf8xfnuWZGbwDsStkoXbZtIIA==", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.71.0.tgz", + "integrity": "sha512-PEEF4G5sLLWAS5BpPrUvms4ySZkiBQQZM4z+3ReI46axK5Vqr/vXBQatJQIZZOYdGyPUAKTtsrWzpqKuU+3DEw==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/project-service": "8.68.0", - "@typescript-eslint/tsconfig-utils": "8.68.0", - "@typescript-eslint/types": "8.68.0", - "@typescript-eslint/visitor-keys": "8.68.0", + "@typescript-eslint/project-service": "8.71.0", + "@typescript-eslint/tsconfig-utils": "8.71.0", + "@typescript-eslint/types": "8.71.0", + "@typescript-eslint/visitor-keys": "8.71.0", "debug": "^4.4.3", "minimatch": "^10.2.2", "semver": "^7.7.3", @@ -2096,16 +2096,16 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "8.68.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.68.0.tgz", - "integrity": "sha512-PB5gJMMOg0Q5P1tsgWtEAqQacJXq0qEqRHDX/YJ4FaTMLfZPpHB3gjl2EJuiZyPABxmj4ZQYiY9m1bdAJ5y7tQ==", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.71.0.tgz", + "integrity": "sha512-pKR/tEMVrXZG23UFKUn5BQf3zfmfk7KQceI2cGzywZ5nxM5Eu3hEJU1utjWzydtzBbcJAQhHN8iPCxobHpPcZQ==", "dev": true, "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.9.1", - "@typescript-eslint/scope-manager": "8.68.0", - "@typescript-eslint/types": "8.68.0", - "@typescript-eslint/typescript-estree": "8.68.0" + "@typescript-eslint/scope-manager": "8.71.0", + "@typescript-eslint/types": "8.71.0", + "@typescript-eslint/typescript-estree": "8.71.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2120,13 +2120,13 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.68.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.68.0.tgz", - "integrity": "sha512-YR65gGdGvTUAWLldC3xLOvOzamdGzB4A5/N8rehEaHs3Zvoe39BhgY+u0SPch1OvrVTfLcc55wsSgK2NcnTS/A==", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.71.0.tgz", + "integrity": "sha512-8eQ9R218XORK+KLosnf4bu/QsUXvUyVwTbArg7/0NMB1Pu87OJKvj4nhFblkYE8gQV73mW1dx1ptlPCkwRGa7A==", "dev": true, "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.68.0", + "@typescript-eslint/types": "8.71.0", "eslint-visitor-keys": "^5.0.0" }, "engines": { @@ -3691,9 +3691,9 @@ "peer": true }, "node_modules/fast-uri": { - "version": "3.1.6", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.6.tgz", - "integrity": "sha512-7Ical1vFEMr0onbVzEDIreM22I4khW+fzyQPwvAFWBp1iwdshSZRsL4jjRvPG9JP1uiqMHRto+YU6R2/CzDz5Q==", + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz", + "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==", "dev": true, "funding": [ { @@ -4296,9 +4296,9 @@ } }, "node_modules/lru-cache": { - "version": "11.5.2", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.2.tgz", - "integrity": "sha512-4pfM1Ff0x50o0tQwb5ucw/RzNyD0/YJME6IVcStalZuMWxdt3sR3huStTtxz4PUmvZfRguvDejasvQ2kifR11g==", + "version": "11.5.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", + "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", "dev": true, "license": "BlueOak-1.0.0", "engines": { @@ -5512,9 +5512,9 @@ } }, "node_modules/prettier": { - "version": "3.9.6", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.6.tgz", - "integrity": "sha512-OpN0zzVdiaiAhxpuuj5efpIS4sY9j7bY6uR5mnj5yPzGkdkjNKSJeUThPb60Jw29QuAZgA4o+/iB49kFiaBX6g==", + "version": "3.9.9", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.9.tgz", + "integrity": "sha512-Z/CJHIkdujO/OtN7nXUii0Rf3VT5SRuhjBA82Xvu2XhBUgX3nhP67T0LHceBdQLex7OOFGTox+Q5Yg8Jk2Qivg==", "dev": true, "license": "MIT", "peer": true, @@ -6198,13 +6198,13 @@ } }, "node_modules/undici": { - "version": "6.28.0", - "resolved": "https://registry.npmjs.org/undici/-/undici-6.28.0.tgz", - "integrity": "sha512-LIY910g9TI13YS95lrMFrs8Rm/u/irgHeTWoKCoteeJ04CUJ92eEfj0rVn+7VKMPBpUPiUoBKfhNyLI23EE/KA==", + "version": "8.11.2", + "resolved": "https://registry.npmjs.org/undici/-/undici-8.11.2.tgz", + "integrity": "sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==", "dev": true, "license": "MIT", "engines": { - "node": ">=18.17" + "node": ">=22.19.0" } }, "node_modules/undici-types": { diff --git a/package.json b/package.json index ee23a9c..9cc6ba9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@checkdigit/timeout", - "version": "6.0.0", + "version": "6.0.1", "description": "Implementation of the Check Digit timeout algorithm for promises", "homepage": "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/checkdigit/timeout#readme", "bugs": { @@ -51,11 +51,15 @@ }, "prettier": "@checkdigit/prettier-config", "devDependencies": { - "@checkdigit/eslint-config": "^12.1.0", - "@checkdigit/prettier-config": "^8.1.1", - "@checkdigit/typescript-config": "^10.2.1" + "@checkdigit/eslint-config": "^12.1.1", + "@checkdigit/prettier-config": "^8.3.0", + "@checkdigit/typescript-config": "^10.2.2" }, "engines": { - "node": ">=24.18.0" + "node": ">=24.20.0" + }, + "allowScripts": { + "esbuild@0.28.2": false, + "unrs-resolver@1.12.2": false } } From f52e80b03fbd7c71f53233cd2f8095e619311a98 Mon Sep 17 00:00:00 2001 From: Le Cong Date: Mon, 28 Sep 2026 21:19:21 -0400 Subject: [PATCH 2/2] moved back to use main branch for github actions --- .github/workflows/check-pr-reviews.yml | 2 +- .github/workflows/check-published-scheduled.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/publish.yml | 10 +++++----- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/check-pr-reviews.yml b/.github/workflows/check-pr-reviews.yml index fb7fb05..e1d62d6 100644 --- a/.github/workflows/check-pr-reviews.yml +++ b/.github/workflows/check-pr-reviews.yml @@ -10,6 +10,6 @@ jobs: name: Check PR Reviews steps: - name: Perform Check of PR Reviews - uses: checkdigit/github-actions/check-pr-reviews@validate-npm-package__retry-npm-install + uses: checkdigit/github-actions/check-pr-reviews@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/check-published-scheduled.yml b/.github/workflows/check-published-scheduled.yml index 23f5b73..37972cc 100644 --- a/.github/workflows/check-published-scheduled.yml +++ b/.github/workflows/check-published-scheduled.yml @@ -14,7 +14,7 @@ jobs: with: ref: ${{ github.event.pull_request.head.sha }} - name: Check Published - uses: checkdigit/github-actions/check-published@validate-npm-package__retry-npm-install + uses: checkdigit/github-actions/check-published@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} DEBUG: '*' diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index b703383..413edfa 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -63,7 +63,7 @@ jobs: - uses: actions/download-artifact@v8 with: { name: pr-coverage, path: coverage-pr } - name: Post coverage report - uses: checkdigit/github-actions/coverage-reporter@validate-npm-package__retry-npm-install + uses: checkdigit/github-actions/coverage-reporter@main with: coverage-results-folder-pr: 'coverage-pr' coverage-results-folder-base: 'coverage' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 35f745e..d885714 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,12 +34,12 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Check Label if: github.event_name == 'pull_request' - uses: checkdigit/github-actions/check-label@validate-npm-package__retry-npm-install + uses: checkdigit/github-actions/check-label@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Check Imports if: github.event_name == 'pull_request' - uses: checkdigit/github-actions/check-imports@validate-npm-package__retry-npm-install + uses: checkdigit/github-actions/check-imports@main - name: Install Dependencies run: npm ci --ignore-scripts - name: Audit Signatures @@ -50,7 +50,7 @@ jobs: - name: Prepare Beta if: github.event_name == 'pull_request' id: prepare-beta - uses: checkdigit/github-actions/prepare-beta@validate-npm-package__retry-npm-install + uses: checkdigit/github-actions/prepare-beta@main - name: Publish Release if: github.event_name == 'release' run: npm publish @@ -60,12 +60,12 @@ jobs: - name: Validate Published Beta NPM Package if: github.event_name == 'pull_request' id: validate-npm-package - uses: checkdigit/github-actions/validate-npm-package@validate-npm-package__retry-npm-install + uses: checkdigit/github-actions/validate-npm-package@main with: betaPackage: ${{ steps.prepare-beta.outputs.betaPackage }} - name: Comment npm publish result if: github.event_name == 'pull_request' - uses: checkdigit/github-actions/comment-npm-publish@validate-npm-package__retry-npm-install + uses: checkdigit/github-actions/comment-npm-publish@main with: betaPackage: ${{ steps.prepare-beta.outputs.betaPackage }} env: