@stencil/core 4.39.0 → 4.40.1-dev.1766552834.64f6089
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 +1616 -41
- package/cli/index.js +1616 -41
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +2791 -2515
- 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 +1665 -90
- package/internal/app-data/index.cjs +1 -0
- package/internal/app-data/index.js +1 -0
- package/internal/app-data/package.json +1 -1
- package/internal/app-globals/package.json +1 -1
- package/internal/client/index.js +1746 -105
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +1770 -133
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +1794 -104
- package/internal/package.json +1 -1
- package/internal/stencil-private.d.ts +25 -2
- package/internal/stencil-public-compiler.d.ts +33 -3
- package/internal/stencil-public-runtime.d.ts +14 -3
- package/internal/testing/index.js +1758 -133
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +8 -1
- package/mock-doc/index.js +8 -1
- package/mock-doc/package.json +1 -1
- package/package.json +1 -1
- package/screenshot/index.js +1608 -30
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/index.js +28 -28
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +1696 -109
- package/testing/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core/internal/testing",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.40.1-dev.1766552834.64f6089",
|
|
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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Mock Doc (CommonJS) v4.
|
|
2
|
+
Stencil Mock Doc (CommonJS) v4.40.1-dev.1766552834.64f6089 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -6201,6 +6201,9 @@ function* streamToHtml(node, opts, output) {
|
|
|
6201
6201
|
if (attrName === "style") {
|
|
6202
6202
|
continue;
|
|
6203
6203
|
}
|
|
6204
|
+
if (tag === "template" && isShadowRoot && (attrName === "shadowrootmode" || attrName === "shadowrootdelegatesfocus")) {
|
|
6205
|
+
continue;
|
|
6206
|
+
}
|
|
6204
6207
|
let attrValue = attr.value;
|
|
6205
6208
|
if (opts.removeEmptyAttributes && attrValue === "" && REMOVE_EMPTY_ATTR.has(attrName)) {
|
|
6206
6209
|
continue;
|
|
@@ -6236,6 +6239,9 @@ function* streamToHtml(node, opts, output) {
|
|
|
6236
6239
|
attrValue = attr.value = attrValue.split(" ").filter((t) => t !== "").sort().join(" ").trim();
|
|
6237
6240
|
}
|
|
6238
6241
|
if (attrValue === "") {
|
|
6242
|
+
if (attrName === "shadowrootdelegatesfocus") {
|
|
6243
|
+
continue;
|
|
6244
|
+
}
|
|
6239
6245
|
if (opts.removeBooleanAttributeQuotes && BOOLEAN_ATTR.has(attrName)) {
|
|
6240
6246
|
continue;
|
|
6241
6247
|
}
|
|
@@ -6540,6 +6546,7 @@ var BOOLEAN_ATTR = /* @__PURE__ */ new Set([
|
|
|
6540
6546
|
"scoped",
|
|
6541
6547
|
"seamless",
|
|
6542
6548
|
"selected",
|
|
6549
|
+
"shadowrootdelegatesfocus",
|
|
6543
6550
|
"sortable",
|
|
6544
6551
|
"truespeed",
|
|
6545
6552
|
"typemustmatch",
|
package/mock-doc/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Mock Doc v4.
|
|
2
|
+
Stencil Mock Doc v4.40.1-dev.1766552834.64f6089 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
// src/runtime/runtime-constants.ts
|
|
@@ -6148,6 +6148,9 @@ function* streamToHtml(node, opts, output) {
|
|
|
6148
6148
|
if (attrName === "style") {
|
|
6149
6149
|
continue;
|
|
6150
6150
|
}
|
|
6151
|
+
if (tag === "template" && isShadowRoot && (attrName === "shadowrootmode" || attrName === "shadowrootdelegatesfocus")) {
|
|
6152
|
+
continue;
|
|
6153
|
+
}
|
|
6151
6154
|
let attrValue = attr.value;
|
|
6152
6155
|
if (opts.removeEmptyAttributes && attrValue === "" && REMOVE_EMPTY_ATTR.has(attrName)) {
|
|
6153
6156
|
continue;
|
|
@@ -6183,6 +6186,9 @@ function* streamToHtml(node, opts, output) {
|
|
|
6183
6186
|
attrValue = attr.value = attrValue.split(" ").filter((t) => t !== "").sort().join(" ").trim();
|
|
6184
6187
|
}
|
|
6185
6188
|
if (attrValue === "") {
|
|
6189
|
+
if (attrName === "shadowrootdelegatesfocus") {
|
|
6190
|
+
continue;
|
|
6191
|
+
}
|
|
6186
6192
|
if (opts.removeBooleanAttributeQuotes && BOOLEAN_ATTR.has(attrName)) {
|
|
6187
6193
|
continue;
|
|
6188
6194
|
}
|
|
@@ -6487,6 +6493,7 @@ var BOOLEAN_ATTR = /* @__PURE__ */ new Set([
|
|
|
6487
6493
|
"scoped",
|
|
6488
6494
|
"seamless",
|
|
6489
6495
|
"selected",
|
|
6496
|
+
"shadowrootdelegatesfocus",
|
|
6490
6497
|
"sortable",
|
|
6491
6498
|
"truespeed",
|
|
6492
6499
|
"typemustmatch",
|
package/mock-doc/package.json
CHANGED