Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: release (release) v8.13.2 #5214

Closed
wants to merge 7 commits into from
Closed
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
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lwc-monorepo",
"version": "8.13.1",
"version": "8.13.2",
"private": true,
"description": "Lightning Web Components",
"repository": {
Expand All @@ -12,12 +12,12 @@
"lint": "eslint . --cache",
"format": "prettier --write .",
"bundlesize": "node scripts/bundlesize/bundlesize.mjs",
"build": "nx run-many --target=build --exclude=@lwc/perf-benchmarks,@lwc/perf-benchmarks-components,@lwc/integration-tests,lwc",
"build": "nx run-many --target=build --exclude=@lwc/perf-benchmarks,@lwc/perf-benchmarks-components,@lwc/integration-tests",
"build:performance": "yarn build:performance:components && yarn build:performance:benchmarks",
"build:performance:components": "nx build @lwc/perf-benchmarks-components",
"build:performance:benchmarks": "nx build @lwc/perf-benchmarks",
"copy-fork": "./scripts/tasks/unsafe-external-contributor-ci-workaround.sh",
"dev": "nx run-many --target=dev --all --parallel=999 --exclude=@lwc/perf-benchmarks,@lwc/perf-benchmarks-components,@lwc/integration-tests,lwc",
"dev": "nx run-many --target=dev --all --parallel=999 --exclude=@lwc/perf-benchmarks,@lwc/perf-benchmarks-components,@lwc/integration-tests",
"test": "vitest --workspace vitest.workspace.mjs",
"test:bespoke": "nx run-many --target=test",
"test:debug": "vitest --workspace vitest.workspace.mjs --inspect-brk --no-file-parallelism",
Expand All @@ -35,26 +35,26 @@
},
"devDependencies": {
"@commitlint/cli": "^19.7.1",
"@eslint/js": "9.19.0",
"@eslint/js": "9.20.0",
"@lwc/eslint-plugin-lwc-internal": "link:./scripts/eslint-plugin",
"@lwc/test-utils-lwc-internals": "link:./scripts/test-utils",
"@nx/js": "20.3.3",
"@nx/js": "20.4.0",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-inject": "^5.0.5",
"@rollup/plugin-node-resolve": "^16.0.0",
"@rollup/plugin-replace": "^6.0.2",
"@rollup/plugin-typescript": "^12.1.2",
"@swc-node/register": "~1.10.9",
"@swc/core": "~1.10.12",
"@swc/core": "~1.10.15",
"@swc/helpers": "~0.5.15",
"@types/babel__core": "^7.20.5",
"@types/node": "^22.13.0",
"@types/node": "^22.13.1",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/eslint-plugin": "^1.1.25",
"@vitest/eslint-plugin": "^1.1.27",
"@vitest/ui": "^3.0.5",
"bytes": "^3.1.2",
"es-module-lexer": "^1.6.0",
"eslint": "9.19.0",
"eslint": "9.20.0",
"eslint-config-flat-gitignore": "^2.0.0",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.31.0",
Expand All @@ -65,13 +65,13 @@
"jsdom": "^26.0.0",
"lint-staged": "^15.4.3",
"magic-string": "^0.30.17",
"nx": "20.3.3",
"prettier": "^3.4.2",
"rollup": "^4.34.1",
"terser": "^5.37.0",
"nx": "20.4.0",
"prettier": "^3.5.0",
"rollup": "^4.34.6",
"terser": "^5.38.1",
"tslib": "^2.8.1",
"typescript": "5.7.3",
"typescript-eslint": "8.22.0",
"typescript-eslint": "8.23.0",
"vitest": "^3.0.5"
},
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion packages/@lwc/aria-reflection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/aria-reflection",
"version": "8.13.1",
"version": "8.13.2",
"description": "ARIA element reflection polyfill for strings",
"keywords": [
"aom",
Expand Down
6 changes: 3 additions & 3 deletions packages/@lwc/babel-plugin-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.13.1",
"version": "8.13.2",
"description": "Babel plugin to transform a LWC module",
"keywords": [
"lwc"
Expand Down Expand Up @@ -47,8 +47,8 @@
},
"dependencies": {
"@babel/helper-module-imports": "7.25.9",
"@lwc/errors": "8.13.1",
"@lwc/shared": "8.13.1",
"@lwc/errors": "8.13.2",
"@lwc/shared": "8.13.2",
"line-column": "~1.0.2"
},
"devDependencies": {
Expand Down
21 changes: 0 additions & 21 deletions packages/@lwc/babel-plugin-component/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,6 @@
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/

// This set is for attributes that have a camel cased property name
// For example, div.tabIndex.
// We do not want users to define @api properties with these names
// Because the template will never call them. It'll always call the camel
// cased version.
const AMBIGUOUS_PROP_SET = new Map([
['bgcolor', 'bgColor'],
['accesskey', 'accessKey'],
['contenteditable', 'contentEditable'],
['tabindex', 'tabIndex'],
['maxlength', 'maxLength'],
['maxvalue', 'maxValue'],
]);

// This set is for attributes that can never be defined
// by users on their components.
// We throw for these.
const DISALLOWED_PROP_SET = new Set(['is', 'class', 'slot', 'style']);

const LWC_PACKAGE_ALIAS = 'lwc';

const LWC_PACKAGE_EXPORTS = {
Expand Down Expand Up @@ -55,9 +36,7 @@ const API_VERSION_KEY = 'apiVersion';
const COMPONENT_CLASS_ID = '__lwc_component_class_internal';

export {
AMBIGUOUS_PROP_SET,
DECORATOR_TYPES,
DISALLOWED_PROP_SET,
LWC_PACKAGE_ALIAS,
LWC_PACKAGE_EXPORTS,
LWC_COMPONENT_PROPERTIES,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,9 @@
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { DecoratorErrors } from '@lwc/errors';
import { AMBIGUOUS_PROP_SET, DISALLOWED_PROP_SET } from '@lwc/shared';
import { generateError } from '../../utils';
import {
AMBIGUOUS_PROP_SET,
DECORATOR_TYPES,
DISALLOWED_PROP_SET,
LWC_PACKAGE_EXPORTS,
} from '../../constants';
import { DECORATOR_TYPES, LWC_PACKAGE_EXPORTS } from '../../constants';
import { isApiDecorator } from './shared';
import type { types, NodePath } from '@babel/core';
import type { LwcBabelPluginPass } from '../../types';
Expand Down
18 changes: 9 additions & 9 deletions packages/@lwc/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/compiler",
"version": "8.13.1",
"version": "8.13.2",
"description": "LWC compiler",
"keywords": [
"lwc"
Expand Down Expand Up @@ -46,17 +46,17 @@
}
},
"dependencies": {
"@babel/core": "7.26.7",
"@babel/plugin-transform-async-generator-functions": "7.25.9",
"@babel/core": "7.26.8",
"@babel/plugin-transform-async-generator-functions": "7.26.8",
"@babel/plugin-transform-async-to-generator": "7.25.9",
"@babel/plugin-transform-class-properties": "7.25.9",
"@babel/plugin-transform-object-rest-spread": "7.25.9",
"@locker/babel-plugin-transform-unforgeables": "0.22.0",
"@lwc/babel-plugin-component": "8.13.1",
"@lwc/errors": "8.13.1",
"@lwc/shared": "8.13.1",
"@lwc/ssr-compiler": "8.13.1",
"@lwc/style-compiler": "8.13.1",
"@lwc/template-compiler": "8.13.1"
"@lwc/babel-plugin-component": "8.13.2",
"@lwc/errors": "8.13.2",
"@lwc/shared": "8.13.2",
"@lwc/ssr-compiler": "8.13.2",
"@lwc/style-compiler": "8.13.2",
"@lwc/template-compiler": "8.13.2"
}
}
8 changes: 4 additions & 4 deletions packages/@lwc/engine-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/engine-core",
"version": "8.13.1",
"version": "8.13.2",
"description": "Core LWC engine APIs.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -46,9 +46,9 @@
}
},
"dependencies": {
"@lwc/features": "8.13.1",
"@lwc/shared": "8.13.1",
"@lwc/signals": "8.13.1"
"@lwc/features": "8.13.2",
"@lwc/shared": "8.13.2",
"@lwc/signals": "8.13.2"
},
"devDependencies": {
"observable-membrane": "2.0.0"
Expand Down
8 changes: 4 additions & 4 deletions packages/@lwc/engine-dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/engine-dom",
"version": "8.13.1",
"version": "8.13.2",
"description": "Renders LWC components in a DOM environment.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -46,9 +46,9 @@
}
},
"devDependencies": {
"@lwc/engine-core": "8.13.1",
"@lwc/shared": "8.13.1",
"@lwc/features": "8.13.1"
"@lwc/engine-core": "8.13.2",
"@lwc/shared": "8.13.2",
"@lwc/features": "8.13.2"
},
"lwc": {
"modules": [
Expand Down
10 changes: 5 additions & 5 deletions packages/@lwc/engine-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/engine-server",
"version": "8.13.1",
"version": "8.13.2",
"description": "Renders LWC components in a server environment.",
"keywords": [
"lwc"
Expand Down Expand Up @@ -46,10 +46,10 @@
}
},
"devDependencies": {
"@lwc/engine-core": "8.13.1",
"@lwc/rollup-plugin": "8.13.1",
"@lwc/shared": "8.13.1",
"@lwc/features": "8.13.1",
"@lwc/engine-core": "8.13.2",
"@lwc/rollup-plugin": "8.13.2",
"@lwc/shared": "8.13.2",
"@lwc/features": "8.13.2",
"@rollup/plugin-virtual": "^3.0.2",
"parse5": "^7.2.1"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"ssrFiles": {
"error": "error-ssr.txt",
"expected": "expected-ssr.html"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<x-component>
<template shadowrootmode="open">
<p>
this only matters for ssr-compiler; engine-server does not have the same internals
</p>
<p>
generateMarkup overridden: false
</p>
<p>
tmpl overridden: false
</p>
<p>
public props overridden: false
</p>
</template>
</x-component>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export const tagName = 'x-component';
export { default } from 'x/component';
export * from 'x/component';
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<template>
<p>this only matters for ssr-compiler; engine-server does not have the same internals</p>
<p>generateMarkup overridden: {isGenerateMarkupOverridden}</p>
<p>tmpl overridden: {isTmplOverridden}</p>
<p>public props overridden: {isPublicPropsOverridden}</p>
</template>
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { LightningElement } from 'lwc';
import { SYMBOL__DEFAULT_TEMPLATE, SYMBOL__GENERATE_MARKUP } from '@lwc/ssr-runtime';

const myGenerateMarkup = () => '<p>hili</p>';
const myPublicProperties = ['philip'];
const myTmpl = () => {
throw new Error('PHILIP');
};

export default class Component extends LightningElement {
static [SYMBOL__DEFAULT_TEMPLATE] = myTmpl;
static [SYMBOL__GENERATE_MARKUP] = myGenerateMarkup;
static ['__lwcPublicProperties__'] = myPublicProperties;

get isGenerateMarkupOverridden() {
return Component[SYMBOL__DEFAULT_TEMPLATE] === myGenerateMarkup;
}
get isTmplOverridden() {
return Component[SYMBOL__GENERATE_MARKUP] === myTmpl;
}
get isPublicPropsOverridden() {
return Component['__lwcPublicProperties__'] === myPublicProperties;
}
}
2 changes: 1 addition & 1 deletion packages/@lwc/errors/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/errors",
"version": "8.13.1",
"version": "8.13.2",
"description": "LWC Error Utilities",
"keywords": [
"lwc"
Expand Down
4 changes: 2 additions & 2 deletions packages/@lwc/features/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
],
"name": "@lwc/features",
"version": "8.13.1",
"version": "8.13.2",
"description": "LWC Features Flags",
"keywords": [
"lwc"
Expand Down Expand Up @@ -46,6 +46,6 @@
}
},
"dependencies": {
"@lwc/shared": "8.13.1"
"@lwc/shared": "8.13.2"
}
}
12 changes: 6 additions & 6 deletions packages/@lwc/integration-karma/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lwc/integration-karma",
"private": true,
"version": "8.13.1",
"version": "8.13.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 --browsers ChromeHeadless",
Expand All @@ -17,11 +17,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.13.1",
"@lwc/engine-dom": "8.13.1",
"@lwc/engine-server": "8.13.1",
"@lwc/rollup-plugin": "8.13.1",
"@lwc/synthetic-shadow": "8.13.1",
"@lwc/compiler": "8.13.2",
"@lwc/engine-dom": "8.13.2",
"@lwc/engine-server": "8.13.2",
"@lwc/rollup-plugin": "8.13.2",
"@lwc/synthetic-shadow": "8.13.2",
"@types/jasmine": "^5.1.5",
"chokidar": "^4.0.3",
"istanbul-lib-coverage": "^3.2.2",
Expand Down
Loading