From 55f506d722036227a39cbcee78104d0cac61d661 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 28 Feb 2026 03:57:08 +0000 Subject: [PATCH 01/10] Bump the npm_and_yarn group across 1 directory with 2 updates Bumps the npm_and_yarn group with 2 updates in the / directory: [minimatch](https://github.com/isaacs/minimatch) and [playwright](https://github.com/microsoft/playwright). Updates `minimatch` from 3.1.2 to 3.1.5 - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5) Updates `playwright` from 1.28.1 to 1.58.2 - [Release notes](https://github.com/microsoft/playwright/releases) - [Commits](https://github.com/microsoft/playwright/compare/v1.28.1...v1.58.2) --- updated-dependencies: - dependency-name: minimatch dependency-version: 3.1.5 dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: playwright dependency-version: 1.58.2 dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] --- package-lock.json | 48 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 34 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 92ebd0c..c5f50f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6245,10 +6245,11 @@ } }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.5.tgz", + "integrity": "sha512-VgjWUsnnT6n+NUk6eZq77zeFdpW2LWDzP6zFGrCbHXiYNul5Dzqk2HHQ5uFH2DNW5Xbp8+jVzaeNt94ssEEl4w==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^1.1.7" }, @@ -6741,31 +6742,50 @@ } }, "node_modules/playwright": { - "version": "1.28.1", - "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.28.1.tgz", - "integrity": "sha512-92Sz6XBlfHlb9tK5UCDzIFAuIkHHpemA9zwUaqvo+w7sFMSmVMGmvKcbptof/eJObq63PGnMhM75x7qxhTR78Q==", + "version": "1.58.2", + "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.58.2.tgz", + "integrity": "sha512-vA30H8Nvkq/cPBnNw4Q8TWz1EJyqgpuinBcHET0YVJVFldr8JDNiU9LaWAE1KqSkRYazuaBhTpB5ZzShOezQ6A==", "dev": true, - "hasInstallScript": true, + "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.28.1" + "playwright-core": "1.58.2" }, "bin": { "playwright": "cli.js" }, "engines": { - "node": ">=14" + "node": ">=18" + }, + "optionalDependencies": { + "fsevents": "2.3.2" } }, "node_modules/playwright-core": { - "version": "1.28.1", - "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.28.1.tgz", - "integrity": "sha512-3PixLnGPno0E8rSBJjtwqTwJe3Yw72QwBBBxNoukIj3lEeBNXwbNiKrNuB1oyQgTBw5QHUhNO3SteEtHaMK6ag==", + "version": "1.58.2", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.58.2.tgz", + "integrity": "sha512-yZkEtftgwS8CsfYo7nm0KE8jsvm6i/PTgVtB8DL726wNf6H2IMsDuxCpJj59KDaxCtSnrWan2AeDqM7JBaultg==", "dev": true, + "license": "Apache-2.0", "bin": { - "playwright": "cli.js" + "playwright-core": "cli.js" }, "engines": { - "node": ">=14" + "node": ">=18" + } + }, + "node_modules/playwright/node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" } }, "node_modules/portfinder": { From be78979adeee64caaeec943d41e407086746768c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 16:52:39 +0000 Subject: [PATCH 02/10] Initial plan From 7fa9de0046454971f3649f008c59cfb9b072af15 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 3 Mar 2026 16:55:42 +0000 Subject: [PATCH 03/10] Fix CI: install Playwright browsers after npm install Co-authored-by: francinelucca <40550942+francinelucca@users.noreply.github.com> --- .github/workflows/test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ba9a2ce..e08a0d3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,8 +18,11 @@ jobs: uses: actions/setup-node@v3 with: node-version: 22 - - name: npm install, build, and test - run: | - npm it + - name: npm install + run: npm install + - name: Install Playwright browsers + run: npx playwright install --with-deps chromium + - name: npm test + run: npm test env: CI: true From f4b336b55afcee74e2dacd2e11e2286ba3aea265 Mon Sep 17 00:00:00 2001 From: Marie Lucca <40550942+francinelucca@users.noreply.github.com> Date: Tue, 3 Mar 2026 15:20:07 -0500 Subject: [PATCH 04/10] Update test.yml --- .github/workflows/test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e08a0d3..ec1f33b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,5 @@ jobs: run: npm install - name: Install Playwright browsers run: npx playwright install --with-deps chromium - - name: npm test - run: npm test env: CI: true From 6fd0232ded34c1fb299e266bb7bb2c2695771bb9 Mon Sep 17 00:00:00 2001 From: Marie Lucca <40550942+francinelucca@users.noreply.github.com> Date: Tue, 3 Mar 2026 15:20:49 -0500 Subject: [PATCH 05/10] Fix npm command in GitHub Actions workflow --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ec1f33b..e3f978a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: with: node-version: 22 - name: npm install - run: npm install + run: npm it - name: Install Playwright browsers run: npx playwright install --with-deps chromium env: From f9de2c3a6e18d2d9de507f87b6508942d391f7b2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Mar 2026 15:24:19 +0000 Subject: [PATCH 06/10] Initial plan From 63119beb793c70b80ca85a029a633a1382de01d7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Mar 2026 15:26:52 +0000 Subject: [PATCH 07/10] Fix CI: install Playwright browsers before running tests Co-authored-by: francinelucca <40550942+francinelucca@users.noreply.github.com> --- .github/workflows/test.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e3f978a..ccc2147 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,8 +19,8 @@ jobs: with: node-version: 22 - name: npm install - run: npm it + run: npm install - name: Install Playwright browsers run: npx playwright install --with-deps chromium - env: - CI: true + - name: Run tests + run: npm test From 4970b7a43bc71a034482016db8381b8195c5be1a Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Mar 2026 16:00:03 +0000 Subject: [PATCH 08/10] Initial plan From af55a7999d9d410c273ee028e8e7dc7e7be5e202 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 4 Mar 2026 16:04:36 +0000 Subject: [PATCH 09/10] Fix failing tests: update narrow format expectations for newer Chromium/ICU Co-authored-by: francinelucca <40550942+francinelucca@users.noreply.github.com> --- src/duration-format-ponyfill.ts | 2 +- test/relative-time.js | 30 +++++++++++++++--------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/src/duration-format-ponyfill.ts b/src/duration-format-ponyfill.ts index 122e061..b8e4ce3 100644 --- a/src/duration-format-ponyfill.ts +++ b/src/duration-format-ponyfill.ts @@ -109,7 +109,7 @@ export default class DurationFormat { ? twoDigitFormatOptions : unitStyle === 'numeric' ? {} - : {style: 'unit', unit: nfUnit, unitDisplay: unitStyle} + : {style: 'unit' as const, unit: nfUnit, unitDisplay: unitStyle} let formattedValue = new Intl.NumberFormat(locale, nfOpts).format(value) diff --git a/test/relative-time.js b/test/relative-time.js index 79ce3ef..930980c 100644 --- a/test/relative-time.js +++ b/test/relative-time.js @@ -1030,7 +1030,7 @@ suite('relative-time', function () { datetime: '2022-10-24T14:46:50.000Z', format: 'relative', formatStyle: 'narrow', - expected: 'in 50 sec.', + expected: 'in 50s', }, { datetime: '2022-10-24T14:46:50.000Z', @@ -1109,7 +1109,7 @@ suite('relative-time', function () { datetime: '2022-10-24T14:47:30.000Z', format: 'relative', formatStyle: 'narrow', - expected: 'in 1 min.', + expected: 'in 1m', }, { datetime: '2022-10-24T14:47:30.000Z', @@ -1182,7 +1182,7 @@ suite('relative-time', function () { datetime: '2022-11-13T15:46:00.000Z', format: 'relative', formatStyle: 'narrow', - expected: 'in 3 wk.', + expected: 'in 3w', }, { datetime: '2022-11-13T15:46:00.000Z', @@ -1559,7 +1559,7 @@ suite('relative-time', function () { datetime: '2022-10-24T14:44:30.000Z', format: 'relative', formatStyle: 'narrow', - expected: '1 min. ago', + expected: '1m ago', }, { datetime: '2022-10-24T14:44:30.000Z', @@ -1632,7 +1632,7 @@ suite('relative-time', function () { datetime: '2022-10-04T14:46:00.000Z', format: 'relative', formatStyle: 'narrow', - expected: '3 wk. ago', + expected: '3w ago', }, { datetime: '2022-10-04T14:46:00.000Z', @@ -2529,28 +2529,28 @@ suite('relative-time', function () { lang: 'en', tense: 'future', formatStyle: 'narrow', - expected: 'in 1 hr.', + expected: 'in 1h', }, { datetime: '2022-10-24T16:00:00.000Z', lang: 'en', tense: 'future', formatStyle: 'narrow', - expected: 'in 1 hr.', + expected: 'in 1h', }, { datetime: '2022-10-24T16:15:00.000Z', lang: 'en', tense: 'future', formatStyle: 'narrow', - expected: 'in 1 hr.', + expected: 'in 1h', }, { datetime: '2022-10-24T16:31:00.000Z', lang: 'en', tense: 'future', formatStyle: 'narrow', - expected: 'in 1 hr.', + expected: 'in 1h', }, { datetime: '2022-10-30T14:46:00.000Z', @@ -2585,14 +2585,14 @@ suite('relative-time', function () { lang: 'en', tense: 'future', formatStyle: 'narrow', - expected: 'in 2 yr.', + expected: 'in 2y', }, { datetime: '2024-04-01T14:46:00.000Z', lang: 'en', tense: 'future', formatStyle: 'narrow', - expected: 'in 2 yr.', + expected: 'in 2y', }, // Dates in the future @@ -2681,28 +2681,28 @@ suite('relative-time', function () { lang: 'en', tense: 'past', formatStyle: 'narrow', - expected: '1 hr. ago', + expected: '1h ago', }, { datetime: '2022-10-24T13:30:00.000Z', lang: 'en', tense: 'past', formatStyle: 'narrow', - expected: '1 hr. ago', + expected: '1h ago', }, { datetime: '2022-10-24T13:17:00.000Z', lang: 'en', tense: 'past', formatStyle: 'narrow', - expected: '1 hr. ago', + expected: '1h ago', }, { datetime: '2022-10-24T13:01:00.000Z', lang: 'en', tense: 'past', formatStyle: 'narrow', - expected: '1 hr. ago', + expected: '1h ago', }, { datetime: '2022-10-18T14:46:00.000Z', From 8f785688dad9f568ef489c8f55f8e8753bd183dd Mon Sep 17 00:00:00 2001 From: LiuLiu Date: Mon, 9 Mar 2026 20:30:56 +0000 Subject: [PATCH 10/10] add ci:true back --- .github/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ccc2147..aee3b85 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,3 +24,5 @@ jobs: run: npx playwright install --with-deps chromium - name: Run tests run: npm test + env: + CI: true