@lwc/engine-core 8.24.0 → 8.26.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.js +7 -7
- package/dist/index.js +7 -7
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -139,7 +139,7 @@ function addErrorComponentStack(vm, error) {
|
|
|
139
139
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
140
140
|
*/
|
|
141
141
|
const alreadyLoggedMessages = new Set();
|
|
142
|
-
// Only used in LWC's
|
|
142
|
+
// Only used in LWC's integration tests
|
|
143
143
|
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
|
144
144
|
window.__lwcResetAlreadyLoggedMessages = () => {
|
|
145
145
|
alreadyLoggedMessages.clear();
|
|
@@ -2856,7 +2856,7 @@ function getDecoratorsMeta(Ctor) {
|
|
|
2856
2856
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2857
2857
|
*/
|
|
2858
2858
|
let warned = false;
|
|
2859
|
-
// Only used in LWC's
|
|
2859
|
+
// Only used in LWC's integration tests
|
|
2860
2860
|
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
|
2861
2861
|
window.__lwcResetWarnedOnVersionMismatch = () => {
|
|
2862
2862
|
warned = false;
|
|
@@ -3137,7 +3137,7 @@ const VALID_SCOPE_TOKEN_REGEX = /^[a-zA-Z0-9\-_]+$/;
|
|
|
3137
3137
|
// The "pure" annotations are so that Rollup knows for sure it can remove these from prod mode
|
|
3138
3138
|
let stylesheetsToCssContent = /*@__PURE__@*/ new WeakMap();
|
|
3139
3139
|
let cssContentToAbortControllers = /*@__PURE__@*/ new Map();
|
|
3140
|
-
// Only used in LWC's
|
|
3140
|
+
// Only used in LWC's integration tests
|
|
3141
3141
|
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
|
3142
3142
|
// Used to reset the global state between test runs
|
|
3143
3143
|
window.__lwcResetStylesheetCache = () => {
|
|
@@ -3539,7 +3539,7 @@ let activeTemplates = /*@__PURE__@*/ new WeakMultiMap();
|
|
|
3539
3539
|
let activeComponents =
|
|
3540
3540
|
/*@__PURE__@*/ new WeakMultiMap();
|
|
3541
3541
|
let activeStyles = /*@__PURE__@*/ new WeakMultiMap();
|
|
3542
|
-
// Only used in LWC's
|
|
3542
|
+
// Only used in LWC's integration tests
|
|
3543
3543
|
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
|
3544
3544
|
// Used to reset the global state between test runs
|
|
3545
3545
|
window.__lwcResetHotSwaps = () => {
|
|
@@ -6226,7 +6226,7 @@ const MAX_CACHE_KEY = 3;
|
|
|
6226
6226
|
// See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates
|
|
6227
6227
|
// Also note that this array only needs to be large enough to account for the maximum possible cache key
|
|
6228
6228
|
const fragmentCache = shared.ArrayFrom({ length: MAX_CACHE_KEY + 1 }, () => new WeakMap());
|
|
6229
|
-
// Only used in LWC's
|
|
6229
|
+
// Only used in LWC's integration tests
|
|
6230
6230
|
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
|
6231
6231
|
window.__lwcResetFragmentCache = () => {
|
|
6232
6232
|
for (let i = 0; i < fragmentCache.length; i++) {
|
|
@@ -6724,7 +6724,7 @@ function getComponentAPIVersion(Ctor) {
|
|
|
6724
6724
|
const metadata = registeredComponentMap.get(Ctor);
|
|
6725
6725
|
const apiVersion = metadata?.apiVersion;
|
|
6726
6726
|
if (shared.isUndefined(apiVersion)) {
|
|
6727
|
-
// This should only occur in our
|
|
6727
|
+
// This should only occur in our integration tests; in practice every component
|
|
6728
6728
|
// is registered, and so this code path should not get hit. But to be safe,
|
|
6729
6729
|
// return the lowest possible version.
|
|
6730
6730
|
return shared.LOWEST_API_VERSION;
|
|
@@ -8840,5 +8840,5 @@ exports.swapTemplate = swapTemplate;
|
|
|
8840
8840
|
exports.track = track;
|
|
8841
8841
|
exports.unwrap = unwrap;
|
|
8842
8842
|
exports.wire = wire;
|
|
8843
|
-
/** version: 8.
|
|
8843
|
+
/** version: 8.26.0 */
|
|
8844
8844
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.js
CHANGED
|
@@ -136,7 +136,7 @@ function addErrorComponentStack(vm, error) {
|
|
|
136
136
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
137
137
|
*/
|
|
138
138
|
const alreadyLoggedMessages = new Set();
|
|
139
|
-
// Only used in LWC's
|
|
139
|
+
// Only used in LWC's integration tests
|
|
140
140
|
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
|
141
141
|
window.__lwcResetAlreadyLoggedMessages = () => {
|
|
142
142
|
alreadyLoggedMessages.clear();
|
|
@@ -2853,7 +2853,7 @@ function getDecoratorsMeta(Ctor) {
|
|
|
2853
2853
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
2854
2854
|
*/
|
|
2855
2855
|
let warned = false;
|
|
2856
|
-
// Only used in LWC's
|
|
2856
|
+
// Only used in LWC's integration tests
|
|
2857
2857
|
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
|
2858
2858
|
window.__lwcResetWarnedOnVersionMismatch = () => {
|
|
2859
2859
|
warned = false;
|
|
@@ -3134,7 +3134,7 @@ const VALID_SCOPE_TOKEN_REGEX = /^[a-zA-Z0-9\-_]+$/;
|
|
|
3134
3134
|
// The "pure" annotations are so that Rollup knows for sure it can remove these from prod mode
|
|
3135
3135
|
let stylesheetsToCssContent = /*@__PURE__@*/ new WeakMap();
|
|
3136
3136
|
let cssContentToAbortControllers = /*@__PURE__@*/ new Map();
|
|
3137
|
-
// Only used in LWC's
|
|
3137
|
+
// Only used in LWC's integration tests
|
|
3138
3138
|
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
|
3139
3139
|
// Used to reset the global state between test runs
|
|
3140
3140
|
window.__lwcResetStylesheetCache = () => {
|
|
@@ -3536,7 +3536,7 @@ let activeTemplates = /*@__PURE__@*/ new WeakMultiMap();
|
|
|
3536
3536
|
let activeComponents =
|
|
3537
3537
|
/*@__PURE__@*/ new WeakMultiMap();
|
|
3538
3538
|
let activeStyles = /*@__PURE__@*/ new WeakMultiMap();
|
|
3539
|
-
// Only used in LWC's
|
|
3539
|
+
// Only used in LWC's integration tests
|
|
3540
3540
|
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
|
3541
3541
|
// Used to reset the global state between test runs
|
|
3542
3542
|
window.__lwcResetHotSwaps = () => {
|
|
@@ -6223,7 +6223,7 @@ const MAX_CACHE_KEY = 3;
|
|
|
6223
6223
|
// See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#tagged_templates
|
|
6224
6224
|
// Also note that this array only needs to be large enough to account for the maximum possible cache key
|
|
6225
6225
|
const fragmentCache = ArrayFrom({ length: MAX_CACHE_KEY + 1 }, () => new WeakMap());
|
|
6226
|
-
// Only used in LWC's
|
|
6226
|
+
// Only used in LWC's integration tests
|
|
6227
6227
|
if (process.env.NODE_ENV === 'test-lwc-integration') {
|
|
6228
6228
|
window.__lwcResetFragmentCache = () => {
|
|
6229
6229
|
for (let i = 0; i < fragmentCache.length; i++) {
|
|
@@ -6721,7 +6721,7 @@ function getComponentAPIVersion(Ctor) {
|
|
|
6721
6721
|
const metadata = registeredComponentMap.get(Ctor);
|
|
6722
6722
|
const apiVersion = metadata?.apiVersion;
|
|
6723
6723
|
if (isUndefined$1(apiVersion)) {
|
|
6724
|
-
// This should only occur in our
|
|
6724
|
+
// This should only occur in our integration tests; in practice every component
|
|
6725
6725
|
// is registered, and so this code path should not get hit. But to be safe,
|
|
6726
6726
|
// return the lowest possible version.
|
|
6727
6727
|
return LOWEST_API_VERSION;
|
|
@@ -8766,5 +8766,5 @@ function readonly(obj) {
|
|
|
8766
8766
|
}
|
|
8767
8767
|
|
|
8768
8768
|
export { BaseBridgeElement, 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, shouldBeFormAssociated, swapComponent, swapStyle, swapTemplate, track, unwrap, wire };
|
|
8769
|
-
/** version: 8.
|
|
8769
|
+
/** version: 8.26.0 */
|
|
8770
8770
|
//# 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/engine-core",
|
|
7
|
-
"version": "8.
|
|
7
|
+
"version": "8.26.0",
|
|
8
8
|
"description": "Core LWC engine APIs.",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"lwc"
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@lwc/features": "8.
|
|
50
|
-
"@lwc/shared": "8.
|
|
51
|
-
"@lwc/signals": "8.
|
|
49
|
+
"@lwc/features": "8.26.0",
|
|
50
|
+
"@lwc/shared": "8.26.0",
|
|
51
|
+
"@lwc/signals": "8.26.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"observable-membrane": "2.0.0"
|