@valfuse-node/form 0.3.1 → 0.3.4

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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +27 -3
  3. package/package.json +4 -4
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 valfuse-node contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -6,6 +6,11 @@
6
6
  npm install @valfuse-node/form
7
7
  ```
8
8
 
9
+ The published package declares **Node.js 22 or newer** in `engines`. The form
10
+ domain has no React, Vue, or other runtime framework peer dependency; it can be
11
+ used directly in server-side code or imported by a browser application's
12
+ framework adapter.
13
+
9
14
  ---
10
15
 
11
16
  ## Table of Contents
@@ -20,6 +25,8 @@ npm install @valfuse-node/form
20
25
  - [Framework-Agnostic State](#framework-agnostic-state)
21
26
  - [Type Reference](#type-reference)
22
27
  - [Development Usage](#development-usage)
28
+ - [Release history](#release-history)
29
+ - [Support](#support)
23
30
  - [License](#license)
24
31
 
25
32
  ---
@@ -594,20 +601,37 @@ export const userSchema = createSchema({/* … */});
594
601
 
595
602
  ```tsx
596
603
  // web (React)
597
- import { useReactValfuseForm } from "@valfuse-node/core";
604
+ import { useValfuseForm as useReactValfuseForm } from "@valfuse-node/react";
598
605
  const form = useReactValfuseForm({ schema: userSchema, defaultValues: { … } });
599
606
  ```
600
607
 
601
608
  ```vue
602
609
  <!-- mobile (Vue) -->
603
610
  <script setup>
604
- import { useVueValfuseForm } from "@valfuse-node/core";
611
+ import { useValfuseForm as useVueValfuseForm } from "@valfuse-node/vue";
605
612
  const form = useVueValfuseForm({ schema: userSchema, defaultValues: { … } });
606
613
  </script>
607
614
  ```
608
615
 
609
616
  ---
610
617
 
618
+ ## Release history
619
+
620
+ Release notes for this independently versioned package are maintained in the
621
+ monorepo's [changelog](https://github.com/alpinnz/valfuse-node/blob/master/CHANGELOG.md).
622
+
623
+ ---
624
+
625
+ ## Support
626
+
627
+ For usage questions, bug reports, and feature requests, see the
628
+ [project support guide](https://github.com/alpinnz/valfuse-node/blob/master/SUPPORT.md).
629
+ For security reports, follow the
630
+ [security policy](https://github.com/alpinnz/valfuse-node/blob/master/SECURITY.md).
631
+ Do not use public issues for security reports.
632
+
633
+ ---
634
+
611
635
  ## License
612
636
 
613
- [MIT](../../LICENSE)
637
+ [MIT](LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valfuse-node/form",
3
- "version": "0.3.1",
3
+ "version": "0.3.4",
4
4
  "description": "Form domain package for valfuse-node — schema, validation, transformation, rules, state, and methods",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
@@ -38,11 +38,11 @@
38
38
  "access": "public"
39
39
  },
40
40
  "devDependencies": {
41
- "@vitest/coverage-v8": "4.1.6",
42
- "vitest": "4.1.6"
41
+ "@vitest/coverage-v8": "4.1.11",
42
+ "vitest": "4.1.11"
43
43
  },
44
44
  "engines": {
45
- "node": ">=20.0.0"
45
+ "node": ">=22.0.0"
46
46
  },
47
47
  "repository": {
48
48
  "type": "git",