yuppi 1.3.14 → 1.3.16
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 +1 -1
- package/dist/main.d.mts +9 -9
- package/dist/main.d.ts +9 -9
- package/dist/main.js +4 -4
- package/dist/main.mjs +4 -4
- package/package.json +3 -4
package/README.md
CHANGED
package/dist/main.d.mts
CHANGED
|
@@ -136,16 +136,16 @@ declare const URI = "^([a-zA-Z][a-zA-Z0-9+\\-.]*:\\/\\/)([a-zA-Z0-9._%+-]+(:[a-z
|
|
|
136
136
|
|
|
137
137
|
declare const Username = "^(?=.*[a-zA-Z])[a-zA-Z0-9][a-zA-Z0-9_]*$";
|
|
138
138
|
|
|
139
|
-
declare const
|
|
140
|
-
declare const
|
|
141
|
-
declare const
|
|
142
|
-
declare const
|
|
143
|
-
declare const
|
|
144
|
-
declare const
|
|
145
|
-
declare namespace
|
|
146
|
-
export {
|
|
139
|
+
declare const Patterns_export_Domain: typeof Domain;
|
|
140
|
+
declare const Patterns_export_Email: typeof Email;
|
|
141
|
+
declare const Patterns_export_HTTP: typeof HTTP;
|
|
142
|
+
declare const Patterns_export_PhoneNumber: typeof PhoneNumber;
|
|
143
|
+
declare const Patterns_export_URI: typeof URI;
|
|
144
|
+
declare const Patterns_export_Username: typeof Username;
|
|
145
|
+
declare namespace Patterns_export {
|
|
146
|
+
export { Patterns_export_Domain as Domain, Patterns_export_Email as Email, Patterns_export_HTTP as HTTP, Patterns_export_PhoneNumber as PhoneNumber, Patterns_export_URI as URI, Patterns_export_Username as Username };
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
type ValidationError = ValidationError$1;
|
|
150
150
|
|
|
151
|
-
export { type AnyObject, type JSONSchema,
|
|
151
|
+
export { type AnyObject, type JSONSchema, Patterns_export as Patterns, type Schema, type ValidateOptions, type ValidationError, Yuppi, type YuppiOptions };
|
package/dist/main.d.ts
CHANGED
|
@@ -136,16 +136,16 @@ declare const URI = "^([a-zA-Z][a-zA-Z0-9+\\-.]*:\\/\\/)([a-zA-Z0-9._%+-]+(:[a-z
|
|
|
136
136
|
|
|
137
137
|
declare const Username = "^(?=.*[a-zA-Z])[a-zA-Z0-9][a-zA-Z0-9_]*$";
|
|
138
138
|
|
|
139
|
-
declare const
|
|
140
|
-
declare const
|
|
141
|
-
declare const
|
|
142
|
-
declare const
|
|
143
|
-
declare const
|
|
144
|
-
declare const
|
|
145
|
-
declare namespace
|
|
146
|
-
export {
|
|
139
|
+
declare const Patterns_export_Domain: typeof Domain;
|
|
140
|
+
declare const Patterns_export_Email: typeof Email;
|
|
141
|
+
declare const Patterns_export_HTTP: typeof HTTP;
|
|
142
|
+
declare const Patterns_export_PhoneNumber: typeof PhoneNumber;
|
|
143
|
+
declare const Patterns_export_URI: typeof URI;
|
|
144
|
+
declare const Patterns_export_Username: typeof Username;
|
|
145
|
+
declare namespace Patterns_export {
|
|
146
|
+
export { Patterns_export_Domain as Domain, Patterns_export_Email as Email, Patterns_export_HTTP as HTTP, Patterns_export_PhoneNumber as PhoneNumber, Patterns_export_URI as URI, Patterns_export_Username as Username };
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
type ValidationError = ValidationError$1;
|
|
150
150
|
|
|
151
|
-
export { type AnyObject, type JSONSchema,
|
|
151
|
+
export { type AnyObject, type JSONSchema, Patterns_export as Patterns, type Schema, type ValidateOptions, type ValidationError, Yuppi, type YuppiOptions };
|
package/dist/main.js
CHANGED
|
@@ -30,7 +30,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
// src/main.ts
|
|
31
31
|
var main_exports = {};
|
|
32
32
|
__export(main_exports, {
|
|
33
|
-
Patterns: () =>
|
|
33
|
+
Patterns: () => Patterns_export_exports,
|
|
34
34
|
Yuppi: () => Yuppi
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(main_exports);
|
|
@@ -268,9 +268,9 @@ var Yuppi = class {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
|
|
271
|
-
// src/
|
|
272
|
-
var
|
|
273
|
-
__export(
|
|
271
|
+
// src/exports/Patterns.export.ts
|
|
272
|
+
var Patterns_export_exports = {};
|
|
273
|
+
__export(Patterns_export_exports, {
|
|
274
274
|
Domain: () => Domain,
|
|
275
275
|
Email: () => Email,
|
|
276
276
|
HTTP: () => HTTP,
|
package/dist/main.mjs
CHANGED
|
@@ -237,9 +237,9 @@ var Yuppi = class {
|
|
|
237
237
|
}
|
|
238
238
|
};
|
|
239
239
|
|
|
240
|
-
// src/
|
|
241
|
-
var
|
|
242
|
-
__export(
|
|
240
|
+
// src/exports/Patterns.export.ts
|
|
241
|
+
var Patterns_export_exports = {};
|
|
242
|
+
__export(Patterns_export_exports, {
|
|
243
243
|
Domain: () => Domain,
|
|
244
244
|
Email: () => Email,
|
|
245
245
|
HTTP: () => HTTP,
|
|
@@ -266,6 +266,6 @@ var URI = "^([a-zA-Z][a-zA-Z0-9+\\-.]*:\\/\\/)([a-zA-Z0-9._%+-]+(:[a-zA-Z0-9._%+
|
|
|
266
266
|
// src/patterns/Username.pattern.ts
|
|
267
267
|
var Username = "^(?=.*[a-zA-Z])[a-zA-Z0-9][a-zA-Z0-9_]*$";
|
|
268
268
|
export {
|
|
269
|
-
|
|
269
|
+
Patterns_export_exports as Patterns,
|
|
270
270
|
Yuppi
|
|
271
271
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "yuppi",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.16",
|
|
4
4
|
"description": "Schemas that can be converted to Yup and JSON Schema.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/keift/yuppi",
|
|
@@ -15,16 +15,15 @@
|
|
|
15
15
|
"lint": "eslint ./"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@sinclair/typebox": "^0.34.
|
|
18
|
+
"@sinclair/typebox": "^0.34.46",
|
|
19
19
|
"@types/lodash.merge": "^4.6.9",
|
|
20
|
-
"@types/node": "latest",
|
|
21
20
|
"json-schema-to-typescript": "^15.0.4",
|
|
22
21
|
"lodash.merge": "^4.6.2",
|
|
23
22
|
"yup": "^1.7.1"
|
|
24
23
|
},
|
|
25
24
|
"devDependencies": {
|
|
26
|
-
"neatlint": "latest",
|
|
27
25
|
"prettier": "latest",
|
|
26
|
+
"rulint": "latest",
|
|
28
27
|
"tsup": "latest"
|
|
29
28
|
},
|
|
30
29
|
"repository": {
|