@lwc/ssr-runtime 8.22.4 → 8.22.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 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-karma-lwc') {
648
+ if (process.env.NODE_ENV === 'test-lwc-integration') {
649
649
  // Used to reset the global state between test runs
650
- globalThis.__lwcResetTrustedSignalsSetForTest = () => (trustedSignals = undefined);
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.4 */
683
+ /** version: 8.22.6 */
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.4 */
707
+ /** version: 8.22.6 */
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.4 */
731
+ /** version: 8.22.6 */
732
732
 
733
733
  /**
734
734
  * Copyright (c) 2025 Salesforce, Inc.
@@ -758,6 +758,7 @@ const features = {
758
758
  LEGACY_LOCKER_ENABLED: null,
759
759
  DISABLE_LEGACY_VALIDATION: null,
760
760
  DISABLE_DETACHED_REHYDRATION: null,
761
+ ENABLE_LEGACY_CONTEXT_CONNECTION: null,
761
762
  };
762
763
  if (!globalThis.lwcRuntimeFlags) {
763
764
  Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
@@ -789,8 +790,8 @@ function setFeatureFlag(name, value) {
789
790
  console.info(`Attempt to set a value on an unknown feature flag "${name}" resulted in a NOOP.`);
790
791
  return;
791
792
  }
792
- // This may seem redundant, but `process.env.NODE_ENV === 'test-karma-lwc'` is replaced by Karma tests
793
- if (process.env.NODE_ENV === 'test-karma-lwc' || process.env.NODE_ENV !== 'production') {
793
+ // This may seem redundant, but `process.env.NODE_ENV === 'test-lwc-integration'` is replaced by Karma tests
794
+ if (process.env.NODE_ENV === 'test-lwc-integration' || process.env.NODE_ENV !== 'production') {
794
795
  // Allow the same flag to be set more than once outside of production to enable testing
795
796
  flags[name] = value;
796
797
  }
@@ -813,12 +814,12 @@ function setFeatureFlag(name, value) {
813
814
  * @example setFeatureFlag("DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE", true)
814
815
  */
815
816
  function setFeatureFlagForTest(name, value) {
816
- // This may seem redundant, but `process.env.NODE_ENV === 'test-karma-lwc'` is replaced by Karma tests
817
- if (process.env.NODE_ENV === 'test-karma-lwc' || process.env.NODE_ENV !== 'production') {
817
+ // This may seem redundant, but `process.env.NODE_ENV === 'test-lwc-integration'` is replaced by Karma tests
818
+ if (process.env.NODE_ENV === 'test-lwc-integration' || process.env.NODE_ENV !== 'production') {
818
819
  setFeatureFlag(name, value);
819
820
  }
820
821
  }
821
- /** version: 8.22.4 */
822
+ /** version: 8.22.6 */
822
823
 
823
824
  /*
824
825
  * Copyright (c) 2024, Salesforce, Inc.
@@ -2196,5 +2197,5 @@ exports.track = track;
2196
2197
  exports.unwrap = unwrap$1;
2197
2198
  exports.validateStyleTextContents = validateStyleTextContents;
2198
2199
  exports.wire = wire;
2199
- /** version: 8.22.4 */
2200
+ /** version: 8.22.6 */
2200
2201
  //# 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-karma-lwc') {
644
+ if (process.env.NODE_ENV === 'test-lwc-integration') {
645
645
  // Used to reset the global state between test runs
646
- globalThis.__lwcResetTrustedSignalsSetForTest = () => (trustedSignals = undefined);
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.4 */
679
+ /** version: 8.22.6 */
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.4 */
703
+ /** version: 8.22.6 */
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.4 */
727
+ /** version: 8.22.6 */
728
728
 
729
729
  /**
730
730
  * Copyright (c) 2025 Salesforce, Inc.
@@ -754,6 +754,7 @@ const features = {
754
754
  LEGACY_LOCKER_ENABLED: null,
755
755
  DISABLE_LEGACY_VALIDATION: null,
756
756
  DISABLE_DETACHED_REHYDRATION: null,
757
+ ENABLE_LEGACY_CONTEXT_CONNECTION: null,
757
758
  };
758
759
  if (!globalThis.lwcRuntimeFlags) {
759
760
  Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
@@ -785,8 +786,8 @@ function setFeatureFlag(name, value) {
785
786
  console.info(`Attempt to set a value on an unknown feature flag "${name}" resulted in a NOOP.`);
786
787
  return;
787
788
  }
788
- // This may seem redundant, but `process.env.NODE_ENV === 'test-karma-lwc'` is replaced by Karma tests
789
- if (process.env.NODE_ENV === 'test-karma-lwc' || process.env.NODE_ENV !== 'production') {
789
+ // This may seem redundant, but `process.env.NODE_ENV === 'test-lwc-integration'` is replaced by Karma tests
790
+ if (process.env.NODE_ENV === 'test-lwc-integration' || process.env.NODE_ENV !== 'production') {
790
791
  // Allow the same flag to be set more than once outside of production to enable testing
791
792
  flags[name] = value;
792
793
  }
@@ -809,12 +810,12 @@ function setFeatureFlag(name, value) {
809
810
  * @example setFeatureFlag("DISABLE_NATIVE_CUSTOM_ELEMENT_LIFECYCLE", true)
810
811
  */
811
812
  function setFeatureFlagForTest(name, value) {
812
- // This may seem redundant, but `process.env.NODE_ENV === 'test-karma-lwc'` is replaced by Karma tests
813
- if (process.env.NODE_ENV === 'test-karma-lwc' || process.env.NODE_ENV !== 'production') {
813
+ // This may seem redundant, but `process.env.NODE_ENV === 'test-lwc-integration'` is replaced by Karma tests
814
+ if (process.env.NODE_ENV === 'test-lwc-integration' || process.env.NODE_ENV !== 'production') {
814
815
  setFeatureFlag(name, value);
815
816
  }
816
817
  }
817
- /** version: 8.22.4 */
818
+ /** version: 8.22.6 */
818
819
 
819
820
  /*
820
821
  * Copyright (c) 2024, Salesforce, Inc.
@@ -2138,5 +2139,5 @@ function* toIteratorDirective(iterable) {
2138
2139
  }
2139
2140
 
2140
2141
  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.4 */
2142
+ /** version: 8.22.6 */
2142
2143
  //# 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.4",
7
+ "version": "8.22.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.22.4",
52
- "@lwc/engine-core": "8.22.4",
53
- "@lwc/features": "8.22.4",
54
- "@lwc/signals": "8.22.4",
51
+ "@lwc/shared": "8.22.6",
52
+ "@lwc/engine-core": "8.22.6",
53
+ "@lwc/features": "8.22.6",
54
+ "@lwc/signals": "8.22.6",
55
55
  "observable-membrane": "2.0.0"
56
56
  }
57
57
  }