Skip to content

Commit e5e3549

Browse files
committed
Merge branch 'master' of github.com-sujith:salesforce/lwc
2 parents 0ae8711 + 41c5774 commit e5e3549

File tree

404 files changed

+2677
-2603
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404 files changed

+2677
-2603
lines changed

.github/workflows/web-test-runner.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,14 @@ jobs:
110110
continue-on-error: true
111111
run: yarn test
112112
working-directory: packages/@lwc/integration-wtr
113+
timeout-minutes: 35
113114

114115
# Because sometimes things are flaky
115116
- name: Run integration tests (fallback)
116117
if: ${{ steps.test-integration.outcome == 'failure' }}
117118
run: yarn run test
118119
working-directory: packages/@lwc/integration-wtr
120+
timeout-minutes: 35
119121

120122
- name: Upload coverage report
121123
# Upload coverage even if the test step failed
@@ -203,12 +205,14 @@ jobs:
203205
continue-on-error: true
204206
run: yarn run test:hydration
205207
working-directory: packages/@lwc/integration-wtr
208+
timeout-minutes: 35
206209

207210
# Because sometimes things are flaky
208211
- name: Run hydration tests (fallback)
209212
if: ${{ steps.test-hydration.outcome == 'failure' }}
210213
run: yarn run test:hydration
211214
working-directory: packages/@lwc/integration-wtr
215+
timeout-minutes: 35
212216

213217
- name: Upload coverage report
214218
# Upload coverage even if the test step failed

commitlint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* SPDX-License-Identifier: MIT
55
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
66
*/
7-
module.exports = {
7+
export default {
88
rules: {
99
'body-leading-blank': [1, 'always'],
1010
'footer-leading-blank': [1, 'always'],

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ export default tseslint.config(
189189
},
190190
},
191191
{
192-
files: ['**/*.js', '**/*.mjs', '**/*.cjs'],
192+
files: ['**/*.js', '**/*.mjs'],
193193
...tseslint.configs.disableTypeChecked,
194194
},
195195

package.json

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
{
22
"name": "lwc-monorepo",
3-
"version": "8.28.0",
3+
"version": "9.0.1",
44
"private": true,
55
"description": "Lightning Web Components",
66
"repository": {
77
"type": "git",
88
"url": "https://github.com/salesforce/lwc.git"
99
},
10+
"type": "module",
1011
"scripts": {
1112
"prepare": "husky && yarn build",
1213
"lint": "eslint . --cache",
@@ -25,7 +26,7 @@
2526
"test:ci": "vitest run --coverage",
2627
"test:wtr": "nx test @lwc/integration-wtr",
2728
"test:hydration": "nx test:hydration @lwc/integration-wtr",
28-
"test:integration": "nx sauce @lwc/integration-wdio",
29+
"test:wdio": "nx sauce @lwc/integration-wdio",
2930
"test:performance": "nx test @lwc/perf-benchmarks",
3031
"test:performance:best": "nx test:best @lwc/perf-benchmarks",
3132
"test:performance:best:ci": "nx test:best:ci @lwc/perf-benchmarks",
@@ -35,46 +36,46 @@
3536
"release:publish:canary": "nx release publish --registry https://registry.npmjs.org --tag canary"
3637
},
3738
"devDependencies": {
38-
"@commitlint/cli": "^20.3.1",
39+
"@commitlint/cli": "^20.4.0",
3940
"@eslint/js": "9.39.2",
4041
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
4142
"@lwc/test-utils-lwc-internals": "link:./scripts/test-utils",
42-
"@nx/js": "22.3.3",
43+
"@nx/js": "22.4.4",
4344
"@rollup/plugin-commonjs": "^29.0.0",
4445
"@rollup/plugin-inject": "^5.0.5",
4546
"@rollup/plugin-node-resolve": "^16.0.3",
4647
"@rollup/plugin-replace": "^6.0.3",
4748
"@rollup/plugin-typescript": "^12.3.0",
4849
"@swc-node/register": "~1.11.1",
49-
"@swc/core": "~1.15.8",
50+
"@swc/core": "~1.15.11",
5051
"@swc/helpers": "~0.5.18",
5152
"@types/babel__core": "^7.20.5",
52-
"@types/node": "^22.19.1",
53-
"@vitest/coverage-v8": "4.0.17",
53+
"@types/node": "^22.19.5",
54+
"@vitest/coverage-v8": "4.0.18",
5455
"@vitest/eslint-plugin": "1.6.6",
55-
"@vitest/spy": "4.0.17",
56-
"@vitest/ui": "4.0.17",
56+
"@vitest/spy": "4.0.18",
57+
"@vitest/ui": "4.0.18",
5758
"bytes": "^3.1.2",
5859
"es-module-lexer": "^2.0.0",
5960
"eslint": "9.39.2",
6061
"eslint-config-flat-gitignore": "^2.1.0",
6162
"eslint-plugin-header": "^3.1.1",
6263
"eslint-plugin-import": "^2.32.0",
6364
"glob": "^13.0.0",
64-
"globals": "^17.0.0",
65+
"globals": "^17.3.0",
6566
"husky": "^9.1.7",
6667
"isbinaryfile": "^6.0.0",
6768
"jsdom": "^27.4.0",
6869
"lint-staged": "^16.2.7",
6970
"magic-string": "^0.30.21",
70-
"nx": "22.3.3",
71-
"prettier": "^3.8.0",
72-
"rollup": "^4.55.1",
71+
"nx": "22.4.4",
72+
"prettier": "^3.8.1",
73+
"rollup": "^4.57.1",
7374
"terser": "^5.46.0",
7475
"tslib": "^2.8.1",
75-
"typescript": "5.8.2",
76-
"typescript-eslint": "8.53.0",
77-
"vitest": "4.0.17"
76+
"typescript": "6.0.0-dev.20260112",
77+
"typescript-eslint": "8.54.0",
78+
"vitest": "4.0.18"
7879
},
7980
"lint-staged": {
8081
"*.{js,mjs,ts,only,skip}": "eslint --cache",
@@ -87,9 +88,6 @@
8788
"packages/lwc",
8889
"playground"
8990
],
90-
"engines": {
91-
"node": ">=10"
92-
},
9391
"volta": {
9492
"node": "24.11.1",
9593
"yarn": "1.22.22"

packages/@lwc/aria-reflection/package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
55
],
66
"name": "@lwc/aria-reflection",
7-
"version": "8.28.0",
7+
"version": "9.0.1",
88
"description": "ARIA element reflection polyfill for strings",
99
"keywords": [
1010
"aom",
@@ -23,13 +23,17 @@
2323
"url": "https://github.com/salesforce/lwc/issues"
2424
},
2525
"license": "MIT",
26+
"type": "module",
2627
"publishConfig": {
2728
"access": "public"
2829
},
30+
"engines": {
31+
"node": ">=16.6.0"
32+
},
2933
"volta": {
3034
"extends": "../../../package.json"
3135
},
32-
"main": "dist/index.cjs.js",
36+
"main": "dist/index.js",
3337
"module": "dist/index.js",
3438
"types": "dist/index.d.ts",
3539
"files": [

packages/@lwc/aria-reflection/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const ARIA_PROPERTIES = [
5757
'ariaValueNow',
5858
'ariaValueText',
5959
'role',
60-
];
60+
] as const;
6161

6262
for (const prop of ARIA_PROPERTIES) {
6363
const attribute = prop.replace(/^aria/, 'aria-').toLowerCase(); // e.g. ariaPosInSet => aria-posinset

packages/@lwc/babel-plugin-component/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ This babel plugin does the following transform:
2121
## Usage
2222

2323
```js
24-
const babel = require('@babel/core');
25-
const lwcPlugin = require('@lwc/babel-plugin-component');
24+
import babel from '@babel/core';
25+
import lwcPlugin from '@lwc/babel-plugin-component';
2626

2727
const source = `
2828
import { LightningElement } from 'lwc';

packages/@lwc/babel-plugin-component/package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
55
],
66
"name": "@lwc/babel-plugin-component",
7-
"version": "8.28.0",
7+
"version": "9.0.1",
88
"description": "Babel plugin to transform a LWC module",
99
"keywords": [
1010
"lwc"
@@ -19,13 +19,17 @@
1919
"url": "https://github.com/salesforce/lwc/issues"
2020
},
2121
"license": "MIT",
22+
"type": "module",
2223
"publishConfig": {
2324
"access": "public"
2425
},
26+
"engines": {
27+
"node": ">=16.6.0"
28+
},
2529
"volta": {
2630
"extends": "../../../package.json"
2731
},
28-
"main": "dist/index.cjs.js",
32+
"main": "dist/index.js",
2933
"module": "dist/index.js",
3034
"types": "dist/index.d.ts",
3135
"files": [
@@ -47,8 +51,8 @@
4751
},
4852
"dependencies": {
4953
"@babel/helper-module-imports": "7.28.6",
50-
"@lwc/errors": "8.28.0",
51-
"@lwc/shared": "8.28.0",
54+
"@lwc/errors": "9.0.1",
55+
"@lwc/shared": "9.0.1",
5256
"line-column": "~1.0.2"
5357
},
5458
"devDependencies": {

packages/@lwc/babel-plugin-component/src/__tests__/fixtures/api-decorator/@api-setter-on-one-class-member-should-not-conflict-with-@api-getter-on-another/expected.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { registerDecorators as _registerDecorators, LightningElement, registerComponent as _registerComponent } from "lwc";
1+
import { registerDecorators as _registerDecorators } from "lwc";
22
import _tmpl from "./test.html";
3+
import { LightningElement, registerComponent as _registerComponent } from 'lwc';
34
class Test extends LightningElement {
45
set first(value) {}
56
get first() {}

packages/@lwc/babel-plugin-component/src/__tests__/fixtures/api-decorator/does-not-throw-error-if-property-name-is-data/expected.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
import { registerDecorators as _registerDecorators, LightningElement, registerComponent as _registerComponent } from "lwc";
1+
import { registerDecorators as _registerDecorators } from "lwc";
22
import _tmpl from "./test.html";
3+
import { LightningElement, registerComponent as _registerComponent } from "lwc";
34
class Test extends LightningElement {
45
data;
56
/*LWC compiler vX.X.X*/

0 commit comments

Comments
 (0)