@stencil/core 4.36.0 → 4.36.1
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/cli/index.cjs +1 -1
- package/cli/index.js +1 -1
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +7 -4
- package/dev-server/client/index.js +1 -1
- package/dev-server/client/package.json +1 -1
- package/dev-server/connector.html +2 -2
- package/dev-server/index.js +1 -1
- package/dev-server/package.json +1 -1
- package/dev-server/server-process.js +2 -2
- package/internal/app-data/package.json +1 -1
- package/internal/app-globals/package.json +1 -1
- package/internal/client/index.js +31 -31
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +31 -31
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +1 -1
- package/internal/package.json +1 -1
- package/internal/testing/index.js +30 -30
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +1 -1
- package/mock-doc/index.js +1 -1
- package/mock-doc/package.json +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +25 -25
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +4 -1
- package/testing/package.json +1 -1
|
@@ -4006,22 +4006,22 @@ var proxyCustomElement = (Cstr, compactMeta) => {
|
|
|
4006
4006
|
if (import_app_data20.BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
4007
4007
|
cmpMeta.$flags$ |= 8 /* needsShadowDomShim */;
|
|
4008
4008
|
}
|
|
4009
|
-
if (
|
|
4010
|
-
if (
|
|
4009
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasRenderFn */) {
|
|
4010
|
+
if (import_app_data20.BUILD.experimentalSlotFixes) {
|
|
4011
4011
|
patchPseudoShadowDom(Cstr.prototype);
|
|
4012
|
-
}
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4012
|
+
} else {
|
|
4013
|
+
if (import_app_data20.BUILD.slotChildNodesFix) {
|
|
4014
|
+
patchChildSlotNodes(Cstr.prototype);
|
|
4015
|
+
}
|
|
4016
|
+
if (import_app_data20.BUILD.cloneNodeFix) {
|
|
4017
|
+
patchCloneNode(Cstr.prototype);
|
|
4018
|
+
}
|
|
4019
|
+
if (import_app_data20.BUILD.appendChildSlotFix) {
|
|
4020
|
+
patchSlotAppendChild(Cstr.prototype);
|
|
4021
|
+
}
|
|
4022
|
+
if (import_app_data20.BUILD.scopedSlotTextContentFix && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
4023
|
+
patchTextContent(Cstr.prototype);
|
|
4024
|
+
}
|
|
4025
4025
|
}
|
|
4026
4026
|
}
|
|
4027
4027
|
if (import_app_data20.BUILD.hydrateClientSide && import_app_data20.BUILD.shadowDom) {
|
|
@@ -4236,22 +4236,22 @@ var bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
4236
4236
|
return (_a3 = getHostRef(this)) == null ? void 0 : _a3.$onReadyPromise$;
|
|
4237
4237
|
}
|
|
4238
4238
|
};
|
|
4239
|
-
if (
|
|
4240
|
-
if (
|
|
4239
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && cmpMeta.$flags$ & 256 /* hasRenderFn */) {
|
|
4240
|
+
if (import_app_data21.BUILD.experimentalSlotFixes) {
|
|
4241
4241
|
patchPseudoShadowDom(HostElement.prototype);
|
|
4242
|
-
}
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4242
|
+
} else {
|
|
4243
|
+
if (import_app_data21.BUILD.slotChildNodesFix) {
|
|
4244
|
+
patchChildSlotNodes(HostElement.prototype);
|
|
4245
|
+
}
|
|
4246
|
+
if (import_app_data21.BUILD.cloneNodeFix) {
|
|
4247
|
+
patchCloneNode(HostElement.prototype);
|
|
4248
|
+
}
|
|
4249
|
+
if (import_app_data21.BUILD.appendChildSlotFix) {
|
|
4250
|
+
patchSlotAppendChild(HostElement.prototype);
|
|
4251
|
+
}
|
|
4252
|
+
if (import_app_data21.BUILD.scopedSlotTextContentFix && cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
4253
|
+
patchTextContent(HostElement.prototype);
|
|
4254
|
+
}
|
|
4255
4255
|
}
|
|
4256
4256
|
}
|
|
4257
4257
|
if (import_app_data21.BUILD.formAssociated && cmpMeta.$flags$ & 64 /* formAssociated */) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/testing",
|
|
3
|
-
"version": "4.36.
|
|
3
|
+
"version": "4.36.1",
|
|
4
4
|
"description": "Stencil internal testing platform to be imported by the Stencil Compiler. Breaking changes can and will happen at any time.",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"private": true
|
package/mock-doc/index.cjs
CHANGED
package/mock-doc/index.js
CHANGED
package/mock-doc/package.json
CHANGED
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -90,5 +90,5 @@ In many cases, Stencil can be used as a drop in replacement for traditional fron
|
|
|
90
90
|
### Contributing
|
|
91
91
|
|
|
92
92
|
Thanks for your interest in contributing!
|
|
93
|
-
Please take a moment to read up on our guidelines for [contributing](https://github.com/stenciljs/core/blob/main/CONTRIBUTING.md).
|
|
93
|
+
Please take a moment to read up on our guidelines for [contributing](https://github.com/stenciljs/core/blob/main/CONTRIBUTING.md). We've created comprehensive technical documentation for contributors that explains Stencil's internal architecture, including the compiler, runtime, build system, and other core components in the [/docs](/docs/) directory.
|
|
94
94
|
Please note that this project is released with a [Contributor Code of Conduct](https://github.com/stenciljs/core/blob/main/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.
|
package/screenshot/index.js
CHANGED
package/screenshot/package.json
CHANGED