@typed/template 1.0.0-beta.1 → 1.0.0-beta.3

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/dist/Wire.js CHANGED
@@ -52,7 +52,7 @@ export const fromComments = (fragment, firstChild, lastChild) => {
52
52
  const getChildNodes = () => {
53
53
  const nodes = getAllSiblingsBetween(firstChild, lastChild);
54
54
  if (fragment.childNodes.length !== nodes.length) {
55
- fragment.replaceChildren(...nodes);
55
+ fragment.append(firstChild, ...nodes, lastChild);
56
56
  }
57
57
  return nodes;
58
58
  };
package/package.json CHANGED
@@ -1,6 +1,10 @@
1
1
  {
2
2
  "name": "@typed/template",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0-beta.3",
4
+ "files": [
5
+ "dist",
6
+ "src"
7
+ ],
4
8
  "type": "module",
5
9
  "exports": {
6
10
  ".": {
@@ -15,22 +19,18 @@
15
19
  "publishConfig": {
16
20
  "access": "public"
17
21
  },
18
- "scripts": {
19
- "build": "[ -d dist ] || rm -f tsconfig.tsbuildinfo; tsc",
20
- "test": "vitest run --passWithNoTests"
21
- },
22
22
  "dependencies": {
23
- "@typed/fx": "workspace:*",
24
- "effect": "catalog:",
25
- "html5parser": "2.0.2"
23
+ "effect": "4.0.0-beta.38",
24
+ "html5parser": "2.0.2",
25
+ "@typed/fx": "2.0.0-beta.3"
26
26
  },
27
27
  "devDependencies": {
28
- "happy-dom": "catalog:",
29
- "typescript": "catalog:",
30
- "vitest": "catalog:"
28
+ "happy-dom": "20.8.7",
29
+ "typescript": "5.9.3",
30
+ "vitest": "4.1.1"
31
31
  },
32
- "files": [
33
- "dist",
34
- "src"
35
- ]
36
- }
32
+ "scripts": {
33
+ "build": "[ -d dist ] || rm -f tsconfig.tsbuildinfo; tsc",
34
+ "test": "vitest run --passWithNoTests"
35
+ }
36
+ }
package/src/Wire.ts CHANGED
@@ -100,7 +100,7 @@ export const fromComments = (
100
100
  const nodes = getAllSiblingsBetween(firstChild, lastChild);
101
101
 
102
102
  if (fragment.childNodes.length !== nodes.length) {
103
- fragment.replaceChildren(...nodes);
103
+ fragment.append(firstChild, ...nodes, lastChild);
104
104
  }
105
105
 
106
106
  return nodes;