@lwc/ssr-runtime 8.20.3-alpha.0 → 8.20.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 +8 -6
- package/dist/index.js +8 -6
- package/package.json +6 -6
package/dist/index.cjs.js
CHANGED
@@ -677,7 +677,7 @@ function normalizeTabIndex(value) {
|
|
677
677
|
const shouldNormalize = value > 0 && typeof value !== 'boolean';
|
678
678
|
return shouldNormalize ? 0 : value;
|
679
679
|
}
|
680
|
-
/** version: 8.20.
|
680
|
+
/** version: 8.20.3 */
|
681
681
|
|
682
682
|
/**
|
683
683
|
* Copyright (c) 2025 Salesforce, Inc.
|
@@ -701,7 +701,7 @@ function normalizeTabIndex(value) {
|
|
701
701
|
* @param value
|
702
702
|
* @param msg
|
703
703
|
*/
|
704
|
-
/** version: 8.20.
|
704
|
+
/** version: 8.20.3 */
|
705
705
|
|
706
706
|
/*
|
707
707
|
* Copyright (c) 2023, salesforce.com, inc.
|
@@ -725,7 +725,7 @@ class SignalBaseClass {
|
|
725
725
|
}
|
726
726
|
}
|
727
727
|
}
|
728
|
-
/** version: 8.20.
|
728
|
+
/** version: 8.20.3 */
|
729
729
|
|
730
730
|
/**
|
731
731
|
* Copyright (c) 2025 Salesforce, Inc.
|
@@ -813,7 +813,7 @@ function setFeatureFlagForTest(name, value) {
|
|
813
813
|
setFeatureFlag(name, value);
|
814
814
|
}
|
815
815
|
}
|
816
|
-
/** version: 8.20.
|
816
|
+
/** version: 8.20.3 */
|
817
817
|
|
818
818
|
/*
|
819
819
|
* Copyright (c) 2024, Salesforce, Inc.
|
@@ -2075,11 +2075,13 @@ emit, defaultStylesheets, defaultScopedStylesheets, staticStylesheets, scopeToke
|
|
2075
2075
|
if (!styleDedupeIsEnabled) {
|
2076
2076
|
const styleContents = stylesheet(token, useActualHostSelector, useNativeDirPseudoclass);
|
2077
2077
|
validateStyleTextContents(styleContents);
|
2078
|
+
// TODO [#2869]: `<style>`s should not have scope token classes
|
2078
2079
|
result += `<style${hasAnyScopedStyles ? ` class="${scopeToken}"` : ''} type="text/css">${styleContents}</style>`;
|
2079
2080
|
}
|
2080
2081
|
else if (stylesheetToId.has(stylesheet)) {
|
2081
2082
|
const styleId = stylesheetToId.get(stylesheet);
|
2082
|
-
|
2083
|
+
// TODO [#2869]: `<lwc-style>`s should not have scope token classes, but required for hydration to function correctly (W-19087941).
|
2084
|
+
result += `<lwc-style${hasAnyScopedStyles ? ` class="${scopeToken}"` : ''} style-id="lwc-style-${styleDedupePrefix}-${styleId}"></lwc-style>`;
|
2083
2085
|
}
|
2084
2086
|
else {
|
2085
2087
|
const styleId = emit.cxt.nextId++;
|
@@ -2189,5 +2191,5 @@ exports.track = track;
|
|
2189
2191
|
exports.unwrap = unwrap$1;
|
2190
2192
|
exports.validateStyleTextContents = validateStyleTextContents;
|
2191
2193
|
exports.wire = wire;
|
2192
|
-
/** version: 8.20.
|
2194
|
+
/** version: 8.20.3 */
|
2193
2195
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.js
CHANGED
@@ -673,7 +673,7 @@ function normalizeTabIndex(value) {
|
|
673
673
|
const shouldNormalize = value > 0 && typeof value !== 'boolean';
|
674
674
|
return shouldNormalize ? 0 : value;
|
675
675
|
}
|
676
|
-
/** version: 8.20.
|
676
|
+
/** version: 8.20.3 */
|
677
677
|
|
678
678
|
/**
|
679
679
|
* Copyright (c) 2025 Salesforce, Inc.
|
@@ -697,7 +697,7 @@ function normalizeTabIndex(value) {
|
|
697
697
|
* @param value
|
698
698
|
* @param msg
|
699
699
|
*/
|
700
|
-
/** version: 8.20.
|
700
|
+
/** version: 8.20.3 */
|
701
701
|
|
702
702
|
/*
|
703
703
|
* Copyright (c) 2023, salesforce.com, inc.
|
@@ -721,7 +721,7 @@ class SignalBaseClass {
|
|
721
721
|
}
|
722
722
|
}
|
723
723
|
}
|
724
|
-
/** version: 8.20.
|
724
|
+
/** version: 8.20.3 */
|
725
725
|
|
726
726
|
/**
|
727
727
|
* Copyright (c) 2025 Salesforce, Inc.
|
@@ -809,7 +809,7 @@ function setFeatureFlagForTest(name, value) {
|
|
809
809
|
setFeatureFlag(name, value);
|
810
810
|
}
|
811
811
|
}
|
812
|
-
/** version: 8.20.
|
812
|
+
/** version: 8.20.3 */
|
813
813
|
|
814
814
|
/*
|
815
815
|
* Copyright (c) 2024, Salesforce, Inc.
|
@@ -2071,11 +2071,13 @@ emit, defaultStylesheets, defaultScopedStylesheets, staticStylesheets, scopeToke
|
|
2071
2071
|
if (!styleDedupeIsEnabled) {
|
2072
2072
|
const styleContents = stylesheet(token, useActualHostSelector, useNativeDirPseudoclass);
|
2073
2073
|
validateStyleTextContents(styleContents);
|
2074
|
+
// TODO [#2869]: `<style>`s should not have scope token classes
|
2074
2075
|
result += `<style${hasAnyScopedStyles ? ` class="${scopeToken}"` : ''} type="text/css">${styleContents}</style>`;
|
2075
2076
|
}
|
2076
2077
|
else if (stylesheetToId.has(stylesheet)) {
|
2077
2078
|
const styleId = stylesheetToId.get(stylesheet);
|
2078
|
-
|
2079
|
+
// TODO [#2869]: `<lwc-style>`s should not have scope token classes, but required for hydration to function correctly (W-19087941).
|
2080
|
+
result += `<lwc-style${hasAnyScopedStyles ? ` class="${scopeToken}"` : ''} style-id="lwc-style-${styleDedupePrefix}-${styleId}"></lwc-style>`;
|
2079
2081
|
}
|
2080
2082
|
else {
|
2081
2083
|
const styleId = emit.cxt.nextId++;
|
@@ -2131,5 +2133,5 @@ function* toIteratorDirective(iterable) {
|
|
2131
2133
|
}
|
2132
2134
|
|
2133
2135
|
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 };
|
2134
|
-
/** version: 8.20.
|
2136
|
+
/** version: 8.20.3 */
|
2135
2137
|
//# 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.3
|
7
|
+
"version": "8.20.3",
|
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.3
|
52
|
-
"@lwc/engine-core": "8.20.3
|
53
|
-
"@lwc/features": "8.20.3
|
54
|
-
"@lwc/signals": "8.20.3
|
51
|
+
"@lwc/shared": "8.20.3",
|
52
|
+
"@lwc/engine-core": "8.20.3",
|
53
|
+
"@lwc/features": "8.20.3",
|
54
|
+
"@lwc/signals": "8.20.3",
|
55
55
|
"observable-membrane": "2.0.0"
|
56
56
|
}
|
57
|
-
}
|
57
|
+
}
|