@lwc/ssr-runtime 8.22.4 → 8.22.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 +11 -11
- package/dist/index.js +11 -11
- package/package.json +5 -5
package/dist/index.cjs.js
CHANGED
@@ -645,9 +645,9 @@ function setTrustedSignalSet(signals) {
|
|
645
645
|
trustedSignals = signals;
|
646
646
|
// Only used in LWC's Karma. Contained within the set function as there are multiple imports of
|
647
647
|
// this module. Placing it here ensures we reference the import where the trustedSignals set is maintained
|
648
|
-
if (process.env.NODE_ENV === 'test-
|
648
|
+
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
649
649
|
// Used to reset the global state between test runs
|
650
|
-
globalThis.
|
650
|
+
globalThis.__lwcResetTrustedSignals = () => (trustedSignals = undefined);
|
651
651
|
}
|
652
652
|
}
|
653
653
|
function isTrustedSignal(target) {
|
@@ -680,7 +680,7 @@ function normalizeTabIndex(value) {
|
|
680
680
|
const shouldNormalize = value > 0 && typeof value !== 'boolean';
|
681
681
|
return shouldNormalize ? 0 : value;
|
682
682
|
}
|
683
|
-
/** version: 8.22.
|
683
|
+
/** version: 8.22.5 */
|
684
684
|
|
685
685
|
/**
|
686
686
|
* Copyright (c) 2025 Salesforce, Inc.
|
@@ -704,7 +704,7 @@ function normalizeTabIndex(value) {
|
|
704
704
|
* @param value
|
705
705
|
* @param msg
|
706
706
|
*/
|
707
|
-
/** version: 8.22.
|
707
|
+
/** version: 8.22.5 */
|
708
708
|
|
709
709
|
/*
|
710
710
|
* Copyright (c) 2023, salesforce.com, inc.
|
@@ -728,7 +728,7 @@ class SignalBaseClass {
|
|
728
728
|
}
|
729
729
|
}
|
730
730
|
}
|
731
|
-
/** version: 8.22.
|
731
|
+
/** version: 8.22.5 */
|
732
732
|
|
733
733
|
/**
|
734
734
|
* Copyright (c) 2025 Salesforce, Inc.
|
@@ -789,8 +789,8 @@ function setFeatureFlag(name, value) {
|
|
789
789
|
console.info(`Attempt to set a value on an unknown feature flag "${name}" resulted in a NOOP.`);
|
790
790
|
return;
|
791
791
|
}
|
792
|
-
// This may seem redundant, but `process.env.NODE_ENV === 'test-
|
793
|
-
if (process.env.NODE_ENV === 'test-
|
792
|
+
// This may seem redundant, but `process.env.NODE_ENV === 'test-lwc-integration'` is replaced by Karma tests
|
793
|
+
if (process.env.NODE_ENV === 'test-lwc-integration' || process.env.NODE_ENV !== 'production') {
|
794
794
|
// Allow the same flag to be set more than once outside of production to enable testing
|
795
795
|
flags[name] = value;
|
796
796
|
}
|
@@ -813,12 +813,12 @@ function setFeatureFlag(name, value) {
|
|
813
813
|
* @example setFeatureFlag("DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE", true)
|
814
814
|
*/
|
815
815
|
function setFeatureFlagForTest(name, value) {
|
816
|
-
// This may seem redundant, but `process.env.NODE_ENV === 'test-
|
817
|
-
if (process.env.NODE_ENV === 'test-
|
816
|
+
// This may seem redundant, but `process.env.NODE_ENV === 'test-lwc-integration'` is replaced by Karma tests
|
817
|
+
if (process.env.NODE_ENV === 'test-lwc-integration' || process.env.NODE_ENV !== 'production') {
|
818
818
|
setFeatureFlag(name, value);
|
819
819
|
}
|
820
820
|
}
|
821
|
-
/** version: 8.22.
|
821
|
+
/** version: 8.22.5 */
|
822
822
|
|
823
823
|
/*
|
824
824
|
* Copyright (c) 2024, Salesforce, Inc.
|
@@ -2196,5 +2196,5 @@ exports.track = track;
|
|
2196
2196
|
exports.unwrap = unwrap$1;
|
2197
2197
|
exports.validateStyleTextContents = validateStyleTextContents;
|
2198
2198
|
exports.wire = wire;
|
2199
|
-
/** version: 8.22.
|
2199
|
+
/** version: 8.22.5 */
|
2200
2200
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.js
CHANGED
@@ -641,9 +641,9 @@ function setTrustedSignalSet(signals) {
|
|
641
641
|
trustedSignals = signals;
|
642
642
|
// Only used in LWC's Karma. Contained within the set function as there are multiple imports of
|
643
643
|
// this module. Placing it here ensures we reference the import where the trustedSignals set is maintained
|
644
|
-
if (process.env.NODE_ENV === 'test-
|
644
|
+
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
645
645
|
// Used to reset the global state between test runs
|
646
|
-
globalThis.
|
646
|
+
globalThis.__lwcResetTrustedSignals = () => (trustedSignals = undefined);
|
647
647
|
}
|
648
648
|
}
|
649
649
|
function isTrustedSignal(target) {
|
@@ -676,7 +676,7 @@ function normalizeTabIndex(value) {
|
|
676
676
|
const shouldNormalize = value > 0 && typeof value !== 'boolean';
|
677
677
|
return shouldNormalize ? 0 : value;
|
678
678
|
}
|
679
|
-
/** version: 8.22.
|
679
|
+
/** version: 8.22.5 */
|
680
680
|
|
681
681
|
/**
|
682
682
|
* Copyright (c) 2025 Salesforce, Inc.
|
@@ -700,7 +700,7 @@ function normalizeTabIndex(value) {
|
|
700
700
|
* @param value
|
701
701
|
* @param msg
|
702
702
|
*/
|
703
|
-
/** version: 8.22.
|
703
|
+
/** version: 8.22.5 */
|
704
704
|
|
705
705
|
/*
|
706
706
|
* Copyright (c) 2023, salesforce.com, inc.
|
@@ -724,7 +724,7 @@ class SignalBaseClass {
|
|
724
724
|
}
|
725
725
|
}
|
726
726
|
}
|
727
|
-
/** version: 8.22.
|
727
|
+
/** version: 8.22.5 */
|
728
728
|
|
729
729
|
/**
|
730
730
|
* Copyright (c) 2025 Salesforce, Inc.
|
@@ -785,8 +785,8 @@ function setFeatureFlag(name, value) {
|
|
785
785
|
console.info(`Attempt to set a value on an unknown feature flag "${name}" resulted in a NOOP.`);
|
786
786
|
return;
|
787
787
|
}
|
788
|
-
// This may seem redundant, but `process.env.NODE_ENV === 'test-
|
789
|
-
if (process.env.NODE_ENV === 'test-
|
788
|
+
// This may seem redundant, but `process.env.NODE_ENV === 'test-lwc-integration'` is replaced by Karma tests
|
789
|
+
if (process.env.NODE_ENV === 'test-lwc-integration' || process.env.NODE_ENV !== 'production') {
|
790
790
|
// Allow the same flag to be set more than once outside of production to enable testing
|
791
791
|
flags[name] = value;
|
792
792
|
}
|
@@ -809,12 +809,12 @@ function setFeatureFlag(name, value) {
|
|
809
809
|
* @example setFeatureFlag("DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE", true)
|
810
810
|
*/
|
811
811
|
function setFeatureFlagForTest(name, value) {
|
812
|
-
// This may seem redundant, but `process.env.NODE_ENV === 'test-
|
813
|
-
if (process.env.NODE_ENV === 'test-
|
812
|
+
// This may seem redundant, but `process.env.NODE_ENV === 'test-lwc-integration'` is replaced by Karma tests
|
813
|
+
if (process.env.NODE_ENV === 'test-lwc-integration' || process.env.NODE_ENV !== 'production') {
|
814
814
|
setFeatureFlag(name, value);
|
815
815
|
}
|
816
816
|
}
|
817
|
-
/** version: 8.22.
|
817
|
+
/** version: 8.22.5 */
|
818
818
|
|
819
819
|
/*
|
820
820
|
* Copyright (c) 2024, Salesforce, Inc.
|
@@ -2138,5 +2138,5 @@ function* toIteratorDirective(iterable) {
|
|
2138
2138
|
}
|
2139
2139
|
|
2140
2140
|
export { ClassList, LightningElement, SYMBOL__DEFAULT_TEMPLATE, SYMBOL__GENERATE_MARKUP, SYMBOL__SET_INTERNALS, SignalBaseClass, addTrustedContext as __dangerous_do_not_use_addTrustedContext, addSlottedContent, api, connectContext$1 as connectContext, createContextProvider, createElement, establishContextfulRelationship, fallbackTmpl, fallbackTmplNoYield, freezeTemplate, getComponentDef, hasScopedStaticStylesheets, hot, htmlEscape, isComponentConstructor, isTrustedSignal, mutationTracker, normalizeClass, normalizeTabIndex, normalizeTextContent, parseFragment, parseSVGFragment, readonly, registerComponent, registerDecorators, registerTemplate, renderAttrs, renderAttrsNoYield, serverSideRenderComponent as renderComponent, renderStylesheets, renderTextContent, renderer, sanitizeAttribute, sanitizeHtmlContent, serverSideRenderComponent, setContextKeys, setFeatureFlag, setFeatureFlagForTest, setHooks, setTrustedContextSet, setTrustedSignalSet, swapComponent, swapStyle, swapTemplate, toIteratorDirective, track, unwrap$1 as unwrap, validateStyleTextContents, wire };
|
2141
|
-
/** version: 8.22.
|
2141
|
+
/** version: 8.22.5 */
|
2142
2142
|
//# 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/ssr-runtime",
|
7
|
-
"version": "8.22.
|
7
|
+
"version": "8.22.5",
|
8
8
|
"description": "Runtime complement to @lwc/ssr-compiler",
|
9
9
|
"keywords": [
|
10
10
|
"lwc",
|
@@ -48,10 +48,10 @@
|
|
48
48
|
}
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
51
|
-
"@lwc/shared": "8.22.
|
52
|
-
"@lwc/engine-core": "8.22.
|
53
|
-
"@lwc/features": "8.22.
|
54
|
-
"@lwc/signals": "8.22.
|
51
|
+
"@lwc/shared": "8.22.5",
|
52
|
+
"@lwc/engine-core": "8.22.5",
|
53
|
+
"@lwc/features": "8.22.5",
|
54
|
+
"@lwc/signals": "8.22.5",
|
55
55
|
"observable-membrane": "2.0.0"
|
56
56
|
}
|
57
57
|
}
|