@bgub/fig-dom 0.1.0-alpha.1 → 0.1.0-alpha.2

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/CHANGELOG.md +11 -0
  2. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## @bgub/fig-dom@0.1.0-alpha.2
2
+
3
+ ### Keep empty children and document assets hydration-safe
4
+
5
+ Empty string children now normalize away on both the server and client, so a
6
+ rendered empty token cannot force hydration to recover the root.
7
+
8
+ When full-document hydration does recover, declarative stylesheets, titles,
9
+ and metadata now acquire against the replacement head instead of disappearing
10
+ with the server document.
11
+
1
12
  ## @bgub/fig-dom@0.1.0-alpha.1
2
13
 
3
14
  ### Asset descriptors use native names and preserve native ordering
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bgub/fig-dom",
3
- "version": "0.1.0-alpha.1",
3
+ "version": "0.1.0-alpha.2",
4
4
  "description": "Fig DOM renderer",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/bgub/fig",
@@ -57,13 +57,13 @@
57
57
  "access": "public"
58
58
  },
59
59
  "peerDependencies": {
60
- "@bgub/fig": "0.1.0-alpha.1",
61
- "@bgub/fig-reconciler": "0.1.0-alpha.1"
60
+ "@bgub/fig": "0.1.0-alpha.2",
61
+ "@bgub/fig-reconciler": "0.1.0-alpha.2"
62
62
  },
63
63
  "devDependencies": {
64
- "@bgub/fig": "0.1.0-alpha.1",
65
- "@bgub/fig-reconciler": "0.1.0-alpha.1",
66
- "@bgub/fig-server": "0.1.0-alpha.1"
64
+ "@bgub/fig": "0.1.0-alpha.2",
65
+ "@bgub/fig-server": "0.1.0-alpha.2",
66
+ "@bgub/fig-reconciler": "0.1.0-alpha.2"
67
67
  },
68
68
  "engines": {
69
69
  "node": "^20.19.0 || >=22.12.0"