From 54af78aa0095df576e5c66b5ea81d9beb8635f6a Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 29 Oct 2026 07:54:07 +0000 Subject: [PATCH 1/3] Update dependency @biomejs/biome to v2.6.3 --- package-lock.json | 106 +++++++++++++++++++++++++++++++--------------- 1 file changed, 71 insertions(+), 35 deletions(-) diff --git a/package-lock.json b/package-lock.json index 18fae7d..d4f63b1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,9 +50,9 @@ } }, "node_modules/@biomejs/biome": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.5.15.tgz", - "integrity": "sha512-WZTW4slm/pdkh92K6t/3aEN++44JD1PQ7squ7RCMLI1flHGl43DVOIGXvCjHiZgBMO1V4uYxoFNtqrIA4qGuIQ==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.6.3.tgz", + "integrity": "sha512-va/0xPku7wnfzv+D8Zpdm5uKiGJWiV8neqoEPnRjvNQQwhl4tVXS4fETs4H0CCB2rGeqJ4cu9y4iOZOnOYKAUA==", "dev": true, "license": "MIT OR Apache-2.0", "bin": { @@ -66,20 +66,56 @@ "url": "https://opencollective.com/biome" }, "optionalDependencies": { - "@biomejs/cli-darwin-arm64": "2.5.15", - "@biomejs/cli-darwin-x64": "2.5.15", - "@biomejs/cli-linux-arm64": "2.5.15", - "@biomejs/cli-linux-arm64-musl": "2.5.15", - "@biomejs/cli-linux-x64": "2.5.15", - "@biomejs/cli-linux-x64-musl": "2.5.15", - "@biomejs/cli-win32-arm64": "2.5.15", - "@biomejs/cli-win32-x64": "2.5.15" + "@biomejs/cli-android-arm64": "2.6.3", + "@biomejs/cli-android-x64": "2.6.3", + "@biomejs/cli-darwin-arm64": "2.6.3", + "@biomejs/cli-darwin-x64": "2.6.3", + "@biomejs/cli-linux-arm64": "2.6.3", + "@biomejs/cli-linux-arm64-musl": "2.6.3", + "@biomejs/cli-linux-x64": "2.6.3", + "@biomejs/cli-linux-x64-musl": "2.6.3", + "@biomejs/cli-win32-arm64": "2.6.3", + "@biomejs/cli-win32-x64": "2.6.3" + } + }, + "node_modules/@biomejs/cli-android-arm64": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-android-arm64/-/cli-android-arm64-2.6.3.tgz", + "integrity": "sha512-5JD7QQDEHxdeEb4sftEHG+lsuUyu8Cob/hVLqRELbgGlFl68Rldv/PPi2k4dRjERZ/EItJ3O6Xmv8lqsEtUBiw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.21.3" + } + }, + "node_modules/@biomejs/cli-android-x64": { + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-android-x64/-/cli-android-x64-2.6.3.tgz", + "integrity": "sha512-70WOGKCgpT+Uqg6LFdTLqefV54/DypdZg+LnBQDO6AWvkgXO+9xhVClajQyDsIHYjnXMtI1pRO5sP+zMXlS/bw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT OR Apache-2.0", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=14.21.3" } }, "node_modules/@biomejs/cli-darwin-arm64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.5.15.tgz", - "integrity": "sha512-BZVzFhJ/mUvTLMYbc9x6el0o2Uv5zP7bACYyhFb6fSc1giroXm7PL0a5KqMJ9F+/BnkYRjagD/ROSDVOZ6eapg==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.6.3.tgz", + "integrity": "sha512-ezf+XEKeyJ2yYlBhrzyEEHLvfRYrhtNKc6maLzR/WcAcBccb4RVDeFxsymjBve2LO0bpIMRUAiS90D4bUBRT0A==", "cpu": [ "arm64" ], @@ -94,9 +130,9 @@ } }, "node_modules/@biomejs/cli-darwin-x64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.5.15.tgz", - "integrity": "sha512-V5Kw63V+fVGNFhFrizDxMbGXAzZCh8kYzJpy3GI6gTapWDg7bZK9oYC9CbVgQSEdTnupz0U5Efz8Ev+5vdBBXw==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.6.3.tgz", + "integrity": "sha512-Lg2tFdg4elJo+7i707PpLMs6N1hATVt4kqDo6MD/q/VnPs8rsKReKXsz1TA5GNdfRVAQNJ5GRiyK2EwNptK+MA==", "cpu": [ "x64" ], @@ -111,9 +147,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.5.15.tgz", - "integrity": "sha512-XaG7P7eeSLYETD3K9grfB0mQmpLQZjygdbsxekWBJAg4am79fGAtRpfRyNnTvXB2fZFNnJZG3nXm7HBat0+VUw==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.6.3.tgz", + "integrity": "sha512-8Stcvq98n1gs9VyLKuaWrnsd8kbXE2nKDAHtuLHGSYdGyNWN5JIIm5a28xdnmgdKzKHmiDgYyATetkEv7+zGow==", "cpu": [ "arm64" ], @@ -131,9 +167,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64-musl": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.5.15.tgz", - "integrity": "sha512-tGzZUTcJCV7tj5Adh/Gn6nR4MycqA3iohq2LEcrarAgRBkU0h0OKd2UzCRkOsOYOuUGaUJb4YmqRqyy2feGGSw==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.6.3.tgz", + "integrity": "sha512-dYU70A89OFHzakQPE9VOPbE60JNcQt4mtxvUGQl+EgTkGtqCFxLD2RUn1SbiMu8Mu5xFscS1bfYDpoasaUrqNA==", "cpu": [ "arm64" ], @@ -151,9 +187,9 @@ } }, "node_modules/@biomejs/cli-linux-x64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.5.15.tgz", - "integrity": "sha512-xE4iEW/3LqlYj9GFgGrFsFSH51dEEpUbYWBfeOv0q87WkUDxK2o/HhreSb7qMJqck70RVM6Lg96hgedcAYcOkA==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.6.3.tgz", + "integrity": "sha512-CShmx0bO6BngywT3minv8K1xsQX1ig1vsBqYTLnmDY3mBiDYHlaLRIsdHoM1pEU9dV3BN5a0uiH0IGDtYh9TWA==", "cpu": [ "x64" ], @@ -171,9 +207,9 @@ } }, "node_modules/@biomejs/cli-linux-x64-musl": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.5.15.tgz", - "integrity": "sha512-IlxUcyxilVGPsE008x13pWdkTbU3nQpP2i9b5UrbOYj6goBkKsRX1XB7yJLcV+O1H9LBchIIm4adOaVLZBX0ZQ==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.6.3.tgz", + "integrity": "sha512-j6eFjUcWSphmgVTbrobEMA0wdbfNHKrGi8hRsFkc17jeS1n7nHwFACxp6jWqe9sxQqyFAeyOgt2/1bOGVcbATA==", "cpu": [ "x64" ], @@ -191,9 +227,9 @@ } }, "node_modules/@biomejs/cli-win32-arm64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.5.15.tgz", - "integrity": "sha512-2kPKzhNlm8C+Ru3GcO0Me2ODkCBLrVOUNuyi84RJyWDVKAA4+Kjj3jMjL938lF6BRfvltC4vB2nPY9SvN51Ovg==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.6.3.tgz", + "integrity": "sha512-00SthDxBPwNiT7IL/mOneif6fiEU1PXK875zhr+InpeZjovY1mF5tCuDhXo1Hh0GYyiKHKzLbItzn58SAyLhJQ==", "cpu": [ "arm64" ], @@ -208,9 +244,9 @@ } }, "node_modules/@biomejs/cli-win32-x64": { - "version": "2.5.15", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.5.15.tgz", - "integrity": "sha512-yAzh4UqEImV6Hcy0zjUqNfJAsUhoD64FBQCdTG8Md/Z2wQeVP/ZmJ3XRYAs1g8J9fjTFyl2fCtc5FB5til47+g==", + "version": "2.6.3", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.6.3.tgz", + "integrity": "sha512-GhtOPphBWlnCepqpNk/w5eGN5oGRCzL20EbAkL1XCIpyboeVC9R642noyT43l8LSenGS4qz9IL8sKPfwY37V/Q==", "cpu": [ "x64" ], From a0db7cb6d43f4891efc9028511c5a6a1544ba649 Mon Sep 17 00:00:00 2001 From: David Goss Date: Thu, 29 Oct 2026 15:27:27 +0000 Subject: [PATCH 2/3] Apply Biome 2.6 formatting and skip generated API report --- .github/workflows/codeql-javascript.yaml | 6 ++--- .github/workflows/release-github.yaml | 2 +- .github/workflows/release-npm.yaml | 6 ++--- .github/workflows/release-site.yaml | 2 +- .github/workflows/test.yaml | 2 +- .github/workflows/zizmor-analysis.yaml | 6 ++--- CHANGELOG.md | 31 ++++++++++++++++++++++++ biome.json | 3 +++ 8 files changed, 46 insertions(+), 12 deletions(-) diff --git a/.github/workflows/codeql-javascript.yaml b/.github/workflows/codeql-javascript.yaml index fc46755..75089d5 100644 --- a/.github/workflows/codeql-javascript.yaml +++ b/.github/workflows/codeql-javascript.yaml @@ -1,6 +1,6 @@ name: codeql-javascript -permissions: { } +permissions: {} on: push: @@ -10,7 +10,7 @@ on: branches: - main schedule: - - cron: '30 5 * * 1' + - cron: "30 5 * * 1" concurrency: # Cancels in-progress runs only for pull requests @@ -20,7 +20,7 @@ concurrency: jobs: analyze: name: Analyze JavaScript - runs-on: 'ubuntu-latest' + runs-on: "ubuntu-latest" permissions: security-events: write steps: diff --git a/.github/workflows/release-github.yaml b/.github/workflows/release-github.yaml index d62d15f..e673496 100644 --- a/.github/workflows/release-github.yaml +++ b/.github/workflows/release-github.yaml @@ -4,7 +4,7 @@ permissions: {} on: push: - branches: [release/*] + branches: [ release/* ] jobs: create-github-release: diff --git a/.github/workflows/release-npm.yaml b/.github/workflows/release-npm.yaml index 19e2009..f19d77b 100644 --- a/.github/workflows/release-npm.yaml +++ b/.github/workflows/release-npm.yaml @@ -4,7 +4,7 @@ permissions: {} on: push: - branches: [release/*] + branches: [ release/* ] jobs: publish-npm: @@ -20,8 +20,8 @@ jobs: persist-credentials: false - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: - node-version: '24.x' - registry-url: 'https://registry.npmjs.org' + node-version: "24.x" + registry-url: "https://registry.npmjs.org" package-manager-cache: false - run: npm install-ci-test - run: npm publish diff --git a/.github/workflows/release-site.yaml b/.github/workflows/release-site.yaml index 04f8ec2..310aab6 100644 --- a/.github/workflows/release-site.yaml +++ b/.github/workflows/release-site.yaml @@ -4,7 +4,7 @@ permissions: {} on: push: - branches: [release/*] + branches: [ release/* ] jobs: upload-artifact: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 1d4e1ea..be8674e 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -19,7 +19,7 @@ jobs: - ubuntu-latest - macos-latest - windows-latest - node-version: [22.x, 24.x, 26.x] + node-version: [ 22.x, 24.x, 26.x ] fail-fast: false steps: diff --git a/.github/workflows/zizmor-analysis.yaml b/.github/workflows/zizmor-analysis.yaml index 11d136a..798cca5 100644 --- a/.github/workflows/zizmor-analysis.yaml +++ b/.github/workflows/zizmor-analysis.yaml @@ -4,12 +4,12 @@ on: push: branches: - main - - 'releases/**' + - "releases/**" paths: - - '.github/**' + - ".github/**" pull_request: paths: - - '.github/**' + - ".github/**" permissions: {} diff --git a/CHANGELOG.md b/CHANGELOG.md index c94409f..0133fb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,69 +8,100 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ## [0.10.0] - 2026-09-24 + ### Added + - Support both datatable and docstring ([#136](https://github.com/cucumber/javascript-core/pull/136)) ## [0.9.0] - 2026-06-11 + ### Changed + - BREAKING CHANGE: Switch to ESM ([#70](https://github.com/cucumber/javascript-core/pull/70)) ## [0.8.3] - 2026-01-27 + ### Changed + - Allow ExpressionsGroup.children to be optional ([#43](https://github.com/cucumber/javascript-core/pull/43)) ## [0.8.2] - 2026-01-12 + ### Changed + - Return messages in definition order ([#36](https://github.com/cucumber/javascript-core/pull/36)) ## [0.8.1] - 2025-11-28 + ### Added + - Add `getAllSources()` method to `SupportCodeLibrary` ([#34r](https://github.com/cucumber/javascript-core/pull/34)) ## [0.8.0] - 2025-11-25 + ### Changed + - BREAKING CHANGE: Make `prepare()` less prescriptive ([#32](https://github.com/cucumber/javascript-core/pull/32)) ## [0.7.0] - 2025-11-19 + ### Changed + - Require messages v31 or greater ([#30](https://github.com/cucumber/javascript-core/pull/30)) ## [0.6.0] - 2025-11-17 + ### Added + - Include `pickleId` in `AssembledTestCase` ([#26](https://github.com/cucumber/javascript-core/pull/26)) ## [0.5.1] - 2025-09-17 ## [0.5.0] - 2025-09-08 + ### Added + - Add `pickleStep` to `UndefinedError` ([#13](https://github.com/cucumber/javascript-core/pull/13)) - Add `getExpressionGenerator()` to `SupportCodeLibrary` ([#13](https://github.com/cucumber/javascript-core/pull/13)) ## [0.4.1] - 2025-09-05 + ### Fixed + - Use RegExp.source to represent regular expression in messages ([#12](https://github.com/cucumber/javascript-core/pull/12)) ## [0.4.0] - 2025-08-26 + ### Added + - Add global hooks ([#10](https://github.com/cucumber/javascript-core/pull/10)) ## [0.3.0] - 2025-07-30 + ### Added + - Add `sourceReference` to test cases and test steps in plan ([#5](https://github.com/cucumber/javascript-core/pull/5)) ### Changed + - BREAKING CHANGE: Rename `AssembledStep` to `AssembledTestStep` ([#5](https://github.com/cucumber/javascript-core/pull/5)) ## [0.2.1] - 2025-07-24 + ### Fixed + - Make `testRunStartedId` optional ([#4](https://github.com/cucumber/javascript-core/pull/4)) ## [0.2.0] - 2025-07-24 + ### Added + - BREAKING CHANGE: Add `testRunStartedId` to `TestPlanIngredients` ([#3](https://github.com/cucumber/javascript-core/pull/3)) ## [0.1.0] - 2025-07-24 + ### Added + - Initial implementation ([#1](https://github.com/cucumber/javascript-core/pull/1)) [Unreleased]: https://github.com/cucumber/javascript-core/compare/v0.10.0...HEAD diff --git a/biome.json b/biome.json index 0918701..90a16b4 100644 --- a/biome.json +++ b/biome.json @@ -1,6 +1,9 @@ { "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", "extends": ["./node_modules/@cucumber/biome-config/base.json"], + "files": { + "includes": ["!cucumber-core.api.md"] + }, "overrides": [ { "includes": [ From a85c77a24d7037eac5115cc7148fb5a8a7b7c1e3 Mon Sep 17 00:00:00 2001 From: David Goss Date: Sun, 8 Nov 2026 10:27:57 +0000 Subject: [PATCH 3/3] Exclude CHANGELOG.md from Biome formatting --- CHANGELOG.md | 31 ------------------------------- biome.json | 2 +- 2 files changed, 1 insertion(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0133fb7..c94409f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,100 +8,69 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ## [0.10.0] - 2026-09-24 - ### Added - - Support both datatable and docstring ([#136](https://github.com/cucumber/javascript-core/pull/136)) ## [0.9.0] - 2026-06-11 - ### Changed - - BREAKING CHANGE: Switch to ESM ([#70](https://github.com/cucumber/javascript-core/pull/70)) ## [0.8.3] - 2026-01-27 - ### Changed - - Allow ExpressionsGroup.children to be optional ([#43](https://github.com/cucumber/javascript-core/pull/43)) ## [0.8.2] - 2026-01-12 - ### Changed - - Return messages in definition order ([#36](https://github.com/cucumber/javascript-core/pull/36)) ## [0.8.1] - 2025-11-28 - ### Added - - Add `getAllSources()` method to `SupportCodeLibrary` ([#34r](https://github.com/cucumber/javascript-core/pull/34)) ## [0.8.0] - 2025-11-25 - ### Changed - - BREAKING CHANGE: Make `prepare()` less prescriptive ([#32](https://github.com/cucumber/javascript-core/pull/32)) ## [0.7.0] - 2025-11-19 - ### Changed - - Require messages v31 or greater ([#30](https://github.com/cucumber/javascript-core/pull/30)) ## [0.6.0] - 2025-11-17 - ### Added - - Include `pickleId` in `AssembledTestCase` ([#26](https://github.com/cucumber/javascript-core/pull/26)) ## [0.5.1] - 2025-09-17 ## [0.5.0] - 2025-09-08 - ### Added - - Add `pickleStep` to `UndefinedError` ([#13](https://github.com/cucumber/javascript-core/pull/13)) - Add `getExpressionGenerator()` to `SupportCodeLibrary` ([#13](https://github.com/cucumber/javascript-core/pull/13)) ## [0.4.1] - 2025-09-05 - ### Fixed - - Use RegExp.source to represent regular expression in messages ([#12](https://github.com/cucumber/javascript-core/pull/12)) ## [0.4.0] - 2025-08-26 - ### Added - - Add global hooks ([#10](https://github.com/cucumber/javascript-core/pull/10)) ## [0.3.0] - 2025-07-30 - ### Added - - Add `sourceReference` to test cases and test steps in plan ([#5](https://github.com/cucumber/javascript-core/pull/5)) ### Changed - - BREAKING CHANGE: Rename `AssembledStep` to `AssembledTestStep` ([#5](https://github.com/cucumber/javascript-core/pull/5)) ## [0.2.1] - 2025-07-24 - ### Fixed - - Make `testRunStartedId` optional ([#4](https://github.com/cucumber/javascript-core/pull/4)) ## [0.2.0] - 2025-07-24 - ### Added - - BREAKING CHANGE: Add `testRunStartedId` to `TestPlanIngredients` ([#3](https://github.com/cucumber/javascript-core/pull/3)) ## [0.1.0] - 2025-07-24 - ### Added - - Initial implementation ([#1](https://github.com/cucumber/javascript-core/pull/1)) [Unreleased]: https://github.com/cucumber/javascript-core/compare/v0.10.0...HEAD diff --git a/biome.json b/biome.json index 90a16b4..2a94209 100644 --- a/biome.json +++ b/biome.json @@ -2,7 +2,7 @@ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", "extends": ["./node_modules/@cucumber/biome-config/base.json"], "files": { - "includes": ["!cucumber-core.api.md"] + "includes": ["!cucumber-core.api.md", "!CHANGELOG.md"] }, "overrides": [ {