Skip to content

Commit cf8b675

Browse files
Revert "fix: remove perf regression for signals re-enablement (256 patch)"
1 parent ff6c4b7 commit cf8b675

File tree

30 files changed

+107
-106
lines changed

30 files changed

+107
-106
lines changed

.nucleus.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ branches:
3838
spring25:
3939
pull-request:
4040
<<: *branch-definition
41-
summer25:
42-
pull-request:
43-
<<: *branch-definition
4441
jobs:
4542
build-and-test:
4643
memory-limit: 16
@@ -73,4 +70,4 @@ steps:
7370
npm-publish-release:
7471
params:
7572
access: public
76-
tag: summer25 # note: this should be summer22, winter23, etc. if this .nucleus.yaml file is in a non-master branch
73+
tag: latest # note: this should be summer22, winter23, etc. if this .nucleus.yaml file is in a non-master branch

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lwc-monorepo",
3-
"version": "8.16.5",
3+
"version": "8.16.4",
44
"private": true,
55
"description": "Lightning Web Components",
66
"repository": {

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

Lines changed: 1 addition & 1 deletion
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.16.5",
7+
"version": "8.16.4",
88
"description": "ARIA element reflection polyfill for strings",
99
"keywords": [
1010
"aom",

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

Lines changed: 3 additions & 3 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.16.5",
7+
"version": "8.16.4",
88
"description": "Babel plugin to transform a LWC module",
99
"keywords": [
1010
"lwc"
@@ -47,8 +47,8 @@
4747
},
4848
"dependencies": {
4949
"@babel/helper-module-imports": "7.25.9",
50-
"@lwc/errors": "8.16.5",
51-
"@lwc/shared": "8.16.5",
50+
"@lwc/errors": "8.16.4",
51+
"@lwc/shared": "8.16.4",
5252
"line-column": "~1.0.2"
5353
},
5454
"devDependencies": {

packages/@lwc/compiler/package.json

Lines changed: 7 additions & 7 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/compiler",
7-
"version": "8.16.5",
7+
"version": "8.16.4",
88
"description": "LWC compiler",
99
"keywords": [
1010
"lwc"
@@ -52,11 +52,11 @@
5252
"@babel/plugin-transform-class-properties": "7.25.9",
5353
"@babel/plugin-transform-object-rest-spread": "7.25.9",
5454
"@locker/babel-plugin-transform-unforgeables": "0.22.0",
55-
"@lwc/babel-plugin-component": "8.16.5",
56-
"@lwc/errors": "8.16.5",
57-
"@lwc/shared": "8.16.5",
58-
"@lwc/ssr-compiler": "8.16.5",
59-
"@lwc/style-compiler": "8.16.5",
60-
"@lwc/template-compiler": "8.16.5"
55+
"@lwc/babel-plugin-component": "8.16.4",
56+
"@lwc/errors": "8.16.4",
57+
"@lwc/shared": "8.16.4",
58+
"@lwc/ssr-compiler": "8.16.4",
59+
"@lwc/style-compiler": "8.16.4",
60+
"@lwc/template-compiler": "8.16.4"
6161
}
6262
}

packages/@lwc/engine-core/package.json

Lines changed: 4 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/engine-core",
7-
"version": "8.16.5",
7+
"version": "8.16.4",
88
"description": "Core LWC engine APIs.",
99
"keywords": [
1010
"lwc"
@@ -46,9 +46,9 @@
4646
}
4747
},
4848
"dependencies": {
49-
"@lwc/features": "8.16.5",
50-
"@lwc/shared": "8.16.5",
51-
"@lwc/signals": "8.16.5"
49+
"@lwc/features": "8.16.4",
50+
"@lwc/shared": "8.16.4",
51+
"@lwc/signals": "8.16.4"
5252
},
5353
"devDependencies": {
5454
"observable-membrane": "2.0.0"

packages/@lwc/engine-core/src/framework/mutation-tracker.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
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-
import { isNull, isObject, isTrustedSignal } from '@lwc/shared';
7+
import { isFunction, isNull, isObject, isTrustedSignal } from '@lwc/shared';
88
import { ReactiveObserver, valueMutated, valueObserved } from '../libs/mutation-tracker';
99
import { subscribeToSignal } from '../libs/signal-tracker';
10+
import { safeHasProp } from './utils';
1011
import type { Signal } from '@lwc/signals';
1112
import type { JobFunction, CallbackFunction } from '../libs/mutation-tracker';
1213
import type { VM } from './vm';
@@ -41,6 +42,9 @@ export function componentValueObserved(vm: VM, key: PropertyKey, target: any = {
4142
lwcRuntimeFlags.ENABLE_EXPERIMENTAL_SIGNALS &&
4243
isObject(target) &&
4344
!isNull(target) &&
45+
safeHasProp(target, 'value') &&
46+
safeHasProp(target, 'subscribe') &&
47+
isFunction(target.subscribe) &&
4448
isTrustedSignal(target) &&
4549
// Only subscribe if a template is being rendered by the engine
4650
tro.isObserving()

packages/@lwc/engine-dom/package.json

Lines changed: 4 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/engine-dom",
7-
"version": "8.16.5",
7+
"version": "8.16.4",
88
"description": "Renders LWC components in a DOM environment.",
99
"keywords": [
1010
"lwc"
@@ -46,9 +46,9 @@
4646
}
4747
},
4848
"devDependencies": {
49-
"@lwc/engine-core": "8.16.5",
50-
"@lwc/shared": "8.16.5",
51-
"@lwc/features": "8.16.5"
49+
"@lwc/engine-core": "8.16.4",
50+
"@lwc/shared": "8.16.4",
51+
"@lwc/features": "8.16.4"
5252
},
5353
"lwc": {
5454
"modules": [

packages/@lwc/engine-server/package.json

Lines changed: 5 additions & 5 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/engine-server",
7-
"version": "8.16.5",
7+
"version": "8.16.4",
88
"description": "Renders LWC components in a server environment.",
99
"keywords": [
1010
"lwc"
@@ -46,10 +46,10 @@
4646
}
4747
},
4848
"devDependencies": {
49-
"@lwc/engine-core": "8.16.5",
50-
"@lwc/rollup-plugin": "8.16.5",
51-
"@lwc/shared": "8.16.5",
52-
"@lwc/features": "8.16.5",
49+
"@lwc/engine-core": "8.16.4",
50+
"@lwc/rollup-plugin": "8.16.4",
51+
"@lwc/shared": "8.16.4",
52+
"@lwc/features": "8.16.4",
5353
"@rollup/plugin-virtual": "^3.0.2",
5454
"parse5": "^7.2.1"
5555
}

packages/@lwc/errors/package.json

Lines changed: 1 addition & 1 deletion
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/errors",
7-
"version": "8.16.5",
7+
"version": "8.16.4",
88
"description": "LWC Error Utilities",
99
"keywords": [
1010
"lwc"

0 commit comments

Comments
 (0)