@jetio/validator 1.0.0 โ 1.0.1
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/README.md +60 -58
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
**The Fastest JSON Schema Validator in JavaScript**
|
|
4
4
|
|
|
5
|
-
[](https://www.npmjs.com/package/@jetio/validator) [](https://opensource.org/licenses/MIT) [](https://www.npmjs.com/package/@jetio/validator) [](https://opensource.org/licenses/MIT) [](https://bundlephobia.com/package/@jetio/validator)
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
9
|
## ๐ Why jet-validator?
|
|
10
10
|
|
|
11
|
-
**5-44x faster compilation** |
|
|
11
|
+
**5-44x faster compilation** | **26KB gzipped** | **Zero dependencies** | **JSON Schema Draft 06-2020-12**
|
|
12
12
|
|
|
13
13
|
jet-validator compiles JSON Schemas into highly optimized validation functions in **sub-millisecond time**. Unlike traditional validators that interpret schemas at runtime, jet-validator generates specialized code tailored to your exact schema structure.
|
|
14
14
|
|
|
@@ -18,12 +18,14 @@ Just one import for all supported drafts, check full documentation for how to sp
|
|
|
18
18
|
|
|
19
19
|
### Key Features
|
|
20
20
|
|
|
21
|
-
- โก **Lightning Fast** -
|
|
21
|
+
- โก **Lightning Fast** - 5-44x faster compilation than AJV (sub-millisecond compilation)
|
|
22
22
|
- โ
**Highly Compliant** - 99.5%+ compliance on JSON Schema Test Suite across all supported drafts
|
|
23
|
-
- ๐ฆ **Smaller Bundle** - <
|
|
23
|
+
- ๐ฆ **Smaller Bundle** - <26KB with built-in format validators and custom error messages(no external packages needed)
|
|
24
|
+
- ๐ **Built-in Formats** - email, uri, date-time, uuid, and more included (no extra packages!)
|
|
25
|
+
- โ ๏ธ **Custom Error Messages** - Flexible error customization with `errorMessage` keyword
|
|
24
26
|
- ๐ฏ **Zero Dependencies** - Pure TypeScript implementation
|
|
25
27
|
- ๐ช **TypeScript-First** - Full type safety out of the box
|
|
26
|
-
- ๐ง **Enhanced Features** - `elseIf` conditionals, advanced `$data` references, custom keywords
|
|
28
|
+
- ๐ง **Enhanced Features** - `elseIf` conditionals, advanced `$data` references, custom keywords, custom formats
|
|
27
29
|
- ๐ **Partial AJV Compatibility** - Similar API, minimal code changes needed
|
|
28
30
|
- ๐ **Multiple Error Modes** - Fail-fast or collect all errors
|
|
29
31
|
- ๐ **Async Schema Loading** - Load schemas from HTTP, databases, or file systems
|
|
@@ -31,7 +33,7 @@ Just one import for all supported drafts, check full documentation for how to sp
|
|
|
31
33
|
|
|
32
34
|
## ๐ ๏ธ Schema Builder
|
|
33
35
|
|
|
34
|
-
Want a fluent, type-safe API for building schemas? Check out [@jetio/schema-builder](https://
|
|
36
|
+
Want a fluent, type-safe API for building schemas? Check out [@jetio/schema-builder](https://www.npmjs.com/package/@jetio/schema-builder):
|
|
35
37
|
```typescript
|
|
36
38
|
import { SchemaBuilder, JetValidator } from "@jetio/schema-builder";
|
|
37
39
|
|
|
@@ -133,7 +135,7 @@ console.log(validate.errors);
|
|
|
133
135
|
// }]
|
|
134
136
|
```
|
|
135
137
|
|
|
136
|
-
**โ [See Getting Started Guide](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#-installation)**
|
|
138
|
+
**โ [See Getting Started Guide](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#-installation)**
|
|
137
139
|
|
|
138
140
|
---
|
|
139
141
|
|
|
@@ -143,7 +145,7 @@ jet-validator supports **JSON Schema Draft 06 through 2020-12** with exceptional
|
|
|
143
145
|
|
|
144
146
|
### Compliance Results
|
|
145
147
|
|
|
146
|
-
All results are from the official [JSON Schema Test Suite](https://github.com/json-schema-org/JSON-Schema-Test-Suite). Optional tests were skipped. You can view the test code in the [test folder](https://github.com/jetio/validator/tree/main/tests) of our repository.
|
|
148
|
+
All results are from the official [JSON Schema Test Suite](https://github.com/json-schema-org/JSON-Schema-Test-Suite). Optional tests were skipped. You can view the test code in the [test folder](https://github.com/official-jetio/validator/tree/main/tests) of our repository.
|
|
147
149
|
|
|
148
150
|
#### Draft 2020-12
|
|
149
151
|
|
|
@@ -329,7 +331,7 @@ THERE IS NO INFINITE RECURSION IN jet-validator.
|
|
|
329
331
|
|
|
330
332
|
While AJV encounters stack overflow errors (`RangeError: Maximum call stack size exceeded`) on schemas with complex relative URI references, jet-validator handles these schemas without issue. Our three-phase resolution process (Collection โ Assignment โ Resolution) eliminates circular reference problems at compile time.
|
|
331
333
|
|
|
332
|
-
**โ [Learn more about our Resolution Process](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#schema-resolution-process)**
|
|
334
|
+
**โ [Learn more about our Resolution Process](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#schema-resolution-process)**
|
|
333
335
|
|
|
334
336
|
---
|
|
335
337
|
|
|
@@ -380,7 +382,7 @@ For transparency, here are the keywords jet-validator intentionally does not sup
|
|
|
380
382
|
- Deep allOf chains: 68% faster
|
|
381
383
|
- Complex conditionals: 36% faster
|
|
382
384
|
|
|
383
|
-
[๐ Full Benchmark Report](https://github.com/jetio/validator/blob/main/benchmark/results/COMPARISON.md) | [๐ Detailed Results](https://github.com/jetio/validator/tree/main/benchmark/results/)
|
|
385
|
+
[๐ Full Benchmark Report](https://github.com/official-jetio/validator/blob/main/benchmark/results/COMPARISON.md) | [๐ Detailed Results](https://github.com/official-jetio/validator/tree/main/benchmark/results/)
|
|
384
386
|
|
|
385
387
|
_Tested against AJV v8.17.1 using official benchmarks with 65 schemas, 1000 warmups, 10000 iterations, 5 runs per test_
|
|
386
388
|
|
|
@@ -430,7 +432,7 @@ console.log(result); // false
|
|
|
430
432
|
console.log(validate.errors); // Detailed error information
|
|
431
433
|
```
|
|
432
434
|
|
|
433
|
-
**โ [See Basic Validation Examples](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#-basic-validation-examples)**
|
|
435
|
+
**โ [See Basic Validation Examples](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#-basic-validation-examples)**
|
|
434
436
|
|
|
435
437
|
---
|
|
436
438
|
|
|
@@ -450,7 +452,7 @@ jetValidator.addSchema(schema, "user-schema");
|
|
|
450
452
|
const validate = jetValidator.getSchema("user-schema");
|
|
451
453
|
```
|
|
452
454
|
|
|
453
|
-
**โ [See Schema Management & Compilation](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#schema-management--compilation)**
|
|
455
|
+
**โ [See Schema Management & Compilation](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#schema-management--compilation)**
|
|
454
456
|
|
|
455
457
|
---
|
|
456
458
|
|
|
@@ -482,7 +484,7 @@ const jetValidator = new JetValidator({
|
|
|
482
484
|
});
|
|
483
485
|
```
|
|
484
486
|
|
|
485
|
-
**โ [See All Configuration Options](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#๏ธ-configuration-options)**
|
|
487
|
+
**โ [See All Configuration Options](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#๏ธ-configuration-options)**
|
|
486
488
|
|
|
487
489
|
---
|
|
488
490
|
|
|
@@ -534,7 +536,7 @@ console.log(validate.errors); // Custom error messages included
|
|
|
534
536
|
}
|
|
535
537
|
```
|
|
536
538
|
|
|
537
|
-
**โ [See Error Handling Guide](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#error-handling)**
|
|
539
|
+
**โ [See Error Handling Guide](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#error-handling)**
|
|
538
540
|
|
|
539
541
|
---
|
|
540
542
|
|
|
@@ -584,7 +586,7 @@ const schema = {
|
|
|
584
586
|
};
|
|
585
587
|
```
|
|
586
588
|
|
|
587
|
-
**โ [See Complete Error Handling Guide](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#error-handling)**
|
|
589
|
+
**โ [See Complete Error Handling Guide](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#error-handling)**
|
|
588
590
|
|
|
589
591
|
---
|
|
590
592
|
|
|
@@ -622,7 +624,7 @@ const jetValidator = new JetValidator({
|
|
|
622
624
|
const validate = await jetValidator.compileAsync(schema);
|
|
623
625
|
```
|
|
624
626
|
|
|
625
|
-
**โ [See Schema References & Composition](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#schema-references--composition)**
|
|
627
|
+
**โ [See Schema References & Composition](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#schema-references--composition)**
|
|
626
628
|
|
|
627
629
|
---
|
|
628
630
|
|
|
@@ -644,7 +646,7 @@ const validate = jetValidator.compile(schema);
|
|
|
644
646
|
const isValid = jetValidator.validateSchema(schema);
|
|
645
647
|
```
|
|
646
648
|
|
|
647
|
-
**โ [See Meta-Schema System](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#meta-schema-system)**
|
|
649
|
+
**โ [See Meta-Schema System](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#meta-schema-system)**
|
|
648
650
|
|
|
649
651
|
---
|
|
650
652
|
|
|
@@ -685,7 +687,7 @@ jetValidator.addFormat("unique-email", {
|
|
|
685
687
|
});
|
|
686
688
|
```
|
|
687
689
|
|
|
688
|
-
**โ [See Format Validation Guide](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#format-validation)**
|
|
690
|
+
**โ [See Format Validation Guide](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#format-validation)**
|
|
689
691
|
|
|
690
692
|
---
|
|
691
693
|
|
|
@@ -718,7 +720,7 @@ const jetValidator = new JetValidator({ $data: true });
|
|
|
718
720
|
const validate = jetValidator.compile(schema);
|
|
719
721
|
```
|
|
720
722
|
|
|
721
|
-
**โ [See $data References Guide](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#data)**
|
|
723
|
+
**โ [See $data References Guide](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#data)**
|
|
722
724
|
|
|
723
725
|
---
|
|
724
726
|
|
|
@@ -756,7 +758,7 @@ Enhanced conditional validation without deep nesting:
|
|
|
756
758
|
}
|
|
757
759
|
```
|
|
758
760
|
|
|
759
|
-
**โ [See elseIf Keyword Guide](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#elseif-keyword)**
|
|
761
|
+
**โ [See elseIf Keyword Guide](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#elseif-keyword)**
|
|
760
762
|
|
|
761
763
|
---
|
|
762
764
|
|
|
@@ -787,7 +789,7 @@ console.log(validate(4)); // true
|
|
|
787
789
|
console.log(validate(5)); // false
|
|
788
790
|
```
|
|
789
791
|
|
|
790
|
-
**โ [See Custom Keywords Guide](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#custom-keywords)**
|
|
792
|
+
**โ [See Custom Keywords Guide](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#custom-keywords)**
|
|
791
793
|
|
|
792
794
|
---
|
|
793
795
|
|
|
@@ -886,7 +888,7 @@ len_of("cafรฉ"); // 4
|
|
|
886
888
|
|
|
887
889
|
**Use case:** Validating `minLength`/`maxLength` for strings with emoji or special Unicode characters.
|
|
888
890
|
|
|
889
|
-
**โ [See Full Utilities API Reference](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#utilities-api)**
|
|
891
|
+
**โ [See Full Utilities API Reference](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#utilities-api)**
|
|
890
892
|
|
|
891
893
|
---
|
|
892
894
|
|
|
@@ -919,7 +921,7 @@ const validate = jetValidator.compile(schema);
|
|
|
919
921
|
- Custom keywords use different API (more powerful)
|
|
920
922
|
- Meta-schema setup is easier
|
|
921
923
|
|
|
922
|
-
**โ [See Migration Guide](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#migration-from-ajv)**
|
|
924
|
+
**โ [See Migration Guide](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#migration-from-ajv)**
|
|
923
925
|
|
|
924
926
|
---
|
|
925
927
|
|
|
@@ -954,7 +956,7 @@ jet-validator eliminates infinite recursion through a unique resolution approach
|
|
|
954
956
|
|
|
955
957
|
This architecture enables both lightning-fast compilation and bulletproof circular reference handling.
|
|
956
958
|
|
|
957
|
-
**โ [Learn more about the resolution process](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#schema-resolution-process)**
|
|
959
|
+
**โ [Learn more about the resolution process](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#schema-resolution-process)**
|
|
958
960
|
|
|
959
961
|
---
|
|
960
962
|
|
|
@@ -1088,31 +1090,31 @@ const validateUser = createValidatorForUser("user");
|
|
|
1088
1090
|
|
|
1089
1091
|
**Getting Started:**
|
|
1090
1092
|
|
|
1091
|
-
- [Installation & Setup](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#-installation)
|
|
1092
|
-
- [Quick Start Guide](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#-quick-start)
|
|
1093
|
-
- [Choosing Schema Language](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#-choosing-schema-language)
|
|
1093
|
+
- [Installation & Setup](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#-installation)
|
|
1094
|
+
- [Quick Start Guide](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#-quick-start)
|
|
1095
|
+
- [Choosing Schema Language](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#-choosing-schema-language)
|
|
1094
1096
|
|
|
1095
1097
|
**Core Concepts:**
|
|
1096
1098
|
|
|
1097
|
-
- [Configuration Options](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#๏ธ-configuration-options)
|
|
1098
|
-
- [Schema Compilation](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#compiling-schemas)
|
|
1099
|
-
- [Validation Methods](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#validation)
|
|
1100
|
-
- [Schema Management](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#schema-management)
|
|
1101
|
-
- [Error Handling](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#error-handling)
|
|
1099
|
+
- [Configuration Options](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#๏ธ-configuration-options)
|
|
1100
|
+
- [Schema Compilation](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#compiling-schemas)
|
|
1101
|
+
- [Validation Methods](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#validation)
|
|
1102
|
+
- [Schema Management](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#schema-management)
|
|
1103
|
+
- [Error Handling](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#error-handling)
|
|
1102
1104
|
|
|
1103
1105
|
**Advanced Features:**
|
|
1104
1106
|
|
|
1105
|
-
- [Schema References & Composition](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#schema-references--composition)
|
|
1106
|
-
- [Meta-Schema System](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#meta-schema-system)
|
|
1107
|
-
- [$data References](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#data)
|
|
1108
|
-
- [elseIf Conditionals](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#elseif-keyword)
|
|
1109
|
-
- [Format Validation](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#format-validation)
|
|
1110
|
-
- [Custom Keywords](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#custom-keywords)
|
|
1111
|
-
- [Utilities API](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md#utilities-api)
|
|
1107
|
+
- [Schema References & Composition](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#schema-references--composition)
|
|
1108
|
+
- [Meta-Schema System](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#meta-schema-system)
|
|
1109
|
+
- [$data References](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#data)
|
|
1110
|
+
- [elseIf Conditionals](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#elseif-keyword)
|
|
1111
|
+
- [Format Validation](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#format-validation)
|
|
1112
|
+
- [Custom Keywords](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#custom-keywords)
|
|
1113
|
+
- [Utilities API](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md#utilities-api)
|
|
1112
1114
|
|
|
1113
1115
|
**Complete Documentation:**
|
|
1114
1116
|
|
|
1115
|
-
- [๐ Full Documentation (20k+ lines)](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md) - Everything in one searchable file
|
|
1117
|
+
- [๐ Full Documentation (20k+ lines)](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md) - Everything in one searchable file
|
|
1116
1118
|
|
|
1117
1119
|
---
|
|
1118
1120
|
|
|
@@ -1127,8 +1129,8 @@ We welcome contributions! jet-validator is a community project and we appreciate
|
|
|
1127
1129
|
|
|
1128
1130
|
### Ways to Contribute
|
|
1129
1131
|
|
|
1130
|
-
- ๐ **Report bugs** - Found an issue? [Open a bug report](https://github.com/jetio/validator/issues/new?labels=bug)
|
|
1131
|
-
- ๐ก **Suggest features** - Have an idea? [Open a feature request](https://github.com/jetio/validator/issues/new?labels=enhancement)
|
|
1132
|
+
- ๐ **Report bugs** - Found an issue? [Open a bug report](https://github.com/official-jetio/validator/issues/new?labels=bug)
|
|
1133
|
+
- ๐ก **Suggest features** - Have an idea? [Open a feature request](https://github.com/official-jetio/validator/issues/new?labels=enhancement)
|
|
1132
1134
|
- ๐ **Improve docs** - Fix typos, add examples, clarify explanations
|
|
1133
1135
|
- ๐งช **Add test cases** - Contribute to JSON Schema compliance
|
|
1134
1136
|
- โก **Performance improvements** - Make it even faster
|
|
@@ -1138,7 +1140,7 @@ We welcome contributions! jet-validator is a community project and we appreciate
|
|
|
1138
1140
|
|
|
1139
1141
|
```bash
|
|
1140
1142
|
# Clone the repo
|
|
1141
|
-
git clone https://github.com/jetio/validator
|
|
1143
|
+
git clone https://github.com/official-jetio/validator
|
|
1142
1144
|
cd jet-validator
|
|
1143
1145
|
|
|
1144
1146
|
# Install dependencies
|
|
@@ -1211,8 +1213,8 @@ If you're working on the resolver, please be extra careful - it's complex but ba
|
|
|
1211
1213
|
|
|
1212
1214
|
### Questions?
|
|
1213
1215
|
|
|
1214
|
-
- ๐ฌ **Discussions:** [GitHub Discussions](https://github.com/jetio/validator/discussions)
|
|
1215
|
-
- ๐ **Issues:** [Issue Tracker](https://github.com/jetio/validator/issues)
|
|
1216
|
+
- ๐ฌ **Discussions:** [GitHub Discussions](https://github.com/official-jetio/validator/discussions)
|
|
1217
|
+
- ๐ **Issues:** [Issue Tracker](https://github.com/official-jetio/validator/issues)
|
|
1216
1218
|
|
|
1217
1219
|
---
|
|
1218
1220
|
|
|
@@ -1227,7 +1229,7 @@ We track bugs and feature requests using GitHub Issues.
|
|
|
1227
1229
|
### Before Filing an Issue
|
|
1228
1230
|
|
|
1229
1231
|
1. **Search existing issues** - Your issue might already be reported
|
|
1230
|
-
2. **Check the documentation** - The answer might be in the [20k+ line docs](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md)
|
|
1232
|
+
2. **Check the documentation** - The answer might be in the [20k+ line docs](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md)
|
|
1231
1233
|
3. **Try the latest version** - `npm install @jetio/validator@latest`
|
|
1232
1234
|
|
|
1233
1235
|
### Types of Issues
|
|
@@ -1235,20 +1237,20 @@ We track bugs and feature requests using GitHub Issues.
|
|
|
1235
1237
|
- ๐ **Bug Report:** Something isn't working correctly
|
|
1236
1238
|
|
|
1237
1239
|
- Include: Schema, data, expected vs actual behavior, error messages
|
|
1238
|
-
- [File a bug report โ](https://github.com/jetio/validator/issues/new?labels=bug)
|
|
1240
|
+
- [File a bug report โ](https://github.com/official-jetio/validator/issues/new?labels=bug)
|
|
1239
1241
|
|
|
1240
1242
|
- ๐ก **Feature Request:** Suggest a new feature or improvement
|
|
1241
1243
|
|
|
1242
1244
|
- Include: Use case, examples, why it's needed
|
|
1243
|
-
- [Request a feature โ](https://github.com/jetio/validator/issues/new?labels=enhancement)
|
|
1245
|
+
- [Request a feature โ](https://github.com/official-jetio/validator/issues/new?labels=enhancement)
|
|
1244
1246
|
|
|
1245
1247
|
- โ **Question:** Need help or clarification
|
|
1246
1248
|
|
|
1247
|
-
- Use [GitHub Discussions](https://github.com/jetio/validator/discussions) for questions
|
|
1249
|
+
- Use [GitHub Discussions](https://github.com/official-jetio/validator/discussions) for questions
|
|
1248
1250
|
- Issues are for bugs and features only
|
|
1249
1251
|
|
|
1250
1252
|
- ๐ **Documentation:** Docs are unclear or missing information
|
|
1251
|
-
- [Improve docs โ](https://github.com/jetio/validator/issues/new?labels=documentation)
|
|
1253
|
+
- [Improve docs โ](https://github.com/official-jetio/validator/issues/new?labels=documentation)
|
|
1252
1254
|
|
|
1253
1255
|
### Good Bug Report Template
|
|
1254
1256
|
|
|
@@ -1285,9 +1287,9 @@ We track bugs and feature requests using GitHub Issues.
|
|
|
1285
1287
|
|
|
1286
1288
|
**๐ Quick Links:**
|
|
1287
1289
|
|
|
1288
|
-
- [Report a Bug](https://github.com/jetio/validator/issues/new?labels=bug)
|
|
1289
|
-
- [Request a Feature](https://github.com/jetio/validator/issues/new?labels=enhancement)
|
|
1290
|
-
- [Ask a Question](https://github.com/jetio/validator/discussions)
|
|
1290
|
+
- [Report a Bug](https://github.com/official-jetio/validator/issues/new?labels=bug)
|
|
1291
|
+
- [Request a Feature](https://github.com/official-jetio/validator/issues/new?labels=enhancement)
|
|
1292
|
+
- [Ask a Question](https://github.com/official-jetio/validator/discussions)
|
|
1291
1293
|
|
|
1292
1294
|
---
|
|
1293
1295
|
|
|
@@ -1351,11 +1353,11 @@ MIT ยฉ [Great Venerable](https://github.com/greatvenerable)
|
|
|
1351
1353
|
## ๐ Links
|
|
1352
1354
|
|
|
1353
1355
|
- **[npm Package](https://www.npmjs.com/package/@jetio/validator)**
|
|
1354
|
-
- **[GitHub Repository](https://github.com/
|
|
1355
|
-
- **[Complete Documentation (20k+ lines)](https://github.com/jetio/validator/blob/main/DOCUMENTATION.md)**
|
|
1356
|
-
- **[Benchmark Results](https://github.com/jetio/validator/blob/main/benchmark/results/COMPARISON.md)**
|
|
1357
|
-
- **[Issue Tracker](https://github.com/jetio/validator/issues)**
|
|
1358
|
-
- **[GitHub Discussions](https://github.com/jetio/validator/discussions)**
|
|
1356
|
+
- **[GitHub Repository](https://github.com/@jetio/validator)**
|
|
1357
|
+
- **[Complete Documentation (20k+ lines)](https://github.com/official-jetio/validator/blob/main/DOCUMENTATION.md)**
|
|
1358
|
+
- **[Benchmark Results](https://github.com/official-jetio/validator/blob/main/benchmark/results/COMPARISON.md)**
|
|
1359
|
+
- **[Issue Tracker](https://github.com/official-jetio/validator/issues)**
|
|
1360
|
+
- **[GitHub Discussions](https://github.com/official-jetio/validator/discussions)**
|
|
1359
1361
|
|
|
1360
1362
|
---
|
|
1361
1363
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetio/validator",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "The fastest JSON Schema validator for JavaScript and TypeScript. Supports Draft 06, 07, 2019-09, and 2020-12.",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|