@lwc/engine-core 8.28.0 → 8.28.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/index.cjs.js +4 -1
- package/dist/index.js +4 -1
- package/package.json +4 -4
package/dist/index.cjs.js
CHANGED
|
@@ -3326,6 +3326,9 @@ function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
|
|
|
3326
3326
|
function getStylesheetsContent(vm, template) {
|
|
3327
3327
|
const { stylesheets, stylesheetToken } = template;
|
|
3328
3328
|
const { stylesheets: vmStylesheets } = vm;
|
|
3329
|
+
if (!shared.isUndefined(stylesheetToken) && !isValidScopeToken(stylesheetToken)) {
|
|
3330
|
+
throw new Error('stylesheet token must be a valid string');
|
|
3331
|
+
}
|
|
3329
3332
|
const hasTemplateStyles = hasStyles(stylesheets);
|
|
3330
3333
|
const hasVmStyles = hasStyles(vmStylesheets);
|
|
3331
3334
|
if (hasTemplateStyles) {
|
|
@@ -8840,5 +8843,5 @@ exports.swapTemplate = swapTemplate;
|
|
|
8840
8843
|
exports.track = track;
|
|
8841
8844
|
exports.unwrap = unwrap;
|
|
8842
8845
|
exports.wire = wire;
|
|
8843
|
-
/** version: 8.28.
|
|
8846
|
+
/** version: 8.28.2 */
|
|
8844
8847
|
//# sourceMappingURL=index.cjs.js.map
|
package/dist/index.js
CHANGED
|
@@ -3323,6 +3323,9 @@ function evaluateStylesheetsContent(stylesheets, stylesheetToken, vm) {
|
|
|
3323
3323
|
function getStylesheetsContent(vm, template) {
|
|
3324
3324
|
const { stylesheets, stylesheetToken } = template;
|
|
3325
3325
|
const { stylesheets: vmStylesheets } = vm;
|
|
3326
|
+
if (!isUndefined$1(stylesheetToken) && !isValidScopeToken(stylesheetToken)) {
|
|
3327
|
+
throw new Error('stylesheet token must be a valid string');
|
|
3328
|
+
}
|
|
3326
3329
|
const hasTemplateStyles = hasStyles(stylesheets);
|
|
3327
3330
|
const hasVmStyles = hasStyles(vmStylesheets);
|
|
3328
3331
|
if (hasTemplateStyles) {
|
|
@@ -8766,5 +8769,5 @@ function readonly(obj) {
|
|
|
8766
8769
|
}
|
|
8767
8770
|
|
|
8768
8771
|
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.28.
|
|
8772
|
+
/** version: 8.28.2 */
|
|
8770
8773
|
//# 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.28.
|
|
7
|
+
"version": "8.28.2",
|
|
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.28.
|
|
50
|
-
"@lwc/shared": "8.28.
|
|
51
|
-
"@lwc/signals": "8.28.
|
|
49
|
+
"@lwc/features": "8.28.2",
|
|
50
|
+
"@lwc/shared": "8.28.2",
|
|
51
|
+
"@lwc/signals": "8.28.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"observable-membrane": "2.0.0"
|