@lwc/ssr-runtime 8.20.4 → 8.20.6
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 +14 -9
 - package/dist/index.js +14 -9
 - package/package.json +6 -6
 
    
        package/dist/index.cjs.js
    CHANGED
    
    | 
         @@ -643,13 +643,16 @@ let trustedSignals; 
     | 
|
| 
       643 
643 
     | 
    
         
             
            function setTrustedSignalSet(signals) {
         
     | 
| 
       644 
644 
     | 
    
         
             
                isFalse$1(trustedSignals, 'Trusted Signal Set is already set!');
         
     | 
| 
       645 
645 
     | 
    
         
             
                trustedSignals = signals;
         
     | 
| 
      
 646 
     | 
    
         
            +
                // Only used in LWC's Karma. Contained within the set function as there are multiple imports of
         
     | 
| 
      
 647 
     | 
    
         
            +
                // this module. Placing it here ensures we reference the import where the trustedSignals set is maintained
         
     | 
| 
      
 648 
     | 
    
         
            +
                if (process.env.NODE_ENV === 'test-karma-lwc') {
         
     | 
| 
      
 649 
     | 
    
         
            +
                    // Used to reset the global state between test runs
         
     | 
| 
      
 650 
     | 
    
         
            +
                    globalThis.__lwcResetTrustedSignalsSetForTest = () => (trustedSignals = undefined);
         
     | 
| 
      
 651 
     | 
    
         
            +
                }
         
     | 
| 
       646 
652 
     | 
    
         
             
            }
         
     | 
| 
       647 
653 
     | 
    
         
             
            function isTrustedSignal(target) {
         
     | 
| 
       648 
654 
     | 
    
         
             
                if (!trustedSignals) {
         
     | 
| 
       649 
     | 
    
         
            -
                     
     | 
| 
       650 
     | 
    
         
            -
                    // this check should only be performed for runtimes that care about filtering signals to track
         
     | 
| 
       651 
     | 
    
         
            -
                    // our default behavior should be to track all signals
         
     | 
| 
       652 
     | 
    
         
            -
                    return true;
         
     | 
| 
      
 655 
     | 
    
         
            +
                    return false;
         
     | 
| 
       653 
656 
     | 
    
         
             
                }
         
     | 
| 
       654 
657 
     | 
    
         
             
                return trustedSignals.has(target);
         
     | 
| 
       655 
658 
     | 
    
         
             
            }
         
     | 
| 
         @@ -677,7 +680,7 @@ function normalizeTabIndex(value) { 
     | 
|
| 
       677 
680 
     | 
    
         
             
                const shouldNormalize = value > 0 && typeof value !== 'boolean';
         
     | 
| 
       678 
681 
     | 
    
         
             
                return shouldNormalize ? 0 : value;
         
     | 
| 
       679 
682 
     | 
    
         
             
            }
         
     | 
| 
       680 
     | 
    
         
            -
            /** version: 8.20. 
     | 
| 
      
 683 
     | 
    
         
            +
            /** version: 8.20.6 */
         
     | 
| 
       681 
684 
     | 
    
         | 
| 
       682 
685 
     | 
    
         
             
            /**
         
     | 
| 
       683 
686 
     | 
    
         
             
             * Copyright (c) 2025 Salesforce, Inc.
         
     | 
| 
         @@ -701,7 +704,7 @@ function normalizeTabIndex(value) { 
     | 
|
| 
       701 
704 
     | 
    
         
             
             * @param value
         
     | 
| 
       702 
705 
     | 
    
         
             
             * @param msg
         
     | 
| 
       703 
706 
     | 
    
         
             
             */
         
     | 
| 
       704 
     | 
    
         
            -
            /** version: 8.20. 
     | 
| 
      
 707 
     | 
    
         
            +
            /** version: 8.20.6 */
         
     | 
| 
       705 
708 
     | 
    
         | 
| 
       706 
709 
     | 
    
         
             
            /*
         
     | 
| 
       707 
710 
     | 
    
         
             
             * Copyright (c) 2023, salesforce.com, inc.
         
     | 
| 
         @@ -725,7 +728,7 @@ class SignalBaseClass { 
     | 
|
| 
       725 
728 
     | 
    
         
             
                    }
         
     | 
| 
       726 
729 
     | 
    
         
             
                }
         
     | 
| 
       727 
730 
     | 
    
         
             
            }
         
     | 
| 
       728 
     | 
    
         
            -
            /** version: 8.20. 
     | 
| 
      
 731 
     | 
    
         
            +
            /** version: 8.20.6 */
         
     | 
| 
       729 
732 
     | 
    
         | 
| 
       730 
733 
     | 
    
         
             
            /**
         
     | 
| 
       731 
734 
     | 
    
         
             
             * Copyright (c) 2025 Salesforce, Inc.
         
     | 
| 
         @@ -749,10 +752,12 @@ const features = { 
     | 
|
| 
       749 
752 
     | 
    
         
             
                ENABLE_LEGACY_SCOPE_TOKENS: null,
         
     | 
| 
       750 
753 
     | 
    
         
             
                ENABLE_FORCE_SHADOW_MIGRATE_MODE: null,
         
     | 
| 
       751 
754 
     | 
    
         
             
                ENABLE_EXPERIMENTAL_SIGNALS: null,
         
     | 
| 
      
 755 
     | 
    
         
            +
                ENABLE_LEGACY_SIGNAL_CONTEXT_VALIDATION: null,
         
     | 
| 
       752 
756 
     | 
    
         
             
                DISABLE_SYNTHETIC_SHADOW: null,
         
     | 
| 
       753 
757 
     | 
    
         
             
                DISABLE_SCOPE_TOKEN_VALIDATION: null,
         
     | 
| 
       754 
758 
     | 
    
         
             
                LEGACY_LOCKER_ENABLED: null,
         
     | 
| 
       755 
759 
     | 
    
         
             
                DISABLE_LEGACY_VALIDATION: null,
         
     | 
| 
      
 760 
     | 
    
         
            +
                ENABLE_LEGACY_CONTEXT_CONNECTION: null,
         
     | 
| 
       756 
761 
     | 
    
         
             
            };
         
     | 
| 
       757 
762 
     | 
    
         
             
            if (!globalThis.lwcRuntimeFlags) {
         
     | 
| 
       758 
763 
     | 
    
         
             
                Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
         
     | 
| 
         @@ -813,7 +818,7 @@ function setFeatureFlagForTest(name, value) { 
     | 
|
| 
       813 
818 
     | 
    
         
             
                    setFeatureFlag(name, value);
         
     | 
| 
       814 
819 
     | 
    
         
             
                }
         
     | 
| 
       815 
820 
     | 
    
         
             
            }
         
     | 
| 
       816 
     | 
    
         
            -
            /** version: 8.20. 
     | 
| 
      
 821 
     | 
    
         
            +
            /** version: 8.20.6 */
         
     | 
| 
       817 
822 
     | 
    
         | 
| 
       818 
823 
     | 
    
         
             
            /*
         
     | 
| 
       819 
824 
     | 
    
         
             
             * Copyright (c) 2024, Salesforce, Inc.
         
     | 
| 
         @@ -2191,5 +2196,5 @@ exports.track = track; 
     | 
|
| 
       2191 
2196 
     | 
    
         
             
            exports.unwrap = unwrap$1;
         
     | 
| 
       2192 
2197 
     | 
    
         
             
            exports.validateStyleTextContents = validateStyleTextContents;
         
     | 
| 
       2193 
2198 
     | 
    
         
             
            exports.wire = wire;
         
     | 
| 
       2194 
     | 
    
         
            -
            /** version: 8.20. 
     | 
| 
      
 2199 
     | 
    
         
            +
            /** version: 8.20.6 */
         
     | 
| 
       2195 
2200 
     | 
    
         
             
            //# sourceMappingURL=index.cjs.js.map
         
     | 
    
        package/dist/index.js
    CHANGED
    
    | 
         @@ -639,13 +639,16 @@ let trustedSignals; 
     | 
|
| 
       639 
639 
     | 
    
         
             
            function setTrustedSignalSet(signals) {
         
     | 
| 
       640 
640 
     | 
    
         
             
                isFalse$1(trustedSignals, 'Trusted Signal Set is already set!');
         
     | 
| 
       641 
641 
     | 
    
         
             
                trustedSignals = signals;
         
     | 
| 
      
 642 
     | 
    
         
            +
                // Only used in LWC's Karma. Contained within the set function as there are multiple imports of
         
     | 
| 
      
 643 
     | 
    
         
            +
                // this module. Placing it here ensures we reference the import where the trustedSignals set is maintained
         
     | 
| 
      
 644 
     | 
    
         
            +
                if (process.env.NODE_ENV === 'test-karma-lwc') {
         
     | 
| 
      
 645 
     | 
    
         
            +
                    // Used to reset the global state between test runs
         
     | 
| 
      
 646 
     | 
    
         
            +
                    globalThis.__lwcResetTrustedSignalsSetForTest = () => (trustedSignals = undefined);
         
     | 
| 
      
 647 
     | 
    
         
            +
                }
         
     | 
| 
       642 
648 
     | 
    
         
             
            }
         
     | 
| 
       643 
649 
     | 
    
         
             
            function isTrustedSignal(target) {
         
     | 
| 
       644 
650 
     | 
    
         
             
                if (!trustedSignals) {
         
     | 
| 
       645 
     | 
    
         
            -
                     
     | 
| 
       646 
     | 
    
         
            -
                    // this check should only be performed for runtimes that care about filtering signals to track
         
     | 
| 
       647 
     | 
    
         
            -
                    // our default behavior should be to track all signals
         
     | 
| 
       648 
     | 
    
         
            -
                    return true;
         
     | 
| 
      
 651 
     | 
    
         
            +
                    return false;
         
     | 
| 
       649 
652 
     | 
    
         
             
                }
         
     | 
| 
       650 
653 
     | 
    
         
             
                return trustedSignals.has(target);
         
     | 
| 
       651 
654 
     | 
    
         
             
            }
         
     | 
| 
         @@ -673,7 +676,7 @@ function normalizeTabIndex(value) { 
     | 
|
| 
       673 
676 
     | 
    
         
             
                const shouldNormalize = value > 0 && typeof value !== 'boolean';
         
     | 
| 
       674 
677 
     | 
    
         
             
                return shouldNormalize ? 0 : value;
         
     | 
| 
       675 
678 
     | 
    
         
             
            }
         
     | 
| 
       676 
     | 
    
         
            -
            /** version: 8.20. 
     | 
| 
      
 679 
     | 
    
         
            +
            /** version: 8.20.6 */
         
     | 
| 
       677 
680 
     | 
    
         | 
| 
       678 
681 
     | 
    
         
             
            /**
         
     | 
| 
       679 
682 
     | 
    
         
             
             * Copyright (c) 2025 Salesforce, Inc.
         
     | 
| 
         @@ -697,7 +700,7 @@ function normalizeTabIndex(value) { 
     | 
|
| 
       697 
700 
     | 
    
         
             
             * @param value
         
     | 
| 
       698 
701 
     | 
    
         
             
             * @param msg
         
     | 
| 
       699 
702 
     | 
    
         
             
             */
         
     | 
| 
       700 
     | 
    
         
            -
            /** version: 8.20. 
     | 
| 
      
 703 
     | 
    
         
            +
            /** version: 8.20.6 */
         
     | 
| 
       701 
704 
     | 
    
         | 
| 
       702 
705 
     | 
    
         
             
            /*
         
     | 
| 
       703 
706 
     | 
    
         
             
             * Copyright (c) 2023, salesforce.com, inc.
         
     | 
| 
         @@ -721,7 +724,7 @@ class SignalBaseClass { 
     | 
|
| 
       721 
724 
     | 
    
         
             
                    }
         
     | 
| 
       722 
725 
     | 
    
         
             
                }
         
     | 
| 
       723 
726 
     | 
    
         
             
            }
         
     | 
| 
       724 
     | 
    
         
            -
            /** version: 8.20. 
     | 
| 
      
 727 
     | 
    
         
            +
            /** version: 8.20.6 */
         
     | 
| 
       725 
728 
     | 
    
         | 
| 
       726 
729 
     | 
    
         
             
            /**
         
     | 
| 
       727 
730 
     | 
    
         
             
             * Copyright (c) 2025 Salesforce, Inc.
         
     | 
| 
         @@ -745,10 +748,12 @@ const features = { 
     | 
|
| 
       745 
748 
     | 
    
         
             
                ENABLE_LEGACY_SCOPE_TOKENS: null,
         
     | 
| 
       746 
749 
     | 
    
         
             
                ENABLE_FORCE_SHADOW_MIGRATE_MODE: null,
         
     | 
| 
       747 
750 
     | 
    
         
             
                ENABLE_EXPERIMENTAL_SIGNALS: null,
         
     | 
| 
      
 751 
     | 
    
         
            +
                ENABLE_LEGACY_SIGNAL_CONTEXT_VALIDATION: null,
         
     | 
| 
       748 
752 
     | 
    
         
             
                DISABLE_SYNTHETIC_SHADOW: null,
         
     | 
| 
       749 
753 
     | 
    
         
             
                DISABLE_SCOPE_TOKEN_VALIDATION: null,
         
     | 
| 
       750 
754 
     | 
    
         
             
                LEGACY_LOCKER_ENABLED: null,
         
     | 
| 
       751 
755 
     | 
    
         
             
                DISABLE_LEGACY_VALIDATION: null,
         
     | 
| 
      
 756 
     | 
    
         
            +
                ENABLE_LEGACY_CONTEXT_CONNECTION: null,
         
     | 
| 
       752 
757 
     | 
    
         
             
            };
         
     | 
| 
       753 
758 
     | 
    
         
             
            if (!globalThis.lwcRuntimeFlags) {
         
     | 
| 
       754 
759 
     | 
    
         
             
                Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
         
     | 
| 
         @@ -809,7 +814,7 @@ function setFeatureFlagForTest(name, value) { 
     | 
|
| 
       809 
814 
     | 
    
         
             
                    setFeatureFlag(name, value);
         
     | 
| 
       810 
815 
     | 
    
         
             
                }
         
     | 
| 
       811 
816 
     | 
    
         
             
            }
         
     | 
| 
       812 
     | 
    
         
            -
            /** version: 8.20. 
     | 
| 
      
 817 
     | 
    
         
            +
            /** version: 8.20.6 */
         
     | 
| 
       813 
818 
     | 
    
         | 
| 
       814 
819 
     | 
    
         
             
            /*
         
     | 
| 
       815 
820 
     | 
    
         
             
             * Copyright (c) 2024, Salesforce, Inc.
         
     | 
| 
         @@ -2133,5 +2138,5 @@ function* toIteratorDirective(iterable) { 
     | 
|
| 
       2133 
2138 
     | 
    
         
             
            }
         
     | 
| 
       2134 
2139 
     | 
    
         | 
| 
       2135 
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 };
         
     | 
| 
       2136 
     | 
    
         
            -
            /** version: 8.20. 
     | 
| 
      
 2141 
     | 
    
         
            +
            /** version: 8.20.6 */
         
     | 
| 
       2137 
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.20. 
     | 
| 
      
 7 
     | 
    
         
            +
                "version": "8.20.6",
         
     | 
| 
       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.20. 
     | 
| 
       52 
     | 
    
         
            -
                    "@lwc/engine-core": "8.20. 
     | 
| 
       53 
     | 
    
         
            -
                    "@lwc/features": "8.20. 
     | 
| 
       54 
     | 
    
         
            -
                    "@lwc/signals": "8.20. 
     | 
| 
      
 51 
     | 
    
         
            +
                    "@lwc/shared": "8.20.6",
         
     | 
| 
      
 52 
     | 
    
         
            +
                    "@lwc/engine-core": "8.20.6",
         
     | 
| 
      
 53 
     | 
    
         
            +
                    "@lwc/features": "8.20.6",
         
     | 
| 
      
 54 
     | 
    
         
            +
                    "@lwc/signals": "8.20.6",
         
     | 
| 
       55 
55 
     | 
    
         
             
                    "observable-membrane": "2.0.0"
         
     | 
| 
       56 
56 
     | 
    
         
             
                }
         
     | 
| 
       57 
     | 
    
         
            -
            }
         
     | 
| 
      
 57 
     | 
    
         
            +
            }
         
     |