@lwc/ssr-runtime 9.5.2 → 9.5.4-alpha.0
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 +14 -5
- package/dist/index.js +13 -6
- package/dist/stubs.d.ts +2 -0
- package/package.json +5 -5
package/dist/index.cjs
CHANGED
|
@@ -40,6 +40,12 @@ function registerComponent(..._) {
|
|
|
40
40
|
function registerDecorators(..._) {
|
|
41
41
|
throw new Error('registerDecorators cannot be used in SSR context.');
|
|
42
42
|
}
|
|
43
|
+
function registerLockerModeComponent(..._) {
|
|
44
|
+
throw new Error('registerLockerModeComponent cannot be used in SSR context.');
|
|
45
|
+
}
|
|
46
|
+
function enableLockerMode(..._) {
|
|
47
|
+
throw new Error('enableLockerMode cannot be used in SSR context.');
|
|
48
|
+
}
|
|
43
49
|
function sanitizeAttribute(..._) {
|
|
44
50
|
throw new Error('sanitizeAttribute cannot be used in SSR context.');
|
|
45
51
|
}
|
|
@@ -688,7 +694,7 @@ function normalizeTabIndex(value) {
|
|
|
688
694
|
const shouldNormalize = value > 0 && typeof value !== 'boolean';
|
|
689
695
|
return shouldNormalize ? 0 : value;
|
|
690
696
|
}
|
|
691
|
-
/** version: 9.5.
|
|
697
|
+
/** version: 9.5.4-alpha.0 */
|
|
692
698
|
|
|
693
699
|
/**
|
|
694
700
|
* Copyright (c) 2026 Salesforce, Inc.
|
|
@@ -712,7 +718,7 @@ function normalizeTabIndex(value) {
|
|
|
712
718
|
* @param value
|
|
713
719
|
* @param msg
|
|
714
720
|
*/
|
|
715
|
-
/** version: 9.5.
|
|
721
|
+
/** version: 9.5.4-alpha.0 */
|
|
716
722
|
|
|
717
723
|
/*
|
|
718
724
|
* Copyright (c) 2023, salesforce.com, inc.
|
|
@@ -736,7 +742,7 @@ class SignalBaseClass {
|
|
|
736
742
|
}
|
|
737
743
|
}
|
|
738
744
|
}
|
|
739
|
-
/** version: 9.5.
|
|
745
|
+
/** version: 9.5.4-alpha.0 */
|
|
740
746
|
|
|
741
747
|
/**
|
|
742
748
|
* Copyright (c) 2026 Salesforce, Inc.
|
|
@@ -770,6 +776,7 @@ const features = {
|
|
|
770
776
|
ENABLE_LEGACY_ATTRIBUTE_CHANGED_CALLBACK: null,
|
|
771
777
|
DISABLE_SANITIZED_HTML_CONTENT_IDENTITY_CHECK: null,
|
|
772
778
|
DISABLE_NATIVE_SHADOWROOT_SINK_SANITIZATION: null,
|
|
779
|
+
LEGACY_LOCKER_ENABLED: null,
|
|
773
780
|
};
|
|
774
781
|
if (!globalThis.lwcRuntimeFlags) {
|
|
775
782
|
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
@@ -830,7 +837,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
830
837
|
setFeatureFlag(name, value);
|
|
831
838
|
}
|
|
832
839
|
}
|
|
833
|
-
/** version: 9.5.
|
|
840
|
+
/** version: 9.5.4-alpha.0 */
|
|
834
841
|
|
|
835
842
|
/*
|
|
836
843
|
* Copyright (c) 2024, Salesforce, Inc.
|
|
@@ -2323,6 +2330,7 @@ exports.api = api;
|
|
|
2323
2330
|
exports.connectContext = connectContext$1;
|
|
2324
2331
|
exports.createContextProvider = createContextProvider;
|
|
2325
2332
|
exports.createElement = createElement;
|
|
2333
|
+
exports.enableLockerMode = enableLockerMode;
|
|
2326
2334
|
exports.establishContextfulRelationship = establishContextfulRelationship;
|
|
2327
2335
|
exports.fallbackTmpl = fallbackTmpl;
|
|
2328
2336
|
exports.fallbackTmplNoYield = fallbackTmplNoYield;
|
|
@@ -2342,6 +2350,7 @@ exports.parseSVGFragment = parseSVGFragment;
|
|
|
2342
2350
|
exports.readonly = readonly;
|
|
2343
2351
|
exports.registerComponent = registerComponent;
|
|
2344
2352
|
exports.registerDecorators = registerDecorators;
|
|
2353
|
+
exports.registerLockerModeComponent = registerLockerModeComponent;
|
|
2345
2354
|
exports.registerPublicProperties = registerPublicProperties;
|
|
2346
2355
|
exports.registerTemplate = registerTemplate;
|
|
2347
2356
|
exports.renderAttrs = renderAttrs;
|
|
@@ -2368,5 +2377,5 @@ exports.track = track;
|
|
|
2368
2377
|
exports.unwrap = unwrap$1;
|
|
2369
2378
|
exports.validateStyleTextContents = validateStyleTextContents;
|
|
2370
2379
|
exports.wire = wire;
|
|
2371
|
-
/** version: 9.5.
|
|
2380
|
+
/** version: 9.5.4-alpha.0 */
|
|
2372
2381
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -36,6 +36,12 @@ function registerComponent(..._) {
|
|
|
36
36
|
function registerDecorators(..._) {
|
|
37
37
|
throw new Error('registerDecorators cannot be used in SSR context.');
|
|
38
38
|
}
|
|
39
|
+
function registerLockerModeComponent(..._) {
|
|
40
|
+
throw new Error('registerLockerModeComponent cannot be used in SSR context.');
|
|
41
|
+
}
|
|
42
|
+
function enableLockerMode(..._) {
|
|
43
|
+
throw new Error('enableLockerMode cannot be used in SSR context.');
|
|
44
|
+
}
|
|
39
45
|
function sanitizeAttribute(..._) {
|
|
40
46
|
throw new Error('sanitizeAttribute cannot be used in SSR context.');
|
|
41
47
|
}
|
|
@@ -684,7 +690,7 @@ function normalizeTabIndex(value) {
|
|
|
684
690
|
const shouldNormalize = value > 0 && typeof value !== 'boolean';
|
|
685
691
|
return shouldNormalize ? 0 : value;
|
|
686
692
|
}
|
|
687
|
-
/** version: 9.5.
|
|
693
|
+
/** version: 9.5.4-alpha.0 */
|
|
688
694
|
|
|
689
695
|
/**
|
|
690
696
|
* Copyright (c) 2026 Salesforce, Inc.
|
|
@@ -708,7 +714,7 @@ function normalizeTabIndex(value) {
|
|
|
708
714
|
* @param value
|
|
709
715
|
* @param msg
|
|
710
716
|
*/
|
|
711
|
-
/** version: 9.5.
|
|
717
|
+
/** version: 9.5.4-alpha.0 */
|
|
712
718
|
|
|
713
719
|
/*
|
|
714
720
|
* Copyright (c) 2023, salesforce.com, inc.
|
|
@@ -732,7 +738,7 @@ class SignalBaseClass {
|
|
|
732
738
|
}
|
|
733
739
|
}
|
|
734
740
|
}
|
|
735
|
-
/** version: 9.5.
|
|
741
|
+
/** version: 9.5.4-alpha.0 */
|
|
736
742
|
|
|
737
743
|
/**
|
|
738
744
|
* Copyright (c) 2026 Salesforce, Inc.
|
|
@@ -766,6 +772,7 @@ const features = {
|
|
|
766
772
|
ENABLE_LEGACY_ATTRIBUTE_CHANGED_CALLBACK: null,
|
|
767
773
|
DISABLE_SANITIZED_HTML_CONTENT_IDENTITY_CHECK: null,
|
|
768
774
|
DISABLE_NATIVE_SHADOWROOT_SINK_SANITIZATION: null,
|
|
775
|
+
LEGACY_LOCKER_ENABLED: null,
|
|
769
776
|
};
|
|
770
777
|
if (!globalThis.lwcRuntimeFlags) {
|
|
771
778
|
Object.defineProperty(globalThis, 'lwcRuntimeFlags', { value: create(null) });
|
|
@@ -826,7 +833,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
826
833
|
setFeatureFlag(name, value);
|
|
827
834
|
}
|
|
828
835
|
}
|
|
829
|
-
/** version: 9.5.
|
|
836
|
+
/** version: 9.5.4-alpha.0 */
|
|
830
837
|
|
|
831
838
|
/*
|
|
832
839
|
* Copyright (c) 2024, Salesforce, Inc.
|
|
@@ -2307,6 +2314,6 @@ function setStaticInternals(Component, defaultTagName, cmpPublicProps, wireAdapt
|
|
|
2307
2314
|
}
|
|
2308
2315
|
}
|
|
2309
2316
|
|
|
2310
|
-
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, registerPublicProperties, registerTemplate, renderAttrs, renderAttrsNoYield, serverSideRenderComponent as renderComponent, renderStylesheets, renderTextContent, renderer, sanitizeAttribute, sanitizeHtmlContent, serverSideRenderComponent, setContextKeys, setFeatureFlag, setFeatureFlagForTest, setHooks, setStaticInternals, setTrustedContextSet, setTrustedSignalSet, swapComponent, swapStyle, swapTemplate, toIteratorDirective, track, unwrap$1 as unwrap, validateStyleTextContents, wire };
|
|
2311
|
-
/** version: 9.5.
|
|
2317
|
+
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, enableLockerMode, establishContextfulRelationship, fallbackTmpl, fallbackTmplNoYield, freezeTemplate, getComponentDef, hasScopedStaticStylesheets, hot, htmlEscape, isComponentConstructor, isTrustedSignal, mutationTracker, normalizeClass, normalizeTabIndex, normalizeTextContent, parseFragment, parseSVGFragment, readonly, registerComponent, registerDecorators, registerLockerModeComponent, registerPublicProperties, registerTemplate, renderAttrs, renderAttrsNoYield, serverSideRenderComponent as renderComponent, renderStylesheets, renderTextContent, renderer, sanitizeAttribute, sanitizeHtmlContent, serverSideRenderComponent, setContextKeys, setFeatureFlag, setFeatureFlagForTest, setHooks, setStaticInternals, setTrustedContextSet, setTrustedSignalSet, swapComponent, swapStyle, swapTemplate, toIteratorDirective, track, unwrap$1 as unwrap, validateStyleTextContents, wire };
|
|
2318
|
+
/** version: 9.5.4-alpha.0 */
|
|
2312
2319
|
//# sourceMappingURL=index.js.map
|
package/dist/stubs.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ export declare function parseFragment(..._: unknown[]): never;
|
|
|
7
7
|
export declare function parseSVGFragment(..._: unknown[]): never;
|
|
8
8
|
export declare function registerComponent(..._: unknown[]): never;
|
|
9
9
|
export declare function registerDecorators(..._: unknown[]): never;
|
|
10
|
+
export declare function registerLockerModeComponent(..._: unknown[]): never;
|
|
11
|
+
export declare function enableLockerMode(..._: unknown[]): never;
|
|
10
12
|
export declare function sanitizeAttribute(..._: unknown[]): never;
|
|
11
13
|
export declare function swapComponent(..._: unknown[]): never;
|
|
12
14
|
export declare function swapStyle(..._: unknown[]): never;
|
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": "9.5.
|
|
7
|
+
"version": "9.5.4-alpha.0",
|
|
8
8
|
"description": "Runtime complement to @lwc/ssr-compiler",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"lwc",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@lwc/shared": "9.5.
|
|
57
|
-
"@lwc/engine-core": "9.5.
|
|
58
|
-
"@lwc/features": "9.5.
|
|
59
|
-
"@lwc/signals": "9.5.
|
|
56
|
+
"@lwc/shared": "9.5.4-alpha.0",
|
|
57
|
+
"@lwc/engine-core": "9.5.4-alpha.0",
|
|
58
|
+
"@lwc/features": "9.5.4-alpha.0",
|
|
59
|
+
"@lwc/signals": "9.5.4-alpha.0",
|
|
60
60
|
"observable-membrane": "2.0.0"
|
|
61
61
|
}
|
|
62
62
|
}
|