@arktype/util
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -0,1 +1,2 @@ | ||
import type { id } from "./generics.js"; | ||
export declare class InternalArktypeError extends Error { | ||
@@ -11,2 +12,7 @@ } | ||
export type ErrorMessage<message extends string = string> = `${message}${ZeroWidthSpace}`; | ||
export interface ErrorType<message extends string = string, ctx extends {} = {}> { | ||
[id]: "ErrorObject"; | ||
message: message; | ||
ctx: ctx; | ||
} | ||
export type Completion<text extends string = string> = `${text}${ZeroWidthSpace}${ZeroWidthSpace}`; |
@@ -44,5 +44,2 @@ import type { Primitive } from "./domain.js"; | ||
}; | ||
export type keyError<message extends string> = ErrorMessage<message> & { | ||
[id]: "KeyError"; | ||
}; | ||
export type satisfy<base, t extends base> = t; | ||
@@ -49,0 +46,0 @@ export type defined<t> = t & ({} | null); |
import type { PartialRecord } from "./records.js"; | ||
export declare const arkUtilVersion = "0.1.1"; | ||
export declare const arkUtilVersion = "0.1.2"; | ||
export declare const initialRegistryContents: { | ||
@@ -4,0 +4,0 @@ version: string; |
@@ -8,3 +8,3 @@ import { domainOf } from "./domain.js"; | ||
// For now, we assert this matches the package.json version via a unit test. | ||
export const arkUtilVersion = "0.1.1"; | ||
export const arkUtilVersion = "0.1.2"; | ||
export const initialRegistryContents = { | ||
@@ -11,0 +11,0 @@ version: arkUtilVersion, |
{ | ||
"name": "@arktype/util", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "David Blass", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
77195
1559