From aa966294057ff820f30c27c270674474bc2fcb1b Mon Sep 17 00:00:00 2001 From: fisker Date: Tue, 20 Oct 2026 12:38:24 +0800 Subject: [PATCH 1/3] Update jest-light-runner to v0.8.2 --- .github/workflows/nodejs.yml | 3 ++ package.json | 2 +- yarn.lock | 70 ++++++++++++++++++------------------ 3 files changed, 39 insertions(+), 36 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 52bea837d..6db0a7446 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -44,7 +44,10 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: "yarn" + - run: yarn install jest-light-runner@0.7.13 + if: ${{ matrix.node-version == '20.x'}} - run: yarn install --frozen-lockfile + if: ${{ matrix.node-version != '20.x'}} - run: yarn c8 yarn test:node - uses: codecov/codecov-action@v7 with: diff --git a/package.json b/package.json index 4a7aa7bf3..d43fb8aaa 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "eslint-plugin-prettier-doc": "^1.1.0", "jest": "30.5.2", "jest-environment-jsdom": "30.5.2", - "jest-light-runner": "0.7.9", + "jest-light-runner": "0.8.2", "jest-snapshot-serializer-raw": "^2.0.0", "prettier": "^3.6.1", "rollup": "^4.64.10", diff --git a/yarn.lock b/yarn.lock index 299e1faaa..2d22d8203 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1145,7 +1145,7 @@ dependencies: "@jest/get-type" "30.5.0" -"@jest/expect@30.5.2", "@jest/expect@^30.0.0": +"@jest/expect@30.5.2", "@jest/expect@^30.5.1": version "30.5.2" resolved "https://registry.yarnpkg.com/@jest/expect/-/expect-30.5.2.tgz#28f85a12a0adc8910cee9d9e98cc147be84a3dd5" integrity sha512-2E+1Pg6jJxbRjLNLpciC71iri/3qsKJL222/aXJEFwC0VdUSvfS+JZQQLEVjUYYc8t8pQu2MGE3cF2+bNTYRsg== @@ -1153,7 +1153,7 @@ expect "30.5.2" jest-snapshot "30.5.2" -"@jest/fake-timers@30.5.2", "@jest/fake-timers@^30.0.0": +"@jest/fake-timers@30.5.2", "@jest/fake-timers@^30.5.1": version "30.5.2" resolved "https://registry.yarnpkg.com/@jest/fake-timers/-/fake-timers-30.5.2.tgz#ce33f0db5dbd116ac9299c59550f9083f0f8a889" integrity sha512-GKk0h0tKT5SpDPxDhPg3r9mm5s8/YCBzVNMOGdRiQXwUiMsjU10mVPlMaQstH6/cu50vOb8N9oQUMETHuwwxKw== @@ -3664,7 +3664,7 @@ jest-changed-files@30.5.1: jest-util "30.5.1" p-limit "^3.1.0" -jest-circus@30.5.2, jest-circus@^30.0.0: +jest-circus@30.5.2, jest-circus@^30.5.1: version "30.5.2" resolved "https://registry.yarnpkg.com/jest-circus/-/jest-circus-30.5.2.tgz#6898ebf43d0bdd683af9461d0756ffff210f5f25" integrity sha512-vffFgjs5JSJ9q4ds1vNW3klKYPJfYfIY61LT/zaZgvTeASJOWZUt8LBfHgIcV4rwxlPBLl/ePBGccHEclS4PlQ== @@ -3752,7 +3752,7 @@ jest-docblock@30.5.0: dependencies: detect-newline "^3.1.0" -jest-each@30.5.2, jest-each@^30.0.0: +jest-each@30.5.2, jest-each@^30.5.1: version "30.5.2" resolved "https://registry.yarnpkg.com/jest-each/-/jest-each-30.5.2.tgz#fd905f1ce450ab08fdc8ea8ff2bf740db2380872" integrity sha512-GRrW+7fmmgmkvyfEBqc1QFdWnF1Ex5yG6Y6AWL4TTxnkWlKIT98dsKh3P3UuWm6v4XsQwVE6DEzXIPMzWJ3ZbA== @@ -3812,20 +3812,20 @@ jest-leak-detector@30.5.1: "@jest/get-type" "30.5.0" pretty-format "30.5.1" -jest-light-runner@0.7.9: - version "0.7.9" - resolved "https://registry.yarnpkg.com/jest-light-runner/-/jest-light-runner-0.7.9.tgz#ba899ec712e52fd0c239d3846bfc061ccdc028b2" - integrity sha512-KlgZvwca6IlRYtpmy+fdgEAi+LP+TjqH96TrAw+56wF8A3JZpW/IzWaukqB4vPVcG8v4y7EF0AMJgZ8u4H6Yew== - dependencies: - "@jest/expect" "^30.0.0" - "@jest/fake-timers" "^30.0.0" - jest-circus "^30.0.0" - jest-each "^30.0.0" - jest-mock "^30.0.0" - jest-snapshot "^30.0.0" - p-limit "^6.2.0" - supports-color "^9.2.1" - tinypool "0.8.4" +jest-light-runner@0.8.2: + version "0.8.2" + resolved "https://registry.yarnpkg.com/jest-light-runner/-/jest-light-runner-0.8.2.tgz#a7793d4e5b2233ec019d3e72b1480b85fca9ee2e" + integrity sha512-zsFWsDGjRA67gNgmT4LkSQrB+xjw8A+AlJLTXaiXgUpol9brcI1QIDILoeJ6PqccUwjwWmSdybAqOy2iN30Rug== + dependencies: + "@jest/expect" "^30.5.1" + "@jest/fake-timers" "^30.5.1" + jest-circus "^30.5.1" + jest-each "^30.5.1" + jest-mock "^30.5.1" + jest-snapshot "^30.5.1" + p-limit "^7.3.2" + supports-color "^11.0.0" + tinypool "^2.2.0" jest-matcher-utils@30.5.2: version "30.5.2" @@ -3853,7 +3853,7 @@ jest-message-util@30.5.1: slash "^3.0.0" stack-utils "^2.0.6" -jest-mock@30.5.2, jest-mock@^30.0.0: +jest-mock@30.5.2, jest-mock@^30.5.1: version "30.5.2" resolved "https://registry.yarnpkg.com/jest-mock/-/jest-mock-30.5.2.tgz#78a8e24589113fa95a96c70d14b3c01c6116c2c2" integrity sha512-KTHb37Fhj8xY8qPFvTFaFJHcdsumQp+ExsUlgoX232Agmc706gagBs53+CYvulV7MVQo9AgXOUxsqzzVBoJlrA== @@ -3951,7 +3951,7 @@ jest-snapshot-serializer-raw@^2.0.0: resolved "https://registry.yarnpkg.com/jest-snapshot-serializer-raw/-/jest-snapshot-serializer-raw-2.0.0.tgz#c2be865a20feb2b4d9fa4bbac8c48ce1c6dbfa10" integrity sha512-E/gWFBAltOPQVAvafH/zYkob3G/TqL/DFG3fHurinwLcFRkz6kASjuihyJJ6zoizlLUNaiOdS3v5ZflTvifpBA== -jest-snapshot@30.5.2, jest-snapshot@^30.0.0: +jest-snapshot@30.5.2, jest-snapshot@^30.5.1: version "30.5.2" resolved "https://registry.yarnpkg.com/jest-snapshot/-/jest-snapshot-30.5.2.tgz#494e37565d2201ea725c3582252083ef1b6be85b" integrity sha512-jKIdes25AnAH73dOCi2qE6J6vHJ6L2vyBS11M89kT50DVJcLTf2AOjvcc+2vVaN8lUbY5v2R83aqXo3Ro9fqYA== @@ -4419,12 +4419,12 @@ p-limit@^3.0.2, p-limit@^3.1.0: dependencies: yocto-queue "^0.1.0" -p-limit@^6.2.0: - version "6.2.0" - resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-6.2.0.tgz#c254d22ba6aeef441a3564c5e6c2f2da59268a0f" - integrity sha512-kuUqqHNUqoIWp/c467RI4X6mmyuojY5jGutNU0wVTmEOOfcuwLqyMVoAi9MKi2Ak+5i9+nhmrK4ufZE8069kHA== +p-limit@^7.3.2: + version "7.3.3" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-7.3.3.tgz#43464e7094180d03bb0f53f576d9f2cd457b2921" + integrity sha512-SKgVvDU5TNIxQ4r30U75BNLC6a+6GOEjngrk/ysM5+Zu3oJuk1SC5ApzIzY/7PjCEjoVPMWJ0zho/4QUiEB7TQ== dependencies: - yocto-queue "^1.1.1" + yocto-queue "^1.2.1" p-locate@^4.1.0: version "4.1.0" @@ -5071,6 +5071,11 @@ strip-json-comments@^3.1.1: resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== +supports-color@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-11.0.0.tgz#54f4096e9cac614c6f273dc764e697e3c2c3941d" + integrity sha512-/zyImLdxhdygBIaVX0xTlQhKaCDLCrm665aqHk8xqK/Pa6k61fL6gwQGQq1k31yNyz6x55PppQgF2DMyPQa5xw== + supports-color@^7.1.0: version "7.2.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" @@ -5085,11 +5090,6 @@ supports-color@^8.1.1: dependencies: has-flag "^4.0.0" -supports-color@^9.2.1: - version "9.4.0" - resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-9.4.0.tgz#17bfcf686288f531db3dea3215510621ccb55954" - integrity sha512-VL+lNrEoIXww1coLPOmiEmK/0sGigko5COxI09KzHc2VJXJsQ37UaQ+8quuxjDeA7+KnLGTWRyOXSLLR2Wb4jw== - supports-preserve-symlinks-flag@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" @@ -5156,10 +5156,10 @@ tinyglobby@^0.2.15: fdir "^6.5.0" picomatch "^4.0.4" -tinypool@0.8.4: - version "0.8.4" - resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-0.8.4.tgz#e217fe1270d941b39e98c625dcecebb1408c9aa8" - integrity sha512-i11VH5gS6IFeLY3gMBQ00/MmLncVP7JLXOw1vlgkytLmJK7QnEr7NXf0LBdxfmNPAeyetukOk0bOYrJrFGjYJQ== +tinypool@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/tinypool/-/tinypool-2.2.0.tgz#cbd3f850b02f132ad288546bbc14c42cd93b32e5" + integrity sha512-jBrmx4lYmaC9k/mgPbylxs7kBUxHtD8256up+HjLaDFfXScKJQyil+SWXSvhAtT7XHo+yTVlpB81PGmHP8oLSQ== tldts-core@^6.1.86: version "6.1.86" @@ -5581,7 +5581,7 @@ yocto-queue@^0.1.0: resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== -yocto-queue@^1.1.1: +yocto-queue@^1.2.1: version "1.2.2" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-1.2.2.tgz#3e09c95d3f1aa89a58c114c99223edf639152c00" integrity sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ== From 19a7b27413547ccf0cd2cab504f5662224153f86 Mon Sep 17 00:00:00 2001 From: fisker Date: Tue, 20 Oct 2026 12:40:49 +0800 Subject: [PATCH 2/3] Fix --- .github/workflows/nodejs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 6db0a7446..f08f96c69 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -44,9 +44,9 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: "yarn" - - run: yarn install jest-light-runner@0.7.13 + - run: yarn add jest-light-runner@0.7.13 if: ${{ matrix.node-version == '20.x'}} - - run: yarn install --frozen-lockfile + - run: yarn --frozen-lockfile if: ${{ matrix.node-version != '20.x'}} - run: yarn c8 yarn test:node - uses: codecov/codecov-action@v7 From f552200b04061638f6062007f88e209269254e15 Mon Sep 17 00:00:00 2001 From: fisker Date: Tue, 20 Oct 2026 12:42:07 +0800 Subject: [PATCH 3/3] Use `yarn upgrade` --- .github/workflows/nodejs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index f08f96c69..0ac837c09 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -44,7 +44,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: "yarn" - - run: yarn add jest-light-runner@0.7.13 + - run: yarn upgrade jest-light-runner@0.7.13 if: ${{ matrix.node-version == '20.x'}} - run: yarn --frozen-lockfile if: ${{ matrix.node-version != '20.x'}}