@lwc/ssr-runtime 8.13.1 → 8.13.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs.js +9 -4
- package/dist/index.js +9 -4
- package/dist/lightning-element.d.ts +3 -0
- package/dist/render.d.ts +1 -1
- package/package.json +3 -3
package/dist/index.cjs.js
CHANGED
@@ -609,7 +609,7 @@ function setHooks(hooks) {
|
|
609
609
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
610
610
|
*/
|
611
611
|
const DEFAULT_SSR_MODE = 'sync';
|
612
|
-
/** version: 8.13.
|
612
|
+
/** version: 8.13.3 */
|
613
613
|
|
614
614
|
/*
|
615
615
|
* Copyright (c) 2024, Salesforce, Inc.
|
@@ -1327,8 +1327,8 @@ const SYMBOL__DEFAULT_TEMPLATE = Symbol('default-template');
|
|
1327
1327
|
class LightningElement {
|
1328
1328
|
constructor(propsAvailableAtConstruction) {
|
1329
1329
|
this.isConnected = false;
|
1330
|
-
_LightningElement_props.set(this,
|
1331
|
-
_LightningElement_attrs.set(this,
|
1330
|
+
_LightningElement_props.set(this, void 0);
|
1331
|
+
_LightningElement_attrs.set(this, void 0);
|
1332
1332
|
_LightningElement_classList.set(this, null);
|
1333
1333
|
assign(this, propsAvailableAtConstruction);
|
1334
1334
|
}
|
@@ -1393,6 +1393,11 @@ class LightningElement {
|
|
1393
1393
|
removeEventListener(_type, _listener, _options) {
|
1394
1394
|
// noop
|
1395
1395
|
}
|
1396
|
+
get template() {
|
1397
|
+
return {
|
1398
|
+
synthetic: false,
|
1399
|
+
};
|
1400
|
+
}
|
1396
1401
|
// ----------------------------------------------------------- //
|
1397
1402
|
// Props/methods explicitly not available in this environment //
|
1398
1403
|
// Getters are named "get*" for parity with @lwc/engine-server //
|
@@ -1832,5 +1837,5 @@ exports.track = track;
|
|
1832
1837
|
exports.unwrap = unwrap$1;
|
1833
1838
|
exports.validateStyleTextContents = validateStyleTextContents;
|
1834
1839
|
exports.wire = wire;
|
1835
|
-
/** version: 8.13.
|
1840
|
+
/** version: 8.13.3 */
|
1836
1841
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.js
CHANGED
@@ -605,7 +605,7 @@ function setHooks(hooks) {
|
|
605
605
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
606
606
|
*/
|
607
607
|
const DEFAULT_SSR_MODE = 'sync';
|
608
|
-
/** version: 8.13.
|
608
|
+
/** version: 8.13.3 */
|
609
609
|
|
610
610
|
/*
|
611
611
|
* Copyright (c) 2024, Salesforce, Inc.
|
@@ -1323,8 +1323,8 @@ const SYMBOL__DEFAULT_TEMPLATE = Symbol('default-template');
|
|
1323
1323
|
class LightningElement {
|
1324
1324
|
constructor(propsAvailableAtConstruction) {
|
1325
1325
|
this.isConnected = false;
|
1326
|
-
_LightningElement_props.set(this,
|
1327
|
-
_LightningElement_attrs.set(this,
|
1326
|
+
_LightningElement_props.set(this, void 0);
|
1327
|
+
_LightningElement_attrs.set(this, void 0);
|
1328
1328
|
_LightningElement_classList.set(this, null);
|
1329
1329
|
assign(this, propsAvailableAtConstruction);
|
1330
1330
|
}
|
@@ -1389,6 +1389,11 @@ class LightningElement {
|
|
1389
1389
|
removeEventListener(_type, _listener, _options) {
|
1390
1390
|
// noop
|
1391
1391
|
}
|
1392
|
+
get template() {
|
1393
|
+
return {
|
1394
|
+
synthetic: false,
|
1395
|
+
};
|
1396
|
+
}
|
1392
1397
|
// ----------------------------------------------------------- //
|
1393
1398
|
// Props/methods explicitly not available in this environment //
|
1394
1399
|
// Getters are named "get*" for parity with @lwc/engine-server //
|
@@ -1783,5 +1788,5 @@ function createContextProvider(adapter) {
|
|
1783
1788
|
}
|
1784
1789
|
|
1785
1790
|
export { ClassList, LightningElement, SYMBOL__DEFAULT_TEMPLATE, SYMBOL__GENERATE_MARKUP, SYMBOL__SET_INTERNALS, api, connectContext, createContextProvider, createElement, establishContextfulRelationship, fallbackTmpl, fallbackTmplNoYield, freezeTemplate, getComponentDef, hasScopedStaticStylesheets, hot, htmlEscape, isComponentConstructor, mutationTracker, normalizeClass, normalizeTextContent, parseFragment, parseSVGFragment, readonly, registerComponent, registerDecorators, registerTemplate, renderAttrs, renderAttrsNoYield, serverSideRenderComponent as renderComponent, renderStylesheets, renderTextContent, renderer, sanitizeAttribute, sanitizeHtmlContent, serverSideRenderComponent, setFeatureFlag, setFeatureFlagForTest, setHooks, swapComponent, swapStyle, swapTemplate, toIteratorDirective, track, unwrap$1 as unwrap, validateStyleTextContents, wire };
|
1786
|
-
/** version: 8.13.
|
1791
|
+
/** version: 8.13.3 */
|
1787
1792
|
//# sourceMappingURL=index.js.map
|
@@ -38,6 +38,9 @@ export declare class LightningElement implements PropsAvailableAtConstruction {
|
|
38
38
|
removeAttribute(attrName: string): void;
|
39
39
|
addEventListener(_type: string, _listener: EventListenerOrEventListenerObject, _options?: boolean | AddEventListenerOptions): void;
|
40
40
|
removeEventListener(_type: string, _listener: EventListenerOrEventListenerObject, _options?: boolean | EventListenerOptions): void;
|
41
|
+
get template(): {
|
42
|
+
synthetic: boolean;
|
43
|
+
};
|
41
44
|
get children(): never;
|
42
45
|
get childNodes(): never;
|
43
46
|
get firstChild(): never;
|
package/dist/render.d.ts
CHANGED
@@ -10,7 +10,7 @@ export type GenerateMarkupFnAsyncNoGen = (emit: (segment: string) => void, tagNa
|
|
10
10
|
export type GenerateMarkupFnSyncNoGen = (emit: (segment: string) => void, tagName: string, props: Properties | null, attrs: Attributes | null, shadowSlottedContent: AsyncGenerator<string> | null, lightSlottedContent: Record<number | string, AsyncGenerator<string>> | null, scopedSlottedContent: Record<number | string, AsyncGenerator<string>> | null, parent: LightningElement | null, scopeToken: string | null, contextfulParent: LightningElement | null) => void;
|
11
11
|
type GenerateMarkupFnVariants = GenerateMarkupFn | GenerateMarkupFnAsyncNoGen | GenerateMarkupFnSyncNoGen;
|
12
12
|
interface ComponentWithGenerateMarkup extends LightningElementConstructor {
|
13
|
-
[SYMBOL__GENERATE_MARKUP]
|
13
|
+
[SYMBOL__GENERATE_MARKUP]?: GenerateMarkupFnVariants;
|
14
14
|
}
|
15
15
|
export declare function serverSideRenderComponent(tagName: string, Component: ComponentWithGenerateMarkup, props?: Properties, mode?: 'asyncYield' | 'async' | 'sync'): Promise<string>;
|
16
16
|
export {};
|
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.13.
|
7
|
+
"version": "8.13.3",
|
8
8
|
"description": "Runtime complement to @lwc/ssr-compiler",
|
9
9
|
"keywords": [
|
10
10
|
"lwc",
|
@@ -48,8 +48,8 @@
|
|
48
48
|
}
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
51
|
-
"@lwc/shared": "8.13.
|
52
|
-
"@lwc/engine-core": "8.13.
|
51
|
+
"@lwc/shared": "8.13.3",
|
52
|
+
"@lwc/engine-core": "8.13.3",
|
53
53
|
"observable-membrane": "2.0.0"
|
54
54
|
}
|
55
55
|
}
|