@lwc/engine-core 6.3.2 → 6.3.3
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 +6 -8
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +6 -8
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -667,7 +667,6 @@ shared.forEach.call(defaultDefHTMLPropertyNames, (propName) => {
|
|
|
667
667
|
* SPDX-License-Identifier: MIT
|
|
668
668
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
669
669
|
*/
|
|
670
|
-
/* eslint @lwc/lwc-internal/no-production-assert: "off" */
|
|
671
670
|
function generateDataDescriptor(options) {
|
|
672
671
|
return shared.assign({
|
|
673
672
|
configurable: true,
|
|
@@ -5920,7 +5919,7 @@ function getWrappedComponentsListener(vm, listener) {
|
|
|
5920
5919
|
}
|
|
5921
5920
|
|
|
5922
5921
|
/*
|
|
5923
|
-
* Copyright (c)
|
|
5922
|
+
* Copyright (c) 2024, Salesforce, Inc.
|
|
5924
5923
|
* All rights reserved.
|
|
5925
5924
|
* SPDX-License-Identifier: MIT
|
|
5926
5925
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
@@ -6141,14 +6140,13 @@ function computeShadowAndRenderMode(Ctor, renderer) {
|
|
|
6141
6140
|
return { renderMode, shadowMode };
|
|
6142
6141
|
}
|
|
6143
6142
|
function computeShadowMode(def, owner, renderer, hydrated) {
|
|
6143
|
+
if (
|
|
6144
6144
|
// Force the shadow mode to always be native. Used for running tests with synthetic shadow patches
|
|
6145
6145
|
// on, but components running in actual native shadow mode
|
|
6146
|
-
|
|
6147
|
-
|
|
6148
|
-
return 0 /* ShadowMode.Native */;
|
|
6149
|
-
}
|
|
6150
|
-
if (shared.isTrue(hydrated)) {
|
|
6146
|
+
(process.env.NODE_ENV === 'test-karma-lwc' &&
|
|
6147
|
+
process.env.FORCE_NATIVE_SHADOW_MODE_FOR_TEST) ||
|
|
6151
6148
|
// hydration only supports native shadow
|
|
6149
|
+
shared.isTrue(hydrated)) {
|
|
6152
6150
|
return 0 /* ShadowMode.Native */;
|
|
6153
6151
|
}
|
|
6154
6152
|
const { isSyntheticShadowDefined } = renderer;
|
|
@@ -7606,5 +7604,5 @@ exports.swapTemplate = swapTemplate;
|
|
|
7606
7604
|
exports.track = track;
|
|
7607
7605
|
exports.unwrap = unwrap;
|
|
7608
7606
|
exports.wire = wire;
|
|
7609
|
-
/** version: 6.3.
|
|
7607
|
+
/** version: 6.3.3 */
|
|
7610
7608
|
//# sourceMappingURL=index.cjs.js.map
|