Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bazel/rules/rules_browsers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@types/jasmine": "^6.0.0",
"@types/node": "^22.14.0",
"@web/dev-server-rollup": "^0.6.4",
"@web/test-runner": "^0.20.2",
"@web/test-runner": "^1.0.0",
"@web/test-runner-core": "^0.13.4",
Comment on lines +24 to 25

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Updating @web/test-runner to ^1.0.0 while leaving @web/test-runner-core at ^0.13.4 introduces a critical version mismatch.

Specifically, in wtr.config.mjs, the configuration reads the browser session script directly from the file system:

'../node_modules/@web/test-runner-core/browser/session.js'

Because @web/test-runner-core is pinned to ^0.13.4 in package.json, pnpm will install the old v0.13.4 version at the top-level node_modules. This means the test runner (running v1.0.0) will serve the old v0.13.4 session script to the browser, which is highly likely to cause runtime errors or communication failures.

Please update @web/test-runner-core to ^1.0.0 to ensure version alignment. You should also consider updating @web/dev-server-rollup and @web/test-runner-puppeteer to their corresponding major versions to avoid other potential incompatibilities.

Suggested change
"@web/test-runner": "^1.0.0",
"@web/test-runner-core": "^0.13.4",
"@web/test-runner": "^1.0.0",
"@web/test-runner-core": "^1.0.0",

"@web/test-runner-puppeteer": "^0.18.0",
"get-port": "^7.1.0",
Expand Down
226 changes: 224 additions & 2 deletions bazel/rules/rules_browsers/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.