@stencil/mock-doc 5.0.0-alpha.3 → 5.0.0-alpha.5

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.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -2095,7 +2095,7 @@ function insertBefore(parentNode, newNode, referenceNode) {
2095
2095
  var MockHTMLElement = class extends MockElement {
2096
2096
  __namespaceURI = "http://www.w3.org/1999/xhtml";
2097
2097
  constructor(ownerDocument, nodeName) {
2098
- super(ownerDocument, typeof nodeName === "string" ? nodeName.toUpperCase() : null);
2098
+ super(ownerDocument, nodeName ? nodeName.toUpperCase() : null);
2099
2099
  }
2100
2100
  get tagName() {
2101
2101
  return this.nodeName ?? "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stencil/mock-doc",
3
- "version": "5.0.0-alpha.3",
3
+ "version": "5.0.0-alpha.5",
4
4
  "description": "A minimal mock DOM implementation for SSR and testing",
5
5
  "keywords": [
6
6
  "dom",
@@ -36,9 +36,9 @@
36
36
  "parse5": "7.2.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@stencil/vitest": "^1.10.0",
40
- "tsdown": "^0.21.6",
41
- "typescript": "~6.0.2",
39
+ "@stencil/vitest": "^1.11.6",
40
+ "tsdown": "^0.21.7",
41
+ "typescript": ">4.0.0",
42
42
  "vitest": "^4.1.1"
43
43
  },
44
44
  "volta": {