arktype 2.0.0-dev.12 → 2.0.0-dev.13
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/out/match.js +4 -4
- package/out/package.json +3 -0
- package/out/parser/objectLiteral.d.ts +31 -18
- package/out/parser/objectLiteral.js +62 -27
- package/out/parser/tuple.js +0 -12
- package/out/scope.d.ts +3 -3
- package/out/scope.js +2 -2
- package/out/type.d.ts +1 -1
- package/out/type.js +1 -1
- package/package.json +9 -14
package/out/match.js
CHANGED
|
@@ -13,17 +13,17 @@ export const createMatchParser = ($) => {
|
|
|
13
13
|
// const branches = handledCases.flatMap(({ when, then }) => {
|
|
14
14
|
// if (when.kind === "union") {
|
|
15
15
|
// return when.branches.map((branch) => ({
|
|
16
|
-
//
|
|
16
|
+
// in: branch,
|
|
17
17
|
// morph: then
|
|
18
18
|
// }))
|
|
19
19
|
// }
|
|
20
20
|
// if (when.kind === "morph") {
|
|
21
|
-
// return [{
|
|
21
|
+
// return [{ in: when, morph: [when.morph, then] }]
|
|
22
22
|
// }
|
|
23
|
-
// return [{
|
|
23
|
+
// return [{ in: when, morph: then }]
|
|
24
24
|
// })
|
|
25
25
|
// if (defaultCase) {
|
|
26
|
-
// branches.push({
|
|
26
|
+
// branches.push({ in: keywordNodes.unknown, morph: defaultCase })
|
|
27
27
|
// }
|
|
28
28
|
// const matchers = $.node("union", {
|
|
29
29
|
// branches,
|
package/out/package.json
ADDED
|
@@ -1,58 +1,71 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import { type Dict, type ErrorMessage, type Key, type keyError, type merge, type show } from "@arktype/util";
|
|
1
|
+
import { type BaseRoot, type Default, type UndeclaredKeyBehavior, type writeInvalidPropertyKeyMessage } from "@arktype/schema";
|
|
2
|
+
import { type Dict, type ErrorMessage, type Key, type anyOrNever, type keyError, type merge, type show } from "@arktype/util";
|
|
3
3
|
import type { ParseContext } from "../scope.js";
|
|
4
4
|
import type { inferDefinition, validateDefinition } from "./definition.js";
|
|
5
5
|
import type { astToString } from "./semantic/utils.js";
|
|
6
6
|
import type { validateString } from "./semantic/validate.js";
|
|
7
7
|
import { Scanner } from "./string/shift/scanner.js";
|
|
8
8
|
export declare const parseObjectLiteral: (def: Dict, ctx: ParseContext) => BaseRoot;
|
|
9
|
+
export declare const writeInvalidUndeclaredBehaviorMessage: (actual: unknown) => string;
|
|
9
10
|
export declare const nonLeadingSpreadError = "Spread operator may only be used as the first key in an object";
|
|
10
11
|
export type inferObjectLiteral<def extends object, $, args> = show<"..." extends keyof def ? merge<inferDefinition<def["..."], $, args>, _inferObjectLiteral<def, $, args>> : _inferObjectLiteral<def, $, args>>;
|
|
11
12
|
/**
|
|
12
13
|
* Infers the contents of an object literal, ignoring a spread definition
|
|
13
14
|
*/
|
|
14
15
|
type _inferObjectLiteral<def extends object, $, args> = {
|
|
15
|
-
-readonly [k in keyof def as nonOptionalKeyFrom<k, $, args>]: inferDefinition<def[k], $, args>;
|
|
16
|
+
-readonly [k in keyof def as nonOptionalKeyFrom<k, $, args>]: def[k] extends (readonly [infer defaultableDef, "=", infer v]) ? def[k] extends anyOrNever ? def[k] : (In?: inferDefinition<defaultableDef, $, args>) => Default<v> : inferDefinition<def[k], $, args>;
|
|
16
17
|
} & {
|
|
17
18
|
-readonly [k in keyof def as optionalKeyFrom<k>]?: inferDefinition<def[k], $, args>;
|
|
18
19
|
};
|
|
19
20
|
export type validateObjectLiteral<def, $, args> = {
|
|
20
|
-
[k in keyof def]: k extends IndexKey<infer indexDef> ? validateString<indexDef, $, args> extends ErrorMessage<infer message> ? keyError<message> : inferDefinition<indexDef, $, args> extends PropertyKey ? validateDefinition<def[k], $, args> : keyError<writeInvalidPropertyKeyMessage<indexDef>> : k extends "..." ? inferDefinition<def[k], $, args> extends object ? validateDefinition<def[k], $, args> : keyError<writeInvalidSpreadTypeMessage<astToString<def[k]>>> :
|
|
21
|
+
[k in keyof def]: k extends IndexKey<infer indexDef> ? validateString<indexDef, $, args> extends ErrorMessage<infer message> ? keyError<message> : inferDefinition<indexDef, $, args> extends PropertyKey ? validateDefinition<def[k], $, args> : keyError<writeInvalidPropertyKeyMessage<indexDef>> : k extends "..." ? inferDefinition<def[k], $, args> extends object ? validateDefinition<def[k], $, args> : keyError<writeInvalidSpreadTypeMessage<astToString<def[k]>>> : k extends "+" ? UndeclaredKeyBehavior : validatePossibleDefaultValue<def, k, $, args>;
|
|
21
22
|
};
|
|
23
|
+
type validatePossibleDefaultValue<def, k extends keyof def, $, args> = def[k] extends readonly [infer defaultDef, "=", unknown] ? parseKey<k>["kind"] extends "required" ? readonly [
|
|
24
|
+
validateDefinition<defaultDef, $, args>,
|
|
25
|
+
"=",
|
|
26
|
+
inferDefinition<defaultDef, $, args>
|
|
27
|
+
] : ErrorMessage<invalidDefaultKeyKindMessage> : validateDefinition<def[k], $, args>;
|
|
22
28
|
type nonOptionalKeyFrom<k, $, args> = parseKey<k> extends PreparsedKey<"required", infer inner> ? inner : parseKey<k> extends PreparsedKey<"index", infer inner> ? inferDefinition<inner, $, args> & Key : never;
|
|
23
29
|
type optionalKeyFrom<k> = parseKey<k> extends PreparsedKey<"optional", infer inner> ? inner : never;
|
|
24
30
|
type PreparsedKey<kind extends ParsedKeyKind = ParsedKeyKind, inner extends Key = Key> = {
|
|
25
31
|
kind: kind;
|
|
26
|
-
|
|
32
|
+
key: inner;
|
|
27
33
|
};
|
|
28
34
|
declare namespace PreparsedKey {
|
|
29
35
|
type from<t extends PreparsedKey> = t;
|
|
30
36
|
}
|
|
31
|
-
type ParsedKeyKind = "required" | "optional" | "index" |
|
|
37
|
+
type ParsedKeyKind = "required" | "optional" | "index" | MetaKey;
|
|
38
|
+
export type MetaKey = "..." | "+";
|
|
32
39
|
export type IndexKey<def extends string = string> = `[${def}]`;
|
|
33
|
-
|
|
40
|
+
interface PreparsedEntry extends PreparsedKey {
|
|
34
41
|
value: unknown;
|
|
35
|
-
|
|
36
|
-
|
|
42
|
+
default: unknown;
|
|
43
|
+
}
|
|
44
|
+
export declare const parseEntry: ([key, value]: readonly [
|
|
45
|
+
Key,
|
|
46
|
+
unknown
|
|
47
|
+
]) => PreparsedEntry;
|
|
48
|
+
export declare const invalidDefaultKeyKindMessage = "Only required keys may specify default values, e.g. { ark: ['string', '=', '\u26F5'] }";
|
|
49
|
+
export type invalidDefaultKeyKindMessage = typeof invalidDefaultKeyKindMessage;
|
|
37
50
|
declare const parseKey: (key: Key) => PreparsedKey;
|
|
38
51
|
type parseKey<k> = k extends `${infer inner}?` ? inner extends `${infer baseName}${Scanner.EscapeToken}` ? PreparsedKey.from<{
|
|
39
52
|
kind: "required";
|
|
40
|
-
|
|
53
|
+
key: `${baseName}?`;
|
|
41
54
|
}> : PreparsedKey.from<{
|
|
42
55
|
kind: "optional";
|
|
43
|
-
|
|
44
|
-
}> : k extends
|
|
45
|
-
kind:
|
|
46
|
-
|
|
47
|
-
}> : k extends `${Scanner.EscapeToken}
|
|
56
|
+
key: inner;
|
|
57
|
+
}> : k extends MetaKey ? PreparsedKey.from<{
|
|
58
|
+
kind: k;
|
|
59
|
+
key: k;
|
|
60
|
+
}> : k extends `${Scanner.EscapeToken}${infer escapedMeta extends MetaKey}` ? PreparsedKey.from<{
|
|
48
61
|
kind: "required";
|
|
49
|
-
|
|
62
|
+
key: escapedMeta;
|
|
50
63
|
}> : k extends IndexKey<infer def> ? PreparsedKey.from<{
|
|
51
64
|
kind: "index";
|
|
52
|
-
|
|
65
|
+
key: def;
|
|
53
66
|
}> : PreparsedKey.from<{
|
|
54
67
|
kind: "required";
|
|
55
|
-
|
|
68
|
+
key: k extends (`${Scanner.EscapeToken}${infer escapedIndexKey extends IndexKey}`) ? escapedIndexKey : k extends Key ? k : `${k & number}`;
|
|
56
69
|
}>;
|
|
57
70
|
export declare const writeInvalidSpreadTypeMessage: <def extends string>(def: def) => `Spread operand must resolve to an object literal type (was ${def})`;
|
|
58
71
|
type writeInvalidSpreadTypeMessage<def extends string> = `Spread operand must resolve to an object literal type (was ${def})`;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ArkErrors, normalizeIndex } from "@arktype/schema";
|
|
2
|
+
import { append, isArray, printable, stringAndSymbolicEntriesOf, throwParseError, unset } from "@arktype/util";
|
|
2
3
|
import { Scanner } from "./string/shift/scanner.js";
|
|
3
4
|
export const parseObjectLiteral = (def, ctx) => {
|
|
4
5
|
let spread;
|
|
@@ -8,7 +9,7 @@ export const parseObjectLiteral = (def, ctx) => {
|
|
|
8
9
|
// by the values in the target object, so there'd be no useful purpose in having it
|
|
9
10
|
// anywhere except for the beginning.
|
|
10
11
|
const parsedEntries = stringAndSymbolicEntriesOf(def).map(parseEntry);
|
|
11
|
-
if (parsedEntries[0]?.kind === "
|
|
12
|
+
if (parsedEntries[0]?.kind === "...") {
|
|
12
13
|
// remove the spread entry so we can iterate over the remaining entries
|
|
13
14
|
// expecting non-spread entries
|
|
14
15
|
const spreadEntry = parsedEntries.shift();
|
|
@@ -21,30 +22,38 @@ export const parseObjectLiteral = (def, ctx) => {
|
|
|
21
22
|
spread = spreadNode.structure;
|
|
22
23
|
}
|
|
23
24
|
for (const entry of parsedEntries) {
|
|
24
|
-
if (entry.kind === "
|
|
25
|
+
if (entry.kind === "...")
|
|
25
26
|
return throwParseError(nonLeadingSpreadError);
|
|
27
|
+
if (entry.kind === "+") {
|
|
28
|
+
if (entry.value !== "reject" &&
|
|
29
|
+
entry.value !== "delete" &&
|
|
30
|
+
entry.value !== "ignore")
|
|
31
|
+
throwParseError(writeInvalidUndeclaredBehaviorMessage(entry.value));
|
|
32
|
+
structure.undeclared = entry.value;
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
26
35
|
if (entry.kind === "index") {
|
|
27
36
|
// handle key parsing first to match type behavior
|
|
28
|
-
const key = ctx.$.parse(entry.
|
|
37
|
+
const key = ctx.$.parse(entry.key, ctx);
|
|
29
38
|
const value = ctx.$.parse(entry.value, ctx);
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
structure.required = append(structure.required, enumerable.map(k => ctx.$.node("required", { key: k.unit, value })));
|
|
34
|
-
if (nonEnumerable.length) {
|
|
35
|
-
structure.index = append(structure.index, ctx.$.node("index", { index: nonEnumerable, value }));
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
structure.index = append(structure.index, ctx.$.node("index", { index: key, value }));
|
|
39
|
+
const normalizedSignature = normalizeIndex(key, value, ctx.$);
|
|
40
|
+
if (normalizedSignature.required) {
|
|
41
|
+
structure.required = append(structure.required, normalizedSignature.required);
|
|
40
42
|
}
|
|
43
|
+
if (normalizedSignature.index)
|
|
44
|
+
structure.index = append(structure.index, normalizedSignature.index);
|
|
41
45
|
}
|
|
42
46
|
else {
|
|
43
47
|
const value = ctx.$.parse(entry.value, ctx);
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
value
|
|
47
|
-
|
|
48
|
+
const inner = { key: entry.key, value };
|
|
49
|
+
if (entry.default !== unset) {
|
|
50
|
+
const out = value(entry.default);
|
|
51
|
+
if (out instanceof ArkErrors)
|
|
52
|
+
throwParseError(`Default value at ${printable(entry.key)} ${out}`);
|
|
53
|
+
value.assert(entry.default);
|
|
54
|
+
inner.default = entry.default;
|
|
55
|
+
}
|
|
56
|
+
structure[entry.kind] = append(structure[entry.kind], inner);
|
|
48
57
|
}
|
|
49
58
|
}
|
|
50
59
|
const structureNode = ctx.$.node("structure", structure);
|
|
@@ -53,20 +62,46 @@ export const parseObjectLiteral = (def, ctx) => {
|
|
|
53
62
|
structure: spread?.merge(structureNode) ?? structureNode
|
|
54
63
|
});
|
|
55
64
|
};
|
|
65
|
+
export const writeInvalidUndeclaredBehaviorMessage = (actual) => `Value of '+' key must be 'reject', 'delete', or 'ignore' (was ${printable(actual)})`;
|
|
56
66
|
export const nonLeadingSpreadError = "Spread operator may only be used as the first key in an object";
|
|
57
|
-
export const parseEntry = (
|
|
58
|
-
const
|
|
67
|
+
export const parseEntry = ([key, value]) => {
|
|
68
|
+
const parsedKey = parseKey(key);
|
|
69
|
+
if (isArray(value) && value[1] === "=") {
|
|
70
|
+
if (parsedKey.kind !== "required")
|
|
71
|
+
throwParseError(invalidDefaultKeyKindMessage);
|
|
72
|
+
return {
|
|
73
|
+
kind: "optional",
|
|
74
|
+
key: parsedKey.key,
|
|
75
|
+
value: value[0],
|
|
76
|
+
default: value[2]
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
kind: parsedKey.kind,
|
|
81
|
+
key: parsedKey.key,
|
|
82
|
+
value,
|
|
83
|
+
default: unset
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
// single quote use here is better for TypeScript's inlined error to avoid escapes
|
|
87
|
+
export const invalidDefaultKeyKindMessage = `Only required keys may specify default values, e.g. { ark: ['string', '=', '⛵'] }`;
|
|
88
|
+
const parseKey = (key) => typeof key === "symbol" ? { kind: "required", key }
|
|
59
89
|
: key.at(-1) === "?" ?
|
|
60
90
|
key.at(-2) === Scanner.escapeToken ?
|
|
61
|
-
{
|
|
91
|
+
{ kind: "required", key: `${key.slice(0, -2)}?` }
|
|
62
92
|
: {
|
|
63
|
-
|
|
64
|
-
|
|
93
|
+
kind: "optional",
|
|
94
|
+
key: key.slice(0, -1)
|
|
65
95
|
}
|
|
66
96
|
: key[0] === "[" && key.at(-1) === "]" ?
|
|
67
|
-
{
|
|
97
|
+
{ kind: "index", key: key.slice(1, -1) }
|
|
68
98
|
: key[0] === Scanner.escapeToken && key[1] === "[" && key.at(-1) === "]" ?
|
|
69
|
-
{
|
|
70
|
-
: key === "..."
|
|
71
|
-
: {
|
|
99
|
+
{ kind: "required", key: key.slice(1) }
|
|
100
|
+
: key === "..." || key === "+" ? { kind: key, key }
|
|
101
|
+
: {
|
|
102
|
+
kind: "required",
|
|
103
|
+
key: key === "\\..." ? "..."
|
|
104
|
+
: key === "\\+" ? "+"
|
|
105
|
+
: key
|
|
106
|
+
};
|
|
72
107
|
export const writeInvalidSpreadTypeMessage = (def) => `Spread operand must resolve to an object literal type (was ${def})`;
|
package/out/parser/tuple.js
CHANGED
|
@@ -97,18 +97,6 @@ const maybeParseTupleExpression = (def, ctx) => {
|
|
|
97
97
|
: isIndexOneExpression(def) ? indexOneParsers[def[1]](def, ctx)
|
|
98
98
|
: undefined;
|
|
99
99
|
return tupleExpressionResult;
|
|
100
|
-
// TODO: remove
|
|
101
|
-
// return tupleExpressionResult.isNever()
|
|
102
|
-
// ? throwParseError(
|
|
103
|
-
// writeUnsatisfiableExpressionError(
|
|
104
|
-
// def
|
|
105
|
-
// .map((def) =>
|
|
106
|
-
// typeof def === "string" ? def : printable(def)
|
|
107
|
-
// )
|
|
108
|
-
// .join(" ")
|
|
109
|
-
// )
|
|
110
|
-
// )
|
|
111
|
-
// : tupleExpressionResult
|
|
112
100
|
};
|
|
113
101
|
export const writeNonArraySpreadMessage = (operand) => `Spread element must be an array (was ${operand})`;
|
|
114
102
|
export const multipleVariadicMesage = "A tuple may have at most one variadic element";
|
package/out/scope.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { type MatchParser } from "./match.js";
|
|
|
6
6
|
import type { Module } from "./module.js";
|
|
7
7
|
import { type inferDefinition, type validateDefinition } from "./parser/definition.js";
|
|
8
8
|
import { parseGenericParams, type GenericDeclaration, type GenericParamsParseError } from "./parser/generic.js";
|
|
9
|
-
import {
|
|
9
|
+
import { RawTypeParser, type DeclarationParser, type DefinitionParser, type Type, type TypeParser } from "./type.js";
|
|
10
10
|
export type ScopeParser = <const def>(def: validateScope<def>, config?: ArkConfig) => Scope<inferBootstrapped<bootstrapAliases<def>>>;
|
|
11
11
|
type validateScope<def> = {
|
|
12
12
|
[k in keyof def]: k extends symbol ? unknown : parseScopeKey<k>["params"] extends [] ? def[k] extends Type | PreparsedResolution ? def[k] : k extends PrivateDeclaration<infer name extends keyof def & string> ? keyError<writeDuplicateAliasError<name>> : validateDefinition<def[k], ambient & bootstrapAliases<def>, {}> : parseScopeKey<k>["params"] extends GenericParamsParseError ? parseScopeKey<k>["params"][0] : validateDefinition<def[k], ambient & bootstrapAliases<def>, {
|
|
@@ -57,10 +57,10 @@ export interface Scope<$ = any> extends RootScope<$> {
|
|
|
57
57
|
export declare class RawScope<$ extends RawRootResolutions = RawRootResolutions> extends RawRootScope<$> {
|
|
58
58
|
private parseCache;
|
|
59
59
|
constructor(def: Record<string, unknown>, config?: ArkConfig);
|
|
60
|
-
type:
|
|
60
|
+
type: RawTypeParser;
|
|
61
61
|
match: MatchParser<$>;
|
|
62
62
|
declare: () => {
|
|
63
|
-
type:
|
|
63
|
+
type: RawTypeParser;
|
|
64
64
|
};
|
|
65
65
|
define: (def: unknown) => unknown;
|
|
66
66
|
preparseRoot(def: unknown): unknown;
|
package/out/scope.js
CHANGED
|
@@ -6,7 +6,7 @@ import { parseObject, writeBadDefinitionTypeMessage } from "./parser/definition.
|
|
|
6
6
|
import { parseGenericParams } from "./parser/generic.js";
|
|
7
7
|
import { DynamicState } from "./parser/string/reduce/dynamic.js";
|
|
8
8
|
import { fullStringParse } from "./parser/string/string.js";
|
|
9
|
-
import {
|
|
9
|
+
import { RawTypeParser } from "./type.js";
|
|
10
10
|
export const scope = ((def, config = {}) => new RawScope(def, config));
|
|
11
11
|
export class RawScope extends RawRootScope {
|
|
12
12
|
parseCache = {};
|
|
@@ -22,7 +22,7 @@ export class RawScope extends RawRootScope {
|
|
|
22
22
|
}
|
|
23
23
|
super(aliases, config);
|
|
24
24
|
}
|
|
25
|
-
type = new
|
|
25
|
+
type = new RawTypeParser(this);
|
|
26
26
|
match = createMatchParser(this);
|
|
27
27
|
declare = (() => ({
|
|
28
28
|
type: this.type
|
package/out/type.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export interface TypeParser<$> extends TypeParserAttachments {
|
|
|
15
15
|
[param in parseGenericParams<params>[number]]: unknown;
|
|
16
16
|
}>): Generic<parseGenericParams<params>, def, $>;
|
|
17
17
|
}
|
|
18
|
-
export declare class
|
|
18
|
+
export declare class RawTypeParser extends Callable<(...args: unknown[]) => BaseRoot | Generic, TypeParserAttachments> {
|
|
19
19
|
constructor($: RawScope);
|
|
20
20
|
}
|
|
21
21
|
export type DeclarationParser<$> = <preinferred>() => {
|
package/out/type.js
CHANGED
|
@@ -5,7 +5,7 @@ import { parseGenericParams } from "./parser/generic.js";
|
|
|
5
5
|
const typeParserAttachments = Object.freeze({
|
|
6
6
|
errors: ArkErrors
|
|
7
7
|
});
|
|
8
|
-
export class
|
|
8
|
+
export class RawTypeParser extends Callable {
|
|
9
9
|
constructor($) {
|
|
10
10
|
super((...args) => {
|
|
11
11
|
if (args.length === 1) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "arktype",
|
|
3
3
|
"description": "TypeScript's 1:1 validator, optimized from editor to runtime",
|
|
4
|
-
"version": "2.0.0-dev.
|
|
4
|
+
"version": "2.0.0-dev.13",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "David Blass",
|
|
@@ -16,17 +16,12 @@
|
|
|
16
16
|
"main": "./out/api.js",
|
|
17
17
|
"types": "./out/api.d.ts",
|
|
18
18
|
"exports": {
|
|
19
|
-
".":
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"default": "./out/config.js"
|
|
26
|
-
},
|
|
27
|
-
"./internal/*": {
|
|
28
|
-
"default": "./out/*"
|
|
29
|
-
}
|
|
19
|
+
".": "./out/api.js",
|
|
20
|
+
"./config": "./out/config.js",
|
|
21
|
+
"./internal/*": "./out/*"
|
|
22
|
+
},
|
|
23
|
+
"imports": {
|
|
24
|
+
"#foo": "../schema/api.ts"
|
|
30
25
|
},
|
|
31
26
|
"files": [
|
|
32
27
|
"out"
|
|
@@ -36,7 +31,7 @@
|
|
|
36
31
|
"test": "tsx ../repo/testPackage.ts"
|
|
37
32
|
},
|
|
38
33
|
"dependencies": {
|
|
39
|
-
"@arktype/util": "0.0.
|
|
40
|
-
"@arktype/schema": "0.1.
|
|
34
|
+
"@arktype/util": "0.0.42",
|
|
35
|
+
"@arktype/schema": "0.1.5"
|
|
41
36
|
}
|
|
42
37
|
}
|