lwc 2.44.0 → 2.45.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/engine-dom/esm/es2017/engine-dom.js +9 -30
- package/dist/engine-dom/esm/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.js +8 -30
- package/dist/engine-dom/iife/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js +5 -24
- package/dist/engine-dom/iife/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.js +8 -30
- package/dist/engine-dom/iife/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/iife/es5/engine-dom_debug.js +5 -24
- package/dist/engine-dom/iife/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.js +8 -30
- package/dist/engine-dom/umd/es2017/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js +5 -24
- package/dist/engine-dom/umd/es2017/engine-dom_debug.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.js +8 -30
- package/dist/engine-dom/umd/es5/engine-dom.js.map +1 -1
- package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
- package/dist/engine-dom/umd/es5/engine-dom_debug.js +5 -24
- package/dist/engine-dom/umd/es5/engine-dom_debug.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.js +6 -35
- package/dist/engine-server/commonjs/es2017/engine-server.js.map +1 -1
- package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -1
- package/dist/engine-server/esm/es2017/engine-server.js +7 -35
- package/dist/engine-server/esm/es2017/engine-server.js.map +1 -1
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js.map +1 -1
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +3 -3
- package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js.map +1 -1
- package/dist/wire-service/esm/es2017/wire-service.js +2 -2
- package/dist/wire-service/esm/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service.js +2 -2
- package/dist/wire-service/iife/es5/wire-service.js.map +1 -1
- package/dist/wire-service/iife/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/iife/es5/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es2017/wire-service_debug.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service.js +2 -2
- package/dist/wire-service/umd/es5/wire-service.js.map +1 -1
- package/dist/wire-service/umd/es5/wire-service_debug.js +2 -2
- package/dist/wire-service/umd/es5/wire-service_debug.js.map +1 -1
- package/package.json +7 -7
|
@@ -466,9 +466,9 @@ function htmlEscape(str, attrMode = false) {
|
|
|
466
466
|
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
|
|
467
467
|
*/
|
|
468
468
|
// Increment whenever the LWC template compiler changes
|
|
469
|
-
const LWC_VERSION = "2.
|
|
469
|
+
const LWC_VERSION = "2.45.0";
|
|
470
470
|
const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
|
|
471
|
-
/** version: 2.
|
|
471
|
+
/** version: 2.45.0 */
|
|
472
472
|
|
|
473
473
|
/**
|
|
474
474
|
* Copyright (C) 2018 salesforce.com, inc.
|
|
@@ -546,7 +546,7 @@ function setFeatureFlagForTest(name, value) {
|
|
|
546
546
|
setFeatureFlag(name, value);
|
|
547
547
|
}
|
|
548
548
|
}
|
|
549
|
-
/** version: 2.
|
|
549
|
+
/** version: 2.45.0 */
|
|
550
550
|
|
|
551
551
|
/*
|
|
552
552
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -642,16 +642,9 @@ function applyAriaReflection(prototype = Element.prototype) {
|
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
644
|
}
|
|
645
|
-
/** version: 2.
|
|
645
|
+
/** version: 2.45.0 */
|
|
646
646
|
|
|
647
647
|
/* proxy-compat-disable */
|
|
648
|
-
/**
|
|
649
|
-
* Report to the current dispatcher, if there is one.
|
|
650
|
-
* @param reportingEventId
|
|
651
|
-
* @param payload - data to report
|
|
652
|
-
*/
|
|
653
|
-
function report(reportingEventId, payload) {
|
|
654
|
-
}
|
|
655
648
|
|
|
656
649
|
/*
|
|
657
650
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -3442,15 +3435,6 @@ function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
|
|
|
3442
3435
|
// the stylesheet, while internally, we have a replacement for it.
|
|
3443
3436
|
stylesheet = getStyleOrSwappedStyle(stylesheet);
|
|
3444
3437
|
}
|
|
3445
|
-
// Check that this stylesheet was generated by our compiler
|
|
3446
|
-
if (!isStylesheetRegistered(stylesheet)) {
|
|
3447
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
3448
|
-
logWarnOnce(`TypeError: Unexpected LWC stylesheet content found for component <${vm.tagName.toLowerCase()}>.`);
|
|
3449
|
-
}
|
|
3450
|
-
report("UnexpectedStylesheetContent" /* ReportingEventId.UnexpectedStylesheetContent */, {
|
|
3451
|
-
tagName: vm.tagName.toLowerCase(),
|
|
3452
|
-
});
|
|
3453
|
-
}
|
|
3454
3438
|
const isScopedCss = stylesheet[KEY__SCOPED_CSS];
|
|
3455
3439
|
if (lwcRuntimeFlags.DISABLE_LIGHT_DOM_UNSCOPED_CSS &&
|
|
3456
3440
|
!isScopedCss &&
|
|
@@ -3539,18 +3523,6 @@ function createStylesheet(vm, stylesheets) {
|
|
|
3539
3523
|
}
|
|
3540
3524
|
return null;
|
|
3541
3525
|
}
|
|
3542
|
-
const signedStylesheetSet = new Set();
|
|
3543
|
-
/**
|
|
3544
|
-
* INTERNAL: This function can only be invoked by compiled code. The compiler
|
|
3545
|
-
* will prevent this function from being imported by userland code.
|
|
3546
|
-
*/
|
|
3547
|
-
function registerStylesheet(stylesheet) {
|
|
3548
|
-
signedStylesheetSet.add(stylesheet);
|
|
3549
|
-
return stylesheet;
|
|
3550
|
-
}
|
|
3551
|
-
function isStylesheetRegistered(stylesheet) {
|
|
3552
|
-
return signedStylesheetSet.has(stylesheet);
|
|
3553
|
-
}
|
|
3554
3526
|
|
|
3555
3527
|
/*
|
|
3556
3528
|
* Copyright (c) 2018, salesforce.com, inc.
|
|
@@ -6268,7 +6240,7 @@ function readonly(obj) {
|
|
|
6268
6240
|
}
|
|
6269
6241
|
return getReadOnlyProxy(obj);
|
|
6270
6242
|
}
|
|
6271
|
-
/* version: 2.
|
|
6243
|
+
/* version: 2.45.0 */
|
|
6272
6244
|
|
|
6273
6245
|
/*
|
|
6274
6246
|
* Copyright (c) 2020, salesforce.com, inc.
|
|
@@ -6849,7 +6821,7 @@ seal(LightningElement.prototype);
|
|
|
6849
6821
|
function createElement() {
|
|
6850
6822
|
throw new Error('createElement is not supported in @lwc/engine-server, only @lwc/engine-dom.');
|
|
6851
6823
|
}
|
|
6852
|
-
/* version: 2.
|
|
6824
|
+
/* version: 2.45.0 */
|
|
6853
6825
|
|
|
6854
6826
|
exports.LightningElement = LightningElement;
|
|
6855
6827
|
exports.api = api$1;
|
|
@@ -6864,7 +6836,6 @@ exports.readonly = readonly;
|
|
|
6864
6836
|
exports.register = register;
|
|
6865
6837
|
exports.registerComponent = registerComponent;
|
|
6866
6838
|
exports.registerDecorators = registerDecorators;
|
|
6867
|
-
exports.registerStylesheet = registerStylesheet;
|
|
6868
6839
|
exports.registerTemplate = registerTemplate;
|
|
6869
6840
|
exports.renderComponent = renderComponent;
|
|
6870
6841
|
exports.renderer = renderer;
|