diff --git a/package.json b/package.json index cb232ed504..53f2aad12e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lwc-monorepo", - "version": "8.21.1", + "version": "8.21.2", "private": true, "description": "Lightning Web Components", "repository": { @@ -38,7 +38,7 @@ }, "devDependencies": { "@commitlint/cli": "^19.8.1", - "@eslint/js": "9.32.0", + "@eslint/js": "9.33.0", "@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin", "@lwc/test-utils-lwc-internals": "link:./scripts/test-utils", "@nx/js": "21.3.11", @@ -51,13 +51,13 @@ "@swc/core": "~1.13.3", "@swc/helpers": "~0.5.17", "@types/babel__core": "^7.20.5", - "@types/node": "^22.17.0", + "@types/node": "^22.17.1", "@vitest/coverage-v8": "^3.2.4", "@vitest/eslint-plugin": "^1.3.4", "@vitest/ui": "^3.2.4", "bytes": "^3.1.2", "es-module-lexer": "^1.7.0", - "eslint": "9.32.0", + "eslint": "9.33.0", "eslint-config-flat-gitignore": "^2.1.0", "eslint-plugin-header": "^3.1.1", "eslint-plugin-import": "^2.32.0", @@ -66,7 +66,7 @@ "husky": "^9.1.7", "isbinaryfile": "^5.0.4", "jsdom": "^26.1.0", - "lint-staged": "^16.1.4", + "lint-staged": "^16.1.5", "magic-string": "^0.30.17", "nx": "21.3.11", "prettier": "^3.6.2", diff --git a/packages/@lwc/aria-reflection/package.json b/packages/@lwc/aria-reflection/package.json index 376ef71773..07a146a46e 100644 --- a/packages/@lwc/aria-reflection/package.json +++ b/packages/@lwc/aria-reflection/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/aria-reflection", - "version": "8.21.1", + "version": "8.21.2", "description": "ARIA element reflection polyfill for strings", "keywords": [ "aom", diff --git a/packages/@lwc/babel-plugin-component/package.json b/packages/@lwc/babel-plugin-component/package.json index 81d6dfc4fc..5cb1599edd 100644 --- a/packages/@lwc/babel-plugin-component/package.json +++ b/packages/@lwc/babel-plugin-component/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/babel-plugin-component", - "version": "8.21.1", + "version": "8.21.2", "description": "Babel plugin to transform a LWC module", "keywords": [ "lwc" @@ -47,8 +47,8 @@ }, "dependencies": { "@babel/helper-module-imports": "7.27.1", - "@lwc/errors": "8.21.1", - "@lwc/shared": "8.21.1", + "@lwc/errors": "8.21.2", + "@lwc/shared": "8.21.2", "line-column": "~1.0.2" }, "devDependencies": { diff --git a/packages/@lwc/compiler/package.json b/packages/@lwc/compiler/package.json index 590e314119..b597b6ebe1 100644 --- a/packages/@lwc/compiler/package.json +++ b/packages/@lwc/compiler/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/compiler", - "version": "8.21.1", + "version": "8.21.2", "description": "LWC compiler", "keywords": [ "lwc" @@ -52,11 +52,11 @@ "@babel/plugin-transform-class-properties": "7.27.1", "@babel/plugin-transform-object-rest-spread": "7.28.0", "@locker/babel-plugin-transform-unforgeables": "0.22.0", - "@lwc/babel-plugin-component": "8.21.1", - "@lwc/errors": "8.21.1", - "@lwc/shared": "8.21.1", - "@lwc/ssr-compiler": "8.21.1", - "@lwc/style-compiler": "8.21.1", - "@lwc/template-compiler": "8.21.1" + "@lwc/babel-plugin-component": "8.21.2", + "@lwc/errors": "8.21.2", + "@lwc/shared": "8.21.2", + "@lwc/ssr-compiler": "8.21.2", + "@lwc/style-compiler": "8.21.2", + "@lwc/template-compiler": "8.21.2" } } diff --git a/packages/@lwc/engine-core/package.json b/packages/@lwc/engine-core/package.json index c13709060c..f22221c6db 100644 --- a/packages/@lwc/engine-core/package.json +++ b/packages/@lwc/engine-core/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/engine-core", - "version": "8.21.1", + "version": "8.21.2", "description": "Core LWC engine APIs.", "keywords": [ "lwc" @@ -46,9 +46,9 @@ } }, "dependencies": { - "@lwc/features": "8.21.1", - "@lwc/shared": "8.21.1", - "@lwc/signals": "8.21.1" + "@lwc/features": "8.21.2", + "@lwc/shared": "8.21.2", + "@lwc/signals": "8.21.2" }, "devDependencies": { "observable-membrane": "2.0.0" diff --git a/packages/@lwc/engine-dom/package.json b/packages/@lwc/engine-dom/package.json index 6a4f23e5d7..719716f417 100644 --- a/packages/@lwc/engine-dom/package.json +++ b/packages/@lwc/engine-dom/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/engine-dom", - "version": "8.21.1", + "version": "8.21.2", "description": "Renders LWC components in a DOM environment.", "keywords": [ "lwc" @@ -46,10 +46,10 @@ } }, "devDependencies": { - "@lwc/engine-core": "8.21.1", - "@lwc/shared": "8.21.1", - "@lwc/features": "8.21.1", - "@lwc/signals": "8.21.1" + "@lwc/engine-core": "8.21.2", + "@lwc/shared": "8.21.2", + "@lwc/features": "8.21.2", + "@lwc/signals": "8.21.2" }, "lwc": { "modules": [ diff --git a/packages/@lwc/engine-server/package.json b/packages/@lwc/engine-server/package.json index 26a77f86dc..06a1d0585d 100644 --- a/packages/@lwc/engine-server/package.json +++ b/packages/@lwc/engine-server/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/engine-server", - "version": "8.21.1", + "version": "8.21.2", "description": "Renders LWC components in a server environment.", "keywords": [ "lwc" @@ -46,11 +46,11 @@ } }, "devDependencies": { - "@lwc/engine-core": "8.21.1", - "@lwc/rollup-plugin": "8.21.1", - "@lwc/shared": "8.21.1", - "@lwc/features": "8.21.1", - "@lwc/signals": "8.21.1", + "@lwc/engine-core": "8.21.2", + "@lwc/rollup-plugin": "8.21.2", + "@lwc/shared": "8.21.2", + "@lwc/features": "8.21.2", + "@lwc/signals": "8.21.2", "@rollup/plugin-virtual": "^3.0.2", "parse5": "^8.0.0" } diff --git a/packages/@lwc/errors/package.json b/packages/@lwc/errors/package.json index 7af551182d..76f4d4622d 100644 --- a/packages/@lwc/errors/package.json +++ b/packages/@lwc/errors/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/errors", - "version": "8.21.1", + "version": "8.21.2", "description": "LWC Error Utilities", "keywords": [ "lwc" diff --git a/packages/@lwc/features/package.json b/packages/@lwc/features/package.json index bbd7cb10db..e34fc76531 100644 --- a/packages/@lwc/features/package.json +++ b/packages/@lwc/features/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/features", - "version": "8.21.1", + "version": "8.21.2", "description": "LWC Features Flags", "keywords": [ "lwc" @@ -46,6 +46,6 @@ } }, "dependencies": { - "@lwc/shared": "8.21.1" + "@lwc/shared": "8.21.2" } } diff --git a/packages/@lwc/integration-karma/package.json b/packages/@lwc/integration-karma/package.json index 3a26218054..9a701197e0 100644 --- a/packages/@lwc/integration-karma/package.json +++ b/packages/@lwc/integration-karma/package.json @@ -1,7 +1,7 @@ { "name": "@lwc/integration-karma", "private": true, - "version": "8.21.1", + "version": "8.21.2", "scripts": { "start": "KARMA_MODE=watch karma start ./scripts/karma-configs/test/local.js", "test": "karma start ./scripts/karma-configs/test/local.js --single-run", @@ -21,11 +21,11 @@ "karma-sauce-launcher-fix-firefox": "using a fork to work around https://github.com/karma-runner/karma-sauce-launcher/issues/275" }, "devDependencies": { - "@lwc/compiler": "8.21.1", - "@lwc/engine-dom": "8.21.1", - "@lwc/engine-server": "8.21.1", - "@lwc/rollup-plugin": "8.21.1", - "@lwc/synthetic-shadow": "8.21.1", + "@lwc/compiler": "8.21.2", + "@lwc/engine-dom": "8.21.2", + "@lwc/engine-server": "8.21.2", + "@lwc/rollup-plugin": "8.21.2", + "@lwc/synthetic-shadow": "8.21.2", "@types/jasmine": "^5.1.8", "chokidar": "^4.0.3", "istanbul-lib-coverage": "^3.2.2", diff --git a/packages/@lwc/integration-not-karma/package.json b/packages/@lwc/integration-not-karma/package.json index 844ec1dc21..3d89b08686 100644 --- a/packages/@lwc/integration-not-karma/package.json +++ b/packages/@lwc/integration-not-karma/package.json @@ -1,18 +1,18 @@ { "name": "@lwc/integration-not-karma", "private": true, - "version": "8.21.1", + "version": "8.21.2", "scripts": { "start": "web-test-runner --manual", "test": "web-test-runner --config configs/integration.mjs", "test:hydration": "web-test-runner --config configs/hydration.mjs" }, "devDependencies": { - "@lwc/compiler": "8.21.1", - "@lwc/engine-dom": "8.21.1", - "@lwc/engine-server": "8.21.1", - "@lwc/rollup-plugin": "8.21.1", - "@lwc/synthetic-shadow": "8.21.1", + "@lwc/compiler": "8.21.2", + "@lwc/engine-dom": "8.21.2", + "@lwc/engine-server": "8.21.2", + "@lwc/rollup-plugin": "8.21.2", + "@lwc/synthetic-shadow": "8.21.2", "@types/chai": "^5.2.2", "@types/jasmine": "^5.1.8", "@web/dev-server-rollup": "^0.6.4", diff --git a/packages/@lwc/integration-tests/package.json b/packages/@lwc/integration-tests/package.json index 28f6b0b665..68482f4b96 100644 --- a/packages/@lwc/integration-tests/package.json +++ b/packages/@lwc/integration-tests/package.json @@ -1,7 +1,7 @@ { "name": "@lwc/integration-tests", "private": true, - "version": "8.21.1", + "version": "8.21.2", "scripts": { "build": "node scripts/build.js", "build:dev": "MODE=dev yarn build", @@ -18,7 +18,7 @@ "sauce:prod:ci": "MODE=prod yarn build:prod && MODE=prod ../../../scripts/ci/retry.sh wdio ./scripts/wdio.sauce.conf.js" }, "devDependencies": { - "@lwc/rollup-plugin": "8.21.1", + "@lwc/rollup-plugin": "8.21.2", "@wdio/cli": "^9.17.1", "@wdio/local-runner": "^9.17.0", "@wdio/mocha-framework": "^9.17.0", @@ -27,7 +27,7 @@ "@wdio/static-server-service": "^9.16.2", "deepmerge": "^4.3.1", "dotenv": "^17.2.1", - "lwc": "8.21.1", + "lwc": "8.21.2", "minimist": "^1.2.8", "webdriverio": "^9.0.7" }, diff --git a/packages/@lwc/integration-types/package.json b/packages/@lwc/integration-types/package.json index f41de5127c..989d4f8ed0 100644 --- a/packages/@lwc/integration-types/package.json +++ b/packages/@lwc/integration-types/package.json @@ -1,7 +1,7 @@ { "name": "@lwc/integration-types", "private": true, - "version": "8.21.1", + "version": "8.21.2", "description": "Type validation for LWC packages", "type": "module", "scripts": { @@ -9,8 +9,8 @@ "playground": "rollup -c src/playground/rollup.config.js --watch" }, "dependencies": { - "@lwc/rollup-plugin": "8.21.1", - "lwc": "8.21.1" + "@lwc/rollup-plugin": "8.21.2", + "lwc": "8.21.2" }, "devDependencies": { "@rollup/plugin-replace": "^6.0.2", diff --git a/packages/@lwc/module-resolver/package.json b/packages/@lwc/module-resolver/package.json index ff746f6014..111702c058 100644 --- a/packages/@lwc/module-resolver/package.json +++ b/packages/@lwc/module-resolver/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/module-resolver", - "version": "8.21.1", + "version": "8.21.2", "description": "Resolves paths for LWC components", "keywords": [ "lwc" diff --git a/packages/@lwc/perf-benchmarks-components/package.json b/packages/@lwc/perf-benchmarks-components/package.json index 4c7b190eb1..2320692535 100644 --- a/packages/@lwc/perf-benchmarks-components/package.json +++ b/packages/@lwc/perf-benchmarks-components/package.json @@ -1,12 +1,12 @@ { "name": "@lwc/perf-benchmarks-components", - "version": "8.21.1", + "version": "8.21.2", "private": true, "scripts": { "build": "rm -fr dist && rollup -c ./rollup.config.mjs" }, "devDependencies": { - "@lwc/rollup-plugin": "8.21.1" + "@lwc/rollup-plugin": "8.21.2" }, "nx": { "targets": { diff --git a/packages/@lwc/perf-benchmarks/package.json b/packages/@lwc/perf-benchmarks/package.json index 10fa3f12d3..48c97d4721 100644 --- a/packages/@lwc/perf-benchmarks/package.json +++ b/packages/@lwc/perf-benchmarks/package.json @@ -1,6 +1,6 @@ { "name": "@lwc/perf-benchmarks", - "version": "8.21.1", + "version": "8.21.2", "private": true, "scripts": { "build": "rm -fr dist && rollup -c ./rollup.config.mjs && node scripts/build.js && ./scripts/fix-deps.sh", @@ -15,11 +15,11 @@ "Don't forget to add these to fix-deps.sh as well." ], "dependencies": { - "@lwc/engine-dom": "8.21.1", - "@lwc/engine-server": "8.21.1", - "@lwc/perf-benchmarks-components": "8.21.1", - "@lwc/ssr-runtime": "8.21.1", - "@lwc/synthetic-shadow": "8.21.1" + "@lwc/engine-dom": "8.21.2", + "@lwc/engine-server": "8.21.2", + "@lwc/perf-benchmarks-components": "8.21.2", + "@lwc/ssr-runtime": "8.21.2", + "@lwc/synthetic-shadow": "8.21.2" }, "devDependencies": { "@best/cli": "^15.0.0", diff --git a/packages/@lwc/rollup-plugin/package.json b/packages/@lwc/rollup-plugin/package.json index cffe919787..fb55bdd757 100644 --- a/packages/@lwc/rollup-plugin/package.json +++ b/packages/@lwc/rollup-plugin/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/rollup-plugin", - "version": "8.21.1", + "version": "8.21.2", "description": "Rollup plugin to compile LWC", "keywords": [ "lwc" @@ -46,13 +46,13 @@ } }, "dependencies": { - "@lwc/compiler": "8.21.1", - "@lwc/module-resolver": "8.21.1", - "@lwc/shared": "8.21.1", + "@lwc/compiler": "8.21.2", + "@lwc/module-resolver": "8.21.2", + "@lwc/shared": "8.21.2", "@rollup/pluginutils": "~5.2.0" }, "devDependencies": { - "@lwc/errors": "8.21.1" + "@lwc/errors": "8.21.2" }, "peerDependencies": { "rollup": "^1.2.0||^2.0.0||^3.0.0||^4.0.0" diff --git a/packages/@lwc/shared/package.json b/packages/@lwc/shared/package.json index 63cb8dd232..49e11f61f9 100644 --- a/packages/@lwc/shared/package.json +++ b/packages/@lwc/shared/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/shared", - "version": "8.21.1", + "version": "8.21.2", "description": "Utilities and methods that are shared across packages", "keywords": [ "lwc" diff --git a/packages/@lwc/signals/package.json b/packages/@lwc/signals/package.json index f4e7d1e9a2..7ae9177af0 100644 --- a/packages/@lwc/signals/package.json +++ b/packages/@lwc/signals/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/signals", - "version": "8.21.1", + "version": "8.21.2", "description": "Provides the interface to interact with reactivity from outside the framework", "keywords": [ "lwc" @@ -46,6 +46,6 @@ } }, "devDependencies": { - "@lwc/shared": "8.21.1" + "@lwc/shared": "8.21.2" } } diff --git a/packages/@lwc/ssr-client-utils/package.json b/packages/@lwc/ssr-client-utils/package.json index 3f47119d0f..22ced986b2 100644 --- a/packages/@lwc/ssr-client-utils/package.json +++ b/packages/@lwc/ssr-client-utils/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/ssr-client-utils", - "version": "8.21.1", + "version": "8.21.2", "description": "Client-side complement to @lwc/ssr-compiler", "keywords": [ "lwc", diff --git a/packages/@lwc/ssr-client-utils/src/index.ts b/packages/@lwc/ssr-client-utils/src/index.ts index 40b58ec6ab..cfab5c8ee5 100644 --- a/packages/@lwc/ssr-client-utils/src/index.ts +++ b/packages/@lwc/ssr-client-utils/src/index.ts @@ -62,6 +62,12 @@ export function registerLwcStyleComponent() { } // Only used in LWC's Karma tests -if (typeof process !== 'undefined' && process?.env?.NODE_ENV === 'test-karma-lwc') { +// See PR-5281 for precedence on extra guards +if ( + typeof process === 'object' && + typeof process?.env === 'object' && + process.env && + process.env.NODE_ENV === 'test-karma-lwc' +) { (window as any).__lwcClearStylesheetCache = () => stylesheetCache.clear(); } diff --git a/packages/@lwc/ssr-compiler/package.json b/packages/@lwc/ssr-compiler/package.json index e82382e767..5f9ef28f11 100644 --- a/packages/@lwc/ssr-compiler/package.json +++ b/packages/@lwc/ssr-compiler/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/ssr-compiler", - "version": "8.21.1", + "version": "8.21.2", "description": "Compile component for use during server-side rendering", "keywords": [ "compiler", @@ -49,9 +49,9 @@ }, "dependencies": { "@babel/types": "7.28.2", - "@lwc/errors": "8.21.1", - "@lwc/shared": "8.21.1", - "@lwc/template-compiler": "8.21.1", + "@lwc/errors": "8.21.2", + "@lwc/shared": "8.21.2", + "@lwc/template-compiler": "8.21.2", "acorn": "8.15.0", "astring": "^1.9.0", "estree-toolkit": "^1.7.13", @@ -59,7 +59,7 @@ "meriyah": "^5.0.0" }, "devDependencies": { - "@lwc/babel-plugin-component": "8.21.1", + "@lwc/babel-plugin-component": "8.21.2", "@types/estree": "^1.0.8" } } diff --git a/packages/@lwc/ssr-runtime/package.json b/packages/@lwc/ssr-runtime/package.json index ace61dbee4..59f9bfe542 100644 --- a/packages/@lwc/ssr-runtime/package.json +++ b/packages/@lwc/ssr-runtime/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/ssr-runtime", - "version": "8.21.1", + "version": "8.21.2", "description": "Runtime complement to @lwc/ssr-compiler", "keywords": [ "lwc", @@ -48,10 +48,10 @@ } }, "devDependencies": { - "@lwc/shared": "8.21.1", - "@lwc/engine-core": "8.21.1", - "@lwc/features": "8.21.1", - "@lwc/signals": "8.21.1", + "@lwc/shared": "8.21.2", + "@lwc/engine-core": "8.21.2", + "@lwc/features": "8.21.2", + "@lwc/signals": "8.21.2", "observable-membrane": "2.0.0" } } diff --git a/packages/@lwc/style-compiler/package.json b/packages/@lwc/style-compiler/package.json index 2ee8c12d75..566727566c 100644 --- a/packages/@lwc/style-compiler/package.json +++ b/packages/@lwc/style-compiler/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/style-compiler", - "version": "8.21.1", + "version": "8.21.2", "description": "Transform style sheet to be consumed by the LWC engine", "keywords": [ "lwc" @@ -46,7 +46,7 @@ } }, "dependencies": { - "@lwc/shared": "8.21.1", + "@lwc/shared": "8.21.2", "postcss": "~8.5.6", "postcss-selector-parser": "~7.1.0", "postcss-value-parser": "~4.2.0" diff --git a/packages/@lwc/synthetic-shadow/package.json b/packages/@lwc/synthetic-shadow/package.json index 322cfd17d5..41efdb240f 100644 --- a/packages/@lwc/synthetic-shadow/package.json +++ b/packages/@lwc/synthetic-shadow/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/synthetic-shadow", - "version": "8.21.1", + "version": "8.21.2", "description": "Synthetic Shadow Root for LWC", "keywords": [ "lwc" @@ -46,8 +46,8 @@ } }, "devDependencies": { - "@lwc/features": "8.21.1", - "@lwc/shared": "8.21.1" + "@lwc/features": "8.21.2", + "@lwc/shared": "8.21.2" }, "lwc": { "modules": [ diff --git a/packages/@lwc/template-compiler/package.json b/packages/@lwc/template-compiler/package.json index 5c9583a6b3..ab160a0a6e 100644 --- a/packages/@lwc/template-compiler/package.json +++ b/packages/@lwc/template-compiler/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/template-compiler", - "version": "8.21.1", + "version": "8.21.2", "description": "Template compiler package", "keywords": [ "lwc" @@ -46,8 +46,8 @@ } }, "dependencies": { - "@lwc/errors": "8.21.1", - "@lwc/shared": "8.21.1", + "@lwc/errors": "8.21.2", + "@lwc/shared": "8.21.2", "acorn": "~8.15.0", "astring": "~1.9.0", "he": "~1.2.0" diff --git a/packages/@lwc/types/package.json b/packages/@lwc/types/package.json index 3b0b495e87..6ce0c104e5 100644 --- a/packages/@lwc/types/package.json +++ b/packages/@lwc/types/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/types", - "version": "8.21.1", + "version": "8.21.2", "keywords": [ "lwc", "types", @@ -32,6 +32,6 @@ "*.d.ts" ], "dependencies": { - "@lwc/engine-core": "8.21.1" + "@lwc/engine-core": "8.21.2" } } diff --git a/packages/@lwc/wire-service/package.json b/packages/@lwc/wire-service/package.json index f3902c0b10..168344b0f1 100644 --- a/packages/@lwc/wire-service/package.json +++ b/packages/@lwc/wire-service/package.json @@ -4,7 +4,7 @@ "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten." ], "name": "@lwc/wire-service", - "version": "8.21.1", + "version": "8.21.2", "description": "@wire service", "keywords": [ "lwc" @@ -46,8 +46,8 @@ } }, "devDependencies": { - "@lwc/engine-core": "8.21.1", - "@lwc/shared": "8.21.1" + "@lwc/engine-core": "8.21.2", + "@lwc/shared": "8.21.2" }, "lwc": { "modules": [ diff --git a/packages/lwc/package.json b/packages/lwc/package.json index 695b94ea8b..6ff12311ae 100644 --- a/packages/lwc/package.json +++ b/packages/lwc/package.json @@ -1,6 +1,6 @@ { "name": "lwc", - "version": "8.21.1", + "version": "8.21.2", "description": "Lightning Web Components (LWC)", "homepage": "https://lwc.dev/", "repository": { @@ -21,24 +21,24 @@ "!vitest.config.*" ], "dependencies": { - "@lwc/aria-reflection": "8.21.1", - "@lwc/babel-plugin-component": "8.21.1", - "@lwc/compiler": "8.21.1", - "@lwc/engine-core": "8.21.1", - "@lwc/engine-dom": "8.21.1", - "@lwc/engine-server": "8.21.1", - "@lwc/errors": "8.21.1", - "@lwc/features": "8.21.1", - "@lwc/module-resolver": "8.21.1", - "@lwc/rollup-plugin": "8.21.1", - "@lwc/shared": "8.21.1", - "@lwc/ssr-compiler": "8.21.1", - "@lwc/ssr-runtime": "8.21.1", - "@lwc/style-compiler": "8.21.1", - "@lwc/synthetic-shadow": "8.21.1", - "@lwc/template-compiler": "8.21.1", - "@lwc/types": "8.21.1", - "@lwc/wire-service": "8.21.1" + "@lwc/aria-reflection": "8.21.2", + "@lwc/babel-plugin-component": "8.21.2", + "@lwc/compiler": "8.21.2", + "@lwc/engine-core": "8.21.2", + "@lwc/engine-dom": "8.21.2", + "@lwc/engine-server": "8.21.2", + "@lwc/errors": "8.21.2", + "@lwc/features": "8.21.2", + "@lwc/module-resolver": "8.21.2", + "@lwc/rollup-plugin": "8.21.2", + "@lwc/shared": "8.21.2", + "@lwc/ssr-compiler": "8.21.2", + "@lwc/ssr-runtime": "8.21.2", + "@lwc/style-compiler": "8.21.2", + "@lwc/synthetic-shadow": "8.21.2", + "@lwc/template-compiler": "8.21.2", + "@lwc/types": "8.21.2", + "@lwc/wire-service": "8.21.2" }, "lwc": { "modules": [ diff --git a/playground/package.json b/playground/package.json index 42732b7bc3..437df40ec6 100644 --- a/playground/package.json +++ b/playground/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@lwc/playground", - "version": "8.21.1", + "version": "8.21.2", "type": "module", "description": "Playground project to experiment with LWC.", "scripts": { @@ -9,10 +9,10 @@ "build": "NODE_ENV=production rollup -c" }, "devDependencies": { - "@lwc/rollup-plugin": "8.21.1", + "@lwc/rollup-plugin": "8.21.2", "@rollup/plugin-replace": "^6.0.2", "@rollup/plugin-typescript": "^12.1.4", - "lwc": "8.21.1", + "lwc": "8.21.2", "rollup": "^4.46.2", "rollup-plugin-livereload": "^2.0.5", "rollup-plugin-serve": "^3.0.0", diff --git a/scripts/release/publish.sh b/scripts/release/publish.sh index efa7372ecd..17c3b1cdcb 100755 --- a/scripts/release/publish.sh +++ b/scripts/release/publish.sh @@ -27,13 +27,13 @@ VERSION_SHA=$(git blame -- package.json | grep '"version":' | cut -d' ' -f1) VERSION=$(jq -r .version package.json) # Create a new branch with the changes to release -git switch -c "$BRANCH" "$VERSION_SHA" -git push origin HEAD +git branch "$BRANCH" "$VERSION_SHA" +git push -u origin "$BRANCH" +git branch -D "$BRANCH" + if ! which gh >/dev/null; then # GitHub CLI not installed - clean up and prompt for manual branch creation - git switch "$BASE_BRANCH" - git branch -D "$BRANCH" echo "Open a PR: https://github.com/salesforce/lwc/pull/new/$BRANCH" exit 0 fi @@ -44,14 +44,11 @@ if [ -n "$WORK_ITEM" ]; then fi # Use GitHub CLI to create a PR and wait for CI checks to pass gh pr create -t "$PR_TITLE" -b '' -B "$RELEASE_BRANCH" -H "$BRANCH" -# Clean up locally -git switch "$BASE_BRANCH" -git branch -D "$BRANCH" # Wait for CI to complete sleep 3 # Give GitHub time to kick off CI . "$(dirname "$0")/wait-for-pr.sh" "$BRANCH" -if ! gh pr checks --fail-fast --watch; then +if ! gh pr checks "$BRANCH" --fail-fast --watch; then echo 'CI failed. Cannot continue with release.' gh pr view "$BRANCH" --web exit 1 diff --git a/scripts/release/version.sh b/scripts/release/version.sh index f9b05f554e..8fdbdcf4e7 100755 --- a/scripts/release/version.sh +++ b/scripts/release/version.sh @@ -44,8 +44,10 @@ if ! gh >/dev/null; then fi # Use GitHub CLI to create a PR and wait for it to be merged before exiting -gh pr create -t "$VERSION_BUMP_MESSAGE" -b '' -gh pr merge --auto --squash --delete-branch +gh pr create -t "$VERSION_BUMP_MESSAGE" -b '' -B "$BASE_BRANCH" -H "$BRANCH" +# Squash on master, but not backports +[ "$BASE_BRANCH" == 'master' ] && SQUASH='--squash' +gh pr merge --auto --delete-branch $SQUASH git switch "$BASE_BRANCH" git branch -D "$BRANCH" diff --git a/yarn.lock b/yarn.lock index 05687a3e34..8a89256c30 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1770,14 +1770,7 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.1.tgz#7d79922cb2d88f9048f06393dbf62d2e4accb584" integrity sha512-Y1EQdcfwMSeQN/ujR5VayLOJ1BHaK+ssyk0AEzPjC+t1lITgsnccPqFjb6V+LsTp/9Iov4ysfjxLaGJ9RPtkVg== -"@eslint-community/eslint-utils@^4.2.0": - version "4.4.1" - resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz#d1145bf2c20132d6400495d6df4bf59362fd9d56" - integrity sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA== - dependencies: - eslint-visitor-keys "^3.4.3" - -"@eslint-community/eslint-utils@^4.7.0": +"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.7.0": version "4.7.0" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz#607084630c6c033992a082de6e6fbc1a8b52175a" integrity sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw== @@ -1803,15 +1796,15 @@ debug "^4.3.1" minimatch "^3.1.2" -"@eslint/config-helpers@^0.3.0": - version "0.3.0" - resolved "https://registry.yarnpkg.com/@eslint/config-helpers/-/config-helpers-0.3.0.tgz#3e09a90dfb87e0005c7694791e58e97077271286" - integrity sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw== +"@eslint/config-helpers@^0.3.1": + version "0.3.1" + resolved "https://registry.yarnpkg.com/@eslint/config-helpers/-/config-helpers-0.3.1.tgz#d316e47905bd0a1a931fa50e669b9af4104d1617" + integrity sha512-xR93k9WhrDYpXHORXpxVL5oHj3Era7wo6k/Wd8/IsQNnZUTzkGS29lyn3nAT05v6ltUuTFVCCYDEGfy2Or/sPA== -"@eslint/core@^0.15.0", "@eslint/core@^0.15.1": - version "0.15.1" - resolved "https://registry.yarnpkg.com/@eslint/core/-/core-0.15.1.tgz#d530d44209cbfe2f82ef86d6ba08760196dd3b60" - integrity sha512-bkOp+iumZCCbt1K1CmWf0R9pM5yKpDv+ZXtvSyQpudrI9kuFLp+bM2WOPXImuD/ceQuaa8f5pj93Y7zyECIGNA== +"@eslint/core@^0.15.2": + version "0.15.2" + resolved "https://registry.yarnpkg.com/@eslint/core/-/core-0.15.2.tgz#59386327d7862cc3603ebc7c78159d2dcc4a868f" + integrity sha512-78Md3/Rrxh83gCxoUc0EiciuOHsIITzLy53m3d9UyiW8y9Dj2D29FeETqyKA+BRK76tnTp6RXWb3pCay8Oyomg== dependencies: "@types/json-schema" "^7.0.15" @@ -1830,22 +1823,22 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@9.32.0": - version "9.32.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.32.0.tgz#a02916f58bd587ea276876cb051b579a3d75d091" - integrity sha512-BBpRFZK3eX6uMLKz8WxFOBIFFcGFJ/g8XuwjTHCqHROSIsopI+ddn/d5Cfh36+7+e5edVS8dbSHnBNhrLEX0zg== +"@eslint/js@9.33.0": + version "9.33.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.33.0.tgz#475c92fdddab59b8b8cab960e3de2564a44bf368" + integrity sha512-5K1/mKhWaMfreBGJTwval43JJmkip0RmM+3+IuqupeSKNC/Th2Kc7ucaq5ovTSra/OOKB9c58CGSz3QMVbWt0A== "@eslint/object-schema@^2.1.6": version "2.1.6" resolved "https://registry.yarnpkg.com/@eslint/object-schema/-/object-schema-2.1.6.tgz#58369ab5b5b3ca117880c0f6c0b0f32f6950f24f" integrity sha512-RBMg5FRL0I0gs51M/guSAj5/e14VQ4tpZnQNWwuDT66P14I43ItmPfIZRhO9fUVIPOAQXU47atlywZ/czoqFPA== -"@eslint/plugin-kit@^0.3.4": - version "0.3.4" - resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz#c6b9f165e94bf4d9fdd493f1c028a94aaf5fc1cc" - integrity sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw== +"@eslint/plugin-kit@^0.3.5": + version "0.3.5" + resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.3.5.tgz#fd8764f0ee79c8ddab4da65460c641cefee017c5" + integrity sha512-Z5kJ+wU3oA7MMIqVR9tyZRtjYPr4OC004Q4Rw7pgOKUOKkJfZ3O24nz3WYfGRpMDNmcOi3TwQOmgm7B7Tpii0w== dependencies: - "@eslint/core" "^0.15.1" + "@eslint/core" "^0.15.2" levn "^0.4.1" "@gar/promisify@^1.0.1": @@ -3574,10 +3567,10 @@ resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-10.0.10.tgz#91f62905e8d23cbd66225312f239454a23bebfa0" integrity sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q== -"@types/node@*", "@types/node@>= 8", "@types/node@>=10.0.0": - version "22.14.1" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.14.1.tgz#53b54585cec81c21eee3697521e31312d6ca1e6f" - integrity sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw== +"@types/node@*", "@types/node@>= 8", "@types/node@>=10.0.0", "@types/node@^22.17.1": + version "22.17.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.17.1.tgz#484a755050497ebc3b37ff5adb7470f2e3ea5f5b" + integrity sha512-y3tBaz+rjspDTylNjAX37jEC3TETEFGNJL6uQDxwF9/8GLLIjW1rvVHlynyuUKMnMr1Roq8jOv3vkopBjC4/VA== dependencies: undici-types "~6.21.0" @@ -3598,13 +3591,6 @@ dependencies: undici-types "~6.19.2" -"@types/node@^22.17.0": - version "22.17.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.17.0.tgz#e8c9090e957bd4d9860efb323eb92d297347eac7" - integrity sha512-bbAKTCqX5aNVryi7qXVMi+OkB3w/OyblodicMbvE38blyAz7GxXf6XYhklokijuPwwVg9sDLKRxt0ZHXQwZVfQ== - dependencies: - undici-types "~6.21.0" - "@types/normalize-package-data@^2.4.1": version "2.4.4" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.4.tgz#56e2cc26c397c038fab0e3a917a12d5c5909e901" @@ -5433,10 +5419,10 @@ chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.2: ansi-styles "^4.1.0" supports-color "^7.1.0" -chalk@^5.0.1, chalk@^5.1.2, chalk@^5.3.0, chalk@^5.4.1: - version "5.4.1" - resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.4.1.tgz#1b48bf0963ec158dce2aacf69c093ae2dd2092d8" - integrity sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w== +chalk@^5.0.1, chalk@^5.1.2, chalk@^5.3.0, chalk@^5.4.1, chalk@^5.5.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.5.0.tgz#67ada1df5ca809dc84c9b819d76418ddcf128428" + integrity sha512-1tm8DTaJhPBG3bIkVeZt1iZM9GfSX2lzOeDVZH9R9ffRHpmHvxZ/QhgQH/aDTkswQVt+YHdXAdS/In/30OjCbg== change-case@^4.1.2: version "4.1.2" @@ -7189,29 +7175,24 @@ eslint-visitor-keys@^3.4.3: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint-visitor-keys@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz#687bacb2af884fcdda8a6e7d65c606f46a14cd45" - integrity sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw== - eslint-visitor-keys@^4.2.1: version "4.2.1" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz#4cfea60fe7dd0ad8e816e1ed026c1d5251b512c1" integrity sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ== -eslint@9.32.0: - version "9.32.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.32.0.tgz#4ea28df4a8dbc454e1251e0f3aed4bcf4ce50a47" - integrity sha512-LSehfdpgMeWcTZkWZVIJl+tkZ2nuSkyyB9C27MZqFWXuph7DvaowgcTvKqxvpLW1JZIk8PN7hFY3Rj9LQ7m7lg== +eslint@9.33.0: + version "9.33.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.33.0.tgz#cc186b3d9eb0e914539953d6a178a5b413997b73" + integrity sha512-TS9bTNIryDzStCpJN93aC5VRSW3uTx9sClUn4B87pwiCaJh220otoI0X8mJKr+VcPtniMdN8GKjlwgWGUv5ZKA== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.12.1" "@eslint/config-array" "^0.21.0" - "@eslint/config-helpers" "^0.3.0" - "@eslint/core" "^0.15.0" + "@eslint/config-helpers" "^0.3.1" + "@eslint/core" "^0.15.2" "@eslint/eslintrc" "^3.3.1" - "@eslint/js" "9.32.0" - "@eslint/plugin-kit" "^0.3.4" + "@eslint/js" "9.33.0" + "@eslint/plugin-kit" "^0.3.5" "@humanfs/node" "^0.16.6" "@humanwhocodes/module-importer" "^1.0.1" "@humanwhocodes/retry" "^0.4.2" @@ -7240,16 +7221,7 @@ eslint@9.32.0: natural-compare "^1.4.0" optionator "^0.9.3" -espree@^10.0.1: - version "10.3.0" - resolved "https://registry.yarnpkg.com/espree/-/espree-10.3.0.tgz#29267cf5b0cb98735b65e64ba07e0ed49d1eed8a" - integrity sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg== - dependencies: - acorn "^8.14.0" - acorn-jsx "^5.3.2" - eslint-visitor-keys "^4.2.0" - -espree@^10.4.0: +espree@^10.0.1, espree@^10.4.0: version "10.4.0" resolved "https://registry.yarnpkg.com/espree/-/espree-10.4.0.tgz#d54f4949d4629005a1fa168d937c3ff1f7e2a837" integrity sha512-j6PAQ2uUr79PZhBjP5C5fhl8e39FmRnOjsD5lGnWrFU8i2G776tBK7+nP8KuQUTTyAZUwfQqXAgrVH5MbH9CYQ== @@ -9887,12 +9859,12 @@ lines-and-columns@^2.0.3: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.4.tgz#d00318855905d2660d8c0822e3f5a4715855fc42" integrity sha512-wM1+Z03eypVAVUCE7QdSqpVIvelbOakn1M0bPDoA4SGWPx3sNDVUiMo3L6To6WWGClB7VyXnhQ4Sn7gxiJbE6A== -lint-staged@^16.1.4: - version "16.1.4" - resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-16.1.4.tgz#f6ff3f23b87369da6184f165abc56553b70bb988" - integrity sha512-xy7rnzQrhTVGKMpv6+bmIA3C0yET31x8OhKBYfvGo0/byeZ6E0BjGARrir3Kg/RhhYHutpsi01+2J5IpfVoueA== +lint-staged@^16.1.5: + version "16.1.5" + resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-16.1.5.tgz#e102066b2c98157bad03afffb491d2329553e86b" + integrity sha512-uAeQQwByI6dfV7wpt/gVqg+jAPaSp8WwOA8kKC/dv1qw14oGpnpAisY65ibGHUGDUv0rYaZ8CAJZ/1U8hUvC2A== dependencies: - chalk "^5.4.1" + chalk "^5.5.0" commander "^14.0.0" debug "^4.4.1" lilconfig "^3.1.3" @@ -9901,7 +9873,7 @@ lint-staged@^16.1.4: nano-spawn "^1.0.2" pidtree "^0.6.0" string-argv "^0.3.2" - yaml "^2.8.0" + yaml "^2.8.1" listr2@^9.0.1: version "9.0.1" @@ -14784,10 +14756,10 @@ yaml@^1.10.0: resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== -yaml@^2.6.0, yaml@^2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.8.0.tgz#15f8c9866211bdc2d3781a0890e44d4fa1a5fff6" - integrity sha512-4lLa/EcQCB0cJkyts+FpIRx5G/llPxfP6VQU5KByHEhLxY3IJCH0f0Hy1MHI8sClTvsIb8qwRJ6R/ZdlDJ/leQ== +yaml@^2.6.0, yaml@^2.8.1: + version "2.8.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.8.1.tgz#1870aa02b631f7e8328b93f8bc574fac5d6c4d79" + integrity sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw== yargs-parser@21.1.1, yargs-parser@^21.1.1: version "21.1.1"