@lwc/engine-core 6.5.1 → 6.5.2
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/framework/api.d.ts +1 -1
- package/dist/framework/vnodes.d.ts +7 -2
- package/dist/index.cjs.js +13 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +13 -10
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -2053,7 +2053,7 @@ function createContextWatcher(vm, wireDef, callbackWhenContextIsReady) {
|
|
|
2053
2053
|
}
|
|
2054
2054
|
|
|
2055
2055
|
/*
|
|
2056
|
-
* Copyright (c)
|
|
2056
|
+
* Copyright (c) 2024, Salesforce, Inc.
|
|
2057
2057
|
* All rights reserved.
|
|
2058
2058
|
* SPDX-License-Identifier: MIT
|
|
2059
2059
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
@@ -2212,7 +2212,8 @@ function installWireAdapters(vm) {
|
|
|
2212
2212
|
vm.debugInfo[WIRE_DEBUG_ENTRY] = create(null);
|
|
2213
2213
|
}
|
|
2214
2214
|
const wiredConnecting = (context.wiredConnecting = []);
|
|
2215
|
-
const wiredDisconnecting = (context.wiredDisconnecting =
|
|
2215
|
+
const wiredDisconnecting = (context.wiredDisconnecting =
|
|
2216
|
+
[]);
|
|
2216
2217
|
for (const fieldNameOrMethod in wire) {
|
|
2217
2218
|
const descriptor = wire[fieldNameOrMethod];
|
|
2218
2219
|
const wireDef = WireMetaMap.get(descriptor);
|
|
@@ -2713,7 +2714,7 @@ function sanitizeAttribute(tagName, namespaceUri, attrName, attrValue) {
|
|
|
2713
2714
|
}
|
|
2714
2715
|
|
|
2715
2716
|
/*
|
|
2716
|
-
* Copyright (c)
|
|
2717
|
+
* Copyright (c) 2024, Salesforce, Inc.
|
|
2717
2718
|
* All rights reserved.
|
|
2718
2719
|
* SPDX-License-Identifier: MIT
|
|
2719
2720
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
@@ -3622,7 +3623,7 @@ function createStylesheet(vm, stylesheets) {
|
|
|
3622
3623
|
}
|
|
3623
3624
|
|
|
3624
3625
|
/*
|
|
3625
|
-
* Copyright (c)
|
|
3626
|
+
* Copyright (c) 2024, Salesforce, Inc.
|
|
3626
3627
|
* All rights reserved.
|
|
3627
3628
|
* SPDX-License-Identifier: MIT
|
|
3628
3629
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
@@ -4142,7 +4143,7 @@ function hydrateStaticParts(vnode, renderer) {
|
|
|
4142
4143
|
}
|
|
4143
4144
|
|
|
4144
4145
|
/*
|
|
4145
|
-
* Copyright (c)
|
|
4146
|
+
* Copyright (c) 2024, Salesforce, Inc.
|
|
4146
4147
|
* All rights reserved.
|
|
4147
4148
|
* SPDX-License-Identifier: MIT
|
|
4148
4149
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
@@ -4912,7 +4913,7 @@ function updateStaticChildren(c1, c2, parent, renderer) {
|
|
|
4912
4913
|
}
|
|
4913
4914
|
|
|
4914
4915
|
/*
|
|
4915
|
-
* Copyright (c)
|
|
4916
|
+
* Copyright (c) 2024, Salesforce, Inc.
|
|
4916
4917
|
* All rights reserved.
|
|
4917
4918
|
* SPDX-License-Identifier: MIT
|
|
4918
4919
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
@@ -5194,6 +5195,7 @@ function i(iterable, factory) {
|
|
|
5194
5195
|
ArrayPush$1.apply(list, vnode);
|
|
5195
5196
|
}
|
|
5196
5197
|
else {
|
|
5198
|
+
// `isArray` doesn't narrow this block properly...
|
|
5197
5199
|
ArrayPush$1.call(list, vnode);
|
|
5198
5200
|
}
|
|
5199
5201
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -5245,6 +5247,7 @@ function f(items) {
|
|
|
5245
5247
|
ArrayPush$1.apply(flattened, item);
|
|
5246
5248
|
}
|
|
5247
5249
|
else {
|
|
5250
|
+
// `isArray` doesn't narrow this block properly...
|
|
5248
5251
|
ArrayPush$1.call(flattened, item);
|
|
5249
5252
|
}
|
|
5250
5253
|
}
|
|
@@ -5574,7 +5577,7 @@ function logGlobalOperationEnd(opId, vm) {
|
|
|
5574
5577
|
}
|
|
5575
5578
|
|
|
5576
5579
|
/*
|
|
5577
|
-
* Copyright (c)
|
|
5580
|
+
* Copyright (c) 2024, Salesforce, Inc.
|
|
5578
5581
|
* All rights reserved.
|
|
5579
5582
|
* SPDX-License-Identifier: MIT
|
|
5580
5583
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
@@ -7545,7 +7548,7 @@ function setHooks(hooks) {
|
|
|
7545
7548
|
}
|
|
7546
7549
|
|
|
7547
7550
|
/*
|
|
7548
|
-
* Copyright (c)
|
|
7551
|
+
* Copyright (c) 2024, Salesforce, Inc.
|
|
7549
7552
|
* All rights reserved.
|
|
7550
7553
|
* SPDX-License-Identifier: MIT
|
|
7551
7554
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
@@ -7613,9 +7616,9 @@ function warnOnArrayMutation(stylesheets) {
|
|
|
7613
7616
|
// we can at least warn when they use the most common mutation methods.
|
|
7614
7617
|
for (const prop of ARRAY_MUTATION_METHODS) {
|
|
7615
7618
|
const originalArrayMethod = getOriginalArrayMethod(prop);
|
|
7619
|
+
// Assertions used here because TypeScript can't handle mapping over our types
|
|
7616
7620
|
stylesheets[prop] = function arrayMutationWarningWrapper() {
|
|
7617
7621
|
reportTemplateViolation('stylesheets');
|
|
7618
|
-
// @ts-expect-error can't properly determine the right `this`
|
|
7619
7622
|
return originalArrayMethod.apply(this, arguments);
|
|
7620
7623
|
};
|
|
7621
7624
|
}
|
|
@@ -7801,5 +7804,5 @@ function readonly(obj) {
|
|
|
7801
7804
|
}
|
|
7802
7805
|
|
|
7803
7806
|
export { LightningElement, profilerControl as __unstable__ProfilerControl, reportingControl as __unstable__ReportingControl, api$1 as api, computeShadowAndRenderMode, connectRootElement, createContextProviderWithRegister, createVM, disconnectRootElement, freezeTemplate, getAssociatedVMIfPresent, getComponentAPIVersion, getComponentConstructor, getComponentDef, getComponentHtmlPrototype, hydrateRoot, isComponentConstructor, parseFragment, parseSVGFragment, readonly, registerComponent, registerDecorators, registerTemplate, runFormAssociatedCallback, runFormDisabledCallback, runFormResetCallback, runFormStateRestoreCallback, sanitizeAttribute, setHooks, shouldBeFormAssociated, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
7804
|
-
/** version: 6.5.
|
|
7807
|
+
/** version: 6.5.2 */
|
|
7805
7808
|
//# sourceMappingURL=index.js.map
|