@akinon/pz-theme 2.0.77-beta.0 → 2.0.77
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/CHANGELOG.md +4 -4
- package/package.json +4 -4
- package/src/custom/register.ts +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# @akinon/pz-theme
|
|
2
2
|
|
|
3
|
-
## 2.0.77
|
|
3
|
+
## 2.0.77
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
- @akinon/next@2.0.77
|
|
9
|
-
- @akinon/theme-contract@2.0.77
|
|
7
|
+
- 134b8054: ZERO-4852: Collect custom block descriptor keys into an array before iterating them, so the serialization check type-checks under the ES5 target
|
|
8
|
+
- @akinon/next@2.0.77
|
|
9
|
+
- @akinon/theme-contract@2.0.77
|
|
10
10
|
|
|
11
11
|
## 2.0.76
|
|
12
12
|
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/pz-theme",
|
|
3
3
|
"description": "Theme package for Project Zero Next — ThemePlaceholder system and theme editor infrastructure",
|
|
4
|
-
"version": "2.0.77
|
|
4
|
+
"version": "2.0.77",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"test": "jest"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
|
-
"@akinon/next": "2.0.77
|
|
11
|
+
"@akinon/next": "2.0.77",
|
|
12
12
|
"react": "^18.0.0 || ^19.0.0",
|
|
13
13
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@akinon/theme-contract": "2.0.77
|
|
16
|
+
"@akinon/theme-contract": "2.0.77",
|
|
17
17
|
"clsx": "2.1.1",
|
|
18
18
|
"lottie-web": "^5.13.0",
|
|
19
19
|
"tailwind-merge": "^2.5.4",
|
|
20
20
|
"zod": "4.4.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@akinon/next": "2.0.77
|
|
23
|
+
"@akinon/next": "2.0.77",
|
|
24
24
|
"@testing-library/jest-dom": "5.16.4",
|
|
25
25
|
"@testing-library/react": "16.3.2",
|
|
26
26
|
"@testing-library/user-event": "14.1.1",
|
package/src/custom/register.ts
CHANGED
|
@@ -101,10 +101,12 @@ const firstDivergentPath = (
|
|
|
101
101
|
if (typeof authored !== 'object') return path;
|
|
102
102
|
if (Array.isArray(authored) !== Array.isArray(roundTripped)) return path;
|
|
103
103
|
|
|
104
|
-
const keys =
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
104
|
+
const keys = Array.from(
|
|
105
|
+
new Set([
|
|
106
|
+
...Object.keys(authored as object),
|
|
107
|
+
...Object.keys(roundTripped as object)
|
|
108
|
+
])
|
|
109
|
+
);
|
|
108
110
|
|
|
109
111
|
for (const key of keys) {
|
|
110
112
|
const divergent = firstDivergentPath(
|