@arktype/util
Advanced tools
Comparing version 0.0.45 to 0.0.46
import { domainOf, hasDomain } from "./domain.js"; | ||
import { throwInternalError } from "./errors.js"; | ||
import { throwError, throwInternalError } from "./errors.js"; | ||
import { objectKindOf } from "./objectKinds.js"; | ||
import { serializePrimitive } from "./primitive.js"; | ||
if ("$ark" in globalThis) { | ||
throwError(`Tried to initialize an $ark registry but one already existed. | ||
This probably means you are depending on multiple versions of an arktype package. | ||
Review package.json versions across your repo to ensure consistency.`); | ||
} | ||
export const registry = {}; | ||
@@ -6,0 +11,0 @@ globalThis.$ark = registry; |
{ | ||
"name": "@arktype/util", | ||
"version": "0.0.45", | ||
"version": "0.0.46", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "David Blass", |
@@ -15,4 +15,5 @@ { | ||
"exactOptionalPropertyTypes": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"stripInternal": true | ||
} | ||
} |
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
78769
1631