@newskit-render/validation 1.4.0-alpha.0 → 1.5.0-alpha.0
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.
|
@@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
37
37
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
38
38
|
function step(op) {
|
|
39
39
|
if (f) throw new TypeError("Generator is already executing.");
|
|
40
|
-
while (_) try {
|
|
40
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
41
41
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
42
42
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
43
43
|
switch (op[0]) {
|
package/dist/cjs/index.d.ts
CHANGED
|
@@ -157,8 +157,8 @@ declare const initializeYupSchema: ({ overrideYupSchema, options, }: {
|
|
|
157
157
|
options?: InitializeYupOptions | undefined;
|
|
158
158
|
}) => DefaultSchemaKeysType | OverrideYupSchemaType;
|
|
159
159
|
export default initializeYupSchema;
|
|
160
|
-
export
|
|
161
|
-
export
|
|
162
|
-
export
|
|
160
|
+
export type DefaultSchemaType = ReturnType<typeof generateDefaultSchema>;
|
|
161
|
+
export type DefaultSchemaKeysType = keyof DefaultSchemaType;
|
|
162
|
+
export type OverrideYupSchemaType = {
|
|
163
163
|
[key in DefaultSchemaKeysType]?: Record<string, any>;
|
|
164
164
|
};
|
|
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
17
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
18
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
19
|
switch (op[0]) {
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -157,8 +157,8 @@ declare const initializeYupSchema: ({ overrideYupSchema, options, }: {
|
|
|
157
157
|
options?: InitializeYupOptions | undefined;
|
|
158
158
|
}) => DefaultSchemaKeysType | OverrideYupSchemaType;
|
|
159
159
|
export default initializeYupSchema;
|
|
160
|
-
export
|
|
161
|
-
export
|
|
162
|
-
export
|
|
160
|
+
export type DefaultSchemaType = ReturnType<typeof generateDefaultSchema>;
|
|
161
|
+
export type DefaultSchemaKeysType = keyof DefaultSchemaType;
|
|
162
|
+
export type OverrideYupSchemaType = {
|
|
163
163
|
[key in DefaultSchemaKeysType]?: Record<string, any>;
|
|
164
164
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@newskit-render/validation",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0-alpha.0",
|
|
4
4
|
"description": "Newskit Render",
|
|
5
5
|
"author": "",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"eslint-plugin-react": "7.31.10",
|
|
41
41
|
"jest": "27.4.7",
|
|
42
42
|
"jest-junit": "12.0.0",
|
|
43
|
-
"next": "
|
|
43
|
+
"next": "13.0.5",
|
|
44
44
|
"preact": "10.5.12",
|
|
45
45
|
"prettier": "2.2.1",
|
|
46
46
|
"react": "18.2.0",
|
|
47
47
|
"react-dom": "18.2.0",
|
|
48
48
|
"ts-jest": "27.1.3",
|
|
49
|
-
"typescript": "4.
|
|
49
|
+
"typescript": "4.9.3"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"react": ">= 17.0.2 <= 18.2.0",
|