Socket
Socket
Sign inDemoInstall

@arktype/util

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arktype/util - npm Package Compare versions

Comparing version 0.0.45 to 0.0.46

7

out/registry.js
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;

2

package.json
{
"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
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc