+4
-4
@@ -1,5 +0,5 @@ | ||
| export { regex } from "@ark/regex"; | ||
| export { ArkError, ArkErrors, Traversal, TraversalError, type ArkSchemaConfig, type ArkSchemaScopeConfig, type JsonSchema } from "@ark/schema"; | ||
| export { Hkt, inferred, ParseError } from "@ark/util"; | ||
| export type { distill, Out } from "./attributes.ts"; | ||
| export { Hkt, ParseError, inferred } from "@ark/util"; | ||
| export { regex } from "arkregex"; | ||
| export type { Out, distill } from "./attributes.ts"; | ||
| export * from "./config.ts"; | ||
@@ -10,4 +10,4 @@ export { Generic } from "./generic.ts"; | ||
| export type { inferDefinition, validateDefinition } from "./parser/definition.ts"; | ||
| export { scope, type bindThis, type Scope } from "./scope.ts"; | ||
| export { scope, type Scope, type bindThis } from "./scope.ts"; | ||
| export { Type } from "./type.ts"; | ||
| export type { BaseType } from "./variants/base.ts"; |
+2
-2
@@ -1,4 +0,4 @@ | ||
| export { regex } from "@ark/regex"; | ||
| export { ArkError, ArkErrors, Traversal, TraversalError } from "@ark/schema"; | ||
| export { Hkt, inferred, ParseError } from "@ark/util"; | ||
| export { Hkt, ParseError, inferred } from "@ark/util"; | ||
| export { regex } from "arkregex"; | ||
| export * from "./config.js"; | ||
@@ -5,0 +5,0 @@ export { Generic } from "./generic.js"; |
@@ -1,3 +0,3 @@ | ||
| import type { regex } from "@ark/regex"; | ||
| import { type Scanner } from "@ark/util"; | ||
| import type { regex } from "arkregex"; | ||
| import type { InferredAst } from "../../ast/infer.ts"; | ||
@@ -4,0 +4,0 @@ import type { RuntimeState } from "../../reduce/dynamic.ts"; |
@@ -145,3 +145,3 @@ import type { BaseNode, BaseRoot, Disjoint, JsonSchema, NodeSelector, Predicate, StandardSchemaV1, ToJsonSchema, TypeMeta, UndeclaredKeyBehavior } from "@ark/schema"; | ||
| */ | ||
| assert(data: unknown): this["infer"]; | ||
| assert: (data: unknown) => this["infer"]; | ||
| /** | ||
@@ -157,3 +157,3 @@ * #### check input without applying morphs | ||
| */ | ||
| allows(data: unknown): data is this["inferIn"]; | ||
| allows: (data: unknown) => data is this["inferIn"]; | ||
| /** | ||
@@ -160,0 +160,0 @@ * #### add metadata to shallow references |
@@ -1,3 +0,3 @@ | ||
| import type { regex } from "@ark/regex"; | ||
| import type { ExactLength, ExclusiveNumericRangeSchema, InclusiveNumericRangeSchema, Pattern } from "@ark/schema"; | ||
| import type { regex } from "arkregex"; | ||
| import type { BaseType } from "./base.ts"; | ||
@@ -4,0 +4,0 @@ /** @ts-ignore cast variance */ |
+8
-4
| { | ||
| "name": "arktype", | ||
| "description": "TypeScript's 1:1 validator, optimized from editor to runtime", | ||
| "version": "2.1.23", | ||
| "version": "2.1.24", | ||
| "license": "MIT", | ||
@@ -31,2 +31,6 @@ "repository": { | ||
| "default": "./out/*.js" | ||
| }, | ||
| "./internal/*.js": { | ||
| "ark-ts": "./*.ts", | ||
| "default": "./out/*.js" | ||
| } | ||
@@ -38,5 +42,5 @@ }, | ||
| "dependencies": { | ||
| "@ark/util": "0.50.0", | ||
| "@ark/regex": "0.0.0", | ||
| "@ark/schema": "0.50.0" | ||
| "@ark/schema": "0.52.0", | ||
| "@ark/util": "0.52.0", | ||
| "arkregex": "0.0.1" | ||
| }, | ||
@@ -43,0 +47,0 @@ "publishConfig": { |
331763
0.03%+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
Updated
Updated