@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/internal/testing",
3
- "version": "4.23.2",
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
@@ -1,5 +1,5 @@
1
1
  /*!
2
- Stencil Mock Doc (CommonJS) v4.23.2 | MIT Licensed | https://stenciljs.com
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 = 3e4;
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.23.2 | MIT Licensed | https://stenciljs.com
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 = 3e4;
9594
+ win.__maxTimeout = 6e4;
9595
9595
  win.__allowInterval = true;
9596
9596
  win.URL = nativeURL;
9597
9597
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/mock-doc",
3
- "version": "4.23.2",
3
+ "version": "4.24.0",
4
4
  "description": "Mock window, document and DOM outside of a browser environment.",
5
5
  "main": "./index.cjs",
6
6
  "module": "./index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core",
3
- "version": "4.23.2",
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": "^21.0.0",
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.10.3",
192
+ "tsx": "^4.19.2",
193
193
  "typescript": "~5.5.4",
194
194
  "webpack": "^5.75.0",
195
195
  "ws": "8.17.1"
@@ -1,5 +1,5 @@
1
1
  /*
2
- Stencil Screenshot v4.23.2 | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot v4.24.0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/core/screenshot",
3
- "version": "4.23.2",
3
+ "version": "4.24.0",
4
4
  "description": "Stencil Screenshot.",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",
@@ -1,5 +1,5 @@
1
1
  /*
2
- Stencil Screenshot Pixel Match v4.23.2 | MIT Licensed | https://stenciljs.com
2
+ Stencil Screenshot Pixel Match v4.24.0 | MIT Licensed | https://stenciljs.com
3
3
  */
4
4
  "use strict";
5
5
  var __create = Object.create;