@stencil/core 4.23.2 → 4.24.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/cli/index.cjs +2 -5
- package/cli/index.js +2 -5
- package/cli/package.json +1 -1
- package/compiler/package.json +1 -1
- package/compiler/stencil.js +2427 -836
- 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 +10 -10
- package/internal/app-data/package.json +1 -1
- package/internal/client/index.js +1769 -1674
- package/internal/client/package.json +1 -1
- package/internal/client/patch-browser.js +1 -1
- package/internal/hydrate/index.js +1781 -1671
- package/internal/hydrate/package.json +1 -1
- package/internal/hydrate/runner.js +21 -21
- package/internal/package.json +1 -1
- package/internal/stencil-private.d.ts +70 -2
- package/internal/stencil-public-compiler.d.ts +9 -11
- package/internal/testing/index.js +1759 -1662
- package/internal/testing/package.json +1 -1
- package/mock-doc/index.cjs +3 -3
- package/mock-doc/index.js +3 -3
- package/mock-doc/package.json +1 -1
- package/package.json +3 -3
- package/screenshot/index.js +1 -1
- package/screenshot/package.json +1 -1
- package/screenshot/pixel-match.js +1 -1
- package/sys/node/autoprefixer.js +2 -2
- package/sys/node/glob.js +1 -1
- package/sys/node/index.js +1 -1
- package/sys/node/package.json +1 -1
- package/sys/node/worker.js +1 -1
- package/testing/index.js +28 -19
- 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.24.0",
|
|
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.24.0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
"use strict";
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -6841,7 +6841,7 @@ var MockNode2 = class {
|
|
|
6841
6841
|
}
|
|
6842
6842
|
remove() {
|
|
6843
6843
|
if (this.parentNode != null) {
|
|
6844
|
-
this.parentNode.removeChild(this);
|
|
6844
|
+
this.__parentNode ? this.__parentNode.removeChild(this) : this.parentNode.removeChild(this);
|
|
6845
6845
|
}
|
|
6846
6846
|
}
|
|
6847
6847
|
replaceChild(newChild, oldChild) {
|
|
@@ -9644,7 +9644,7 @@ function resetWindowDefaults(win) {
|
|
|
9644
9644
|
win.__clearTimeout = nativeClearTimeout;
|
|
9645
9645
|
win.__setInterval = nativeSetInterval;
|
|
9646
9646
|
win.__setTimeout = nativeSetTimeout;
|
|
9647
|
-
win.__maxTimeout =
|
|
9647
|
+
win.__maxTimeout = 6e4;
|
|
9648
9648
|
win.__allowInterval = true;
|
|
9649
9649
|
win.URL = nativeURL;
|
|
9650
9650
|
}
|
package/mock-doc/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
Stencil Mock Doc v4.
|
|
2
|
+
Stencil Mock Doc v4.24.0 | MIT Licensed | https://stenciljs.com
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
// src/runtime/runtime-constants.ts
|
|
@@ -6788,7 +6788,7 @@ var MockNode2 = class {
|
|
|
6788
6788
|
}
|
|
6789
6789
|
remove() {
|
|
6790
6790
|
if (this.parentNode != null) {
|
|
6791
|
-
this.parentNode.removeChild(this);
|
|
6791
|
+
this.__parentNode ? this.__parentNode.removeChild(this) : this.parentNode.removeChild(this);
|
|
6792
6792
|
}
|
|
6793
6793
|
}
|
|
6794
6794
|
replaceChild(newChild, oldChild) {
|
|
@@ -9591,7 +9591,7 @@ function resetWindowDefaults(win) {
|
|
|
9591
9591
|
win.__clearTimeout = nativeClearTimeout;
|
|
9592
9592
|
win.__setInterval = nativeSetInterval;
|
|
9593
9593
|
win.__setTimeout = nativeSetTimeout;
|
|
9594
|
-
win.__maxTimeout =
|
|
9594
|
+
win.__maxTimeout = 6e4;
|
|
9595
9595
|
win.__allowInterval = true;
|
|
9596
9596
|
win.URL = nativeURL;
|
|
9597
9597
|
}
|
package/mock-doc/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stencil/core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.24.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./internal/stencil-core/index.cjs",
|
|
6
6
|
"module": "./internal/stencil-core/index.js",
|
|
@@ -184,12 +184,12 @@
|
|
|
184
184
|
"postcss": "^8.2.8",
|
|
185
185
|
"prettier": "3.3.1",
|
|
186
186
|
"prompts": "2.4.2",
|
|
187
|
-
"puppeteer": "^
|
|
187
|
+
"puppeteer": "^24.1.0",
|
|
188
188
|
"rimraf": "^6.0.1",
|
|
189
189
|
"rollup": "2.56.3",
|
|
190
190
|
"semver": "^7.3.7",
|
|
191
191
|
"terser": "5.31.1",
|
|
192
|
-
"tsx": "^4.
|
|
192
|
+
"tsx": "^4.19.2",
|
|
193
193
|
"typescript": "~5.5.4",
|
|
194
194
|
"webpack": "^5.75.0",
|
|
195
195
|
"ws": "8.17.1"
|
package/screenshot/index.js
CHANGED
package/screenshot/package.json
CHANGED