Skip to content
Merged
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
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,19 @@
"@eslint/js": "9.39.2",
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
"@lwc/test-utils-lwc-internals": "link:./scripts/test-utils",
"@nx/js": "22.3.0",
"@nx/js": "22.3.3",
"@rollup/plugin-commonjs": "^29.0.0",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@swc-node/register": "~1.11.1",
"@swc/core": "~1.15.5",
"@swc/core": "~1.15.7",
"@swc/helpers": "~0.5.17",
"@types/babel__core": "^7.20.5",
"@types/node": "^22.19.1",
"@vitest/coverage-v8": "4.0.16",
"@vitest/eslint-plugin": "1.5.2",
"@vitest/eslint-plugin": "1.5.4",
"@vitest/spy": "4.0.16",
"@vitest/ui": "4.0.16",
"bytes": "^3.1.2",
Expand All @@ -67,9 +67,9 @@
"jsdom": "^27.3.0",
"lint-staged": "^16.2.7",
"magic-string": "^0.30.21",
"nx": "22.3.0",
"nx": "22.3.3",
"prettier": "^3.7.2",
"rollup": "^4.53.3",
"rollup": "^4.54.0",
"terser": "^5.44.1",
"tslib": "^2.8.1",
"typescript": "5.8.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/integration-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"devDependencies": {
"@rollup/plugin-replace": "^6.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"rollup": "^4.53.3",
"rollup": "^4.54.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^3.0.0"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/integration-wtr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@web/test-runner-playwright": "^0.11.1",
"@web/test-runner-saucelabs": "^0.13.0",
"chai": "^6.2.0",
"playwright": "^1.56.1"
"playwright": "^1.57.0"
},
"volta": {
"extends": "../../../package.json"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { catchUnhandledRejectionsAndErrors } from '../../../helpers/utils.js';
//
// elm.innerHTML = '<div a`b`c></div>'
//
// Fails with: Uncaught InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': 'a`b`c' is not a valid attribute name.
// Fails in some browsers with: Uncaught InvalidCharacterError: Failed to execute 'setAttribute' on 'Element': 'a`b`c' is not a valid attribute name.
//
// elm.setAttribute(theName, 'a`b`c')
//
Expand Down Expand Up @@ -51,7 +51,8 @@ scenarios.forEach(({ name, expectedValue, Ctor, tagName }) => {
document.body.appendChild(elm);

await Promise.resolve();
if (process.env.DISABLE_STATIC_CONTENT_OPTIMIZATION) {
// Only fails in some browsers. If no errors were caught, assert against the attribute as normal.
if (process.env.DISABLE_STATIC_CONTENT_OPTIMIZATION && caughtError) {
Copy link
Contributor

Choose a reason for hiding this comment

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

setAttribute('abc') works in chrome now

expect(elm.shadowRoot.children.length).toBe(0); // does not render
expect(caughtError).not.toBeUndefined();
expect(caughtError.message).toMatch(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { catchUnhandledRejectionsAndErrors } from '../../../helpers/utils.js';
//
// elm.innerHTML = '<s\ection></s\ection>'
//
// Fails with: Uncaught InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('s\ection') is not a valid name.
// Fails in some browsers with: Uncaught InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('s\ection') is not a valid name.
//
// document.createElement('s\\ection')
//
Expand All @@ -34,7 +34,8 @@ it('should render tag names with proper escaping', async () => {

await Promise.resolve();

if (process.env.DISABLE_STATIC_CONTENT_OPTIMIZATION) {
// Only fails in some browsers. If no errors were caught, assert against the attribute as normal.
if (process.env.DISABLE_STATIC_CONTENT_OPTIMIZATION && caughtError) {
expect(elm.shadowRoot.children.length).toBe(0); // does not render
expect(caughtError).not.toBeUndefined();
expect(caughtError.message).toMatch(
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/ssr-compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"acorn": "8.15.0",
"astring": "^1.9.0",
"estree-toolkit": "^1.7.13",
"immer": "^11.0.1",
"immer": "^11.1.0",
"meriyah": "^5.0.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@rollup/plugin-typescript": "^12.3.0",
"cross-env": "^10.1.0",
"lwc": "8.26.2",
"rollup": "^4.53.3",
"rollup": "^4.54.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^3.0.0",
"tslib": "^2.8.1"
Expand Down
Loading
Loading