@octanejs/hook-form 0.1.39 → 0.1.40
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/{LICENSE → LICENSE.upstream} +1 -1
- package/UPSTREAM.md +11 -3
- package/package.json +5 -4
package/UPSTREAM.md
CHANGED
|
@@ -16,10 +16,18 @@ The npm artifact publishes compiled `dist/` output and declarations only. The
|
|
|
16
16
|
byte-exact source, original tests, snapshots, Jest configuration, package
|
|
17
17
|
metadata, and license therefore come from the canonical repository at the tag
|
|
18
18
|
commit above. They live under `upstream/`, are excluded from the published
|
|
19
|
-
package, and
|
|
19
|
+
package, and verify offline against the upstream git blob shas recorded in
|
|
20
|
+
`audit/upstream.lock.json`. The pinned license is republished at the package
|
|
21
|
+
root as `LICENSE.upstream`.
|
|
20
22
|
|
|
21
23
|
Run `pnpm --dir packages/hook-form upstream:verify` to check the vendored bytes
|
|
22
|
-
and the one-for-one adapted-suite inventory.
|
|
24
|
+
and the one-for-one adapted-suite inventory. The adapted suite under
|
|
25
|
+
`tests/upstream/` is regenerated, never committed: the lock's mechanical
|
|
26
|
+
`adaptedRewrites` retarget every import at Octane (react → octane,
|
|
27
|
+
`@testing-library/react` → `@octanejs/testing-library`, upstream source paths →
|
|
28
|
+
the binding's `src/`), and the committed patches under `audit/upstream-patches/`
|
|
29
|
+
carry only the genuine divergences (44 of 119 files; the other 75 need no
|
|
30
|
+
patch). Run
|
|
23
31
|
`pnpm --dir packages/hook-form test:upstream` to execute the original React/Jest
|
|
24
32
|
suite unchanged.
|
|
25
33
|
|
|
@@ -65,7 +73,7 @@ covered by every adapted `*.server.test.tsx` counterpart.
|
|
|
65
73
|
The tagged repository contains 119 test artifacts: 115 test files plus four
|
|
66
74
|
snapshots. Every relative path under upstream `src/__tests__/` has an adapted
|
|
67
75
|
counterpart under `tests/upstream/`. The verifier extracts registrations from
|
|
68
|
-
both trees and currently accounts for 1,
|
|
76
|
+
both trees and currently accounts for 1,183 upstream registrations and 1,186
|
|
69
77
|
adapted registrations.
|
|
70
78
|
|
|
71
79
|
The unfiltered execution inventories are a separate collection-time
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/hook-form",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.40",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"types": "src/index.ts",
|
|
25
25
|
"files": [
|
|
26
26
|
"src",
|
|
27
|
+
"LICENSE.upstream",
|
|
27
28
|
"README.md",
|
|
28
29
|
"UPSTREAM.md"
|
|
29
30
|
],
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
".": "./src/index.ts"
|
|
32
33
|
},
|
|
33
34
|
"peerDependencies": {
|
|
34
|
-
"octane": "0.1.
|
|
35
|
+
"octane": "0.1.43"
|
|
35
36
|
},
|
|
36
37
|
"devDependencies": {
|
|
37
38
|
"@swc/core": "1.15.41",
|
|
@@ -52,8 +53,8 @@
|
|
|
52
53
|
"vitest": "^4.1.10",
|
|
53
54
|
"whatwg-fetch": "3.6.20",
|
|
54
55
|
"zod": "^3.25.76",
|
|
55
|
-
"@octanejs/testing-library": "0.1.
|
|
56
|
-
"octane": "0.1.
|
|
56
|
+
"@octanejs/testing-library": "0.1.40",
|
|
57
|
+
"octane": "0.1.43"
|
|
57
58
|
},
|
|
58
59
|
"scripts": {
|
|
59
60
|
"test": "pnpm upstream:verify && pnpm test:type-parity && vitest run --root ../.. --project hook-form && vitest run --root ../.. --project hook-form-differential && vitest run --root ../.. --project hook-form-server && vitest run --root ../.. --project hook-form-pristine",
|