@lwc/engine-core 8.16.3 → 8.16.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +1 -14
- package/dist/index.js +1 -14
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -251,16 +251,6 @@ function shouldBeFormAssociated(Ctor) {
|
|
|
251
251
|
}
|
|
252
252
|
return ctorFormAssociated && apiFeatureEnabled;
|
|
253
253
|
}
|
|
254
|
-
// check if a property is in an object, and if the object throws an error merely because we are
|
|
255
|
-
// checking if the property exists, return false
|
|
256
|
-
function safeHasProp(obj, prop) {
|
|
257
|
-
try {
|
|
258
|
-
return prop in obj;
|
|
259
|
-
}
|
|
260
|
-
catch (_err) {
|
|
261
|
-
return false;
|
|
262
|
-
}
|
|
263
|
-
}
|
|
264
254
|
|
|
265
255
|
/*
|
|
266
256
|
* Copyright (c) 2024, Salesforce, Inc.
|
|
@@ -620,9 +610,6 @@ function componentValueObserved(vm, key, target = {}) {
|
|
|
620
610
|
if (lwcRuntimeFlags.ENABLE_EXPERIMENTAL_SIGNALS &&
|
|
621
611
|
shared.isObject(target) &&
|
|
622
612
|
!shared.isNull(target) &&
|
|
623
|
-
safeHasProp(target, 'value') &&
|
|
624
|
-
safeHasProp(target, 'subscribe') &&
|
|
625
|
-
shared.isFunction(target.subscribe) &&
|
|
626
613
|
shared.isTrustedSignal(target) &&
|
|
627
614
|
// Only subscribe if a template is being rendered by the engine
|
|
628
615
|
tro.isObserving()) {
|
|
@@ -8525,5 +8512,5 @@ exports.swapTemplate = swapTemplate;
|
|
|
8525
8512
|
exports.track = track;
|
|
8526
8513
|
exports.unwrap = unwrap;
|
|
8527
8514
|
exports.wire = wire;
|
|
8528
|
-
/** version: 8.16.
|
|
8515
|
+
/** version: 8.16.5 */
|
|
8529
8516
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.js
CHANGED
|
@@ -248,16 +248,6 @@ function shouldBeFormAssociated(Ctor) {
|
|
|
248
248
|
}
|
|
249
249
|
return ctorFormAssociated && apiFeatureEnabled;
|
|
250
250
|
}
|
|
251
|
-
// check if a property is in an object, and if the object throws an error merely because we are
|
|
252
|
-
// checking if the property exists, return false
|
|
253
|
-
function safeHasProp(obj, prop) {
|
|
254
|
-
try {
|
|
255
|
-
return prop in obj;
|
|
256
|
-
}
|
|
257
|
-
catch (_err) {
|
|
258
|
-
return false;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
251
|
|
|
262
252
|
/*
|
|
263
253
|
* Copyright (c) 2024, Salesforce, Inc.
|
|
@@ -617,9 +607,6 @@ function componentValueObserved(vm, key, target = {}) {
|
|
|
617
607
|
if (lwcRuntimeFlags.ENABLE_EXPERIMENTAL_SIGNALS &&
|
|
618
608
|
isObject(target) &&
|
|
619
609
|
!isNull(target) &&
|
|
620
|
-
safeHasProp(target, 'value') &&
|
|
621
|
-
safeHasProp(target, 'subscribe') &&
|
|
622
|
-
isFunction$1(target.subscribe) &&
|
|
623
610
|
isTrustedSignal(target) &&
|
|
624
611
|
// Only subscribe if a template is being rendered by the engine
|
|
625
612
|
tro.isObserving()) {
|
|
@@ -8471,5 +8458,5 @@ function readonly(obj) {
|
|
|
8471
8458
|
}
|
|
8472
8459
|
|
|
8473
8460
|
export { BaseBridgeElement, LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, computeShadowAndRenderMode, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentAPIVersion, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, registerComponent, registerDecorators, registerTemplate, runFormAssociatedCallback, runFormDisabledCallback, runFormResetCallback, runFormStateRestoreCallback, sanitizeAttribute, shouldBeFormAssociated, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
8474
|
-
/** version: 8.16.
|
|
8461
|
+
/** version: 8.16.5 */
|
|
8475
8462
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
|
|
5
5
|
],
|
|
6
6
|
"name": "@lwc/engine-core",
|
|
7
|
-
"version": "8.16.
|
|
7
|
+
"version": "8.16.5",
|
|
8
8
|
"description": "Core LWC engine APIs.",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"lwc"
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@lwc/features": "8.16.
|
|
50
|
-
"@lwc/shared": "8.16.
|
|
51
|
-
"@lwc/signals": "8.16.
|
|
49
|
+
"@lwc/features": "8.16.5",
|
|
50
|
+
"@lwc/shared": "8.16.5",
|
|
51
|
+
"@lwc/signals": "8.16.5"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"observable-membrane": "2.0.0"
|