New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

arktype

Package Overview
Dependencies
Maintainers
1
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arktype - npm Package Compare versions

Comparing version 2.0.0-rc.22 to 2.0.0-rc.23

7

out/methods/base.d.ts

@@ -1,2 +0,2 @@

import type { ArkErrors, BaseRoot, Disjoint, JsonSchema, MetaSchema, Morph, Predicate, PredicateCast, StandardSchema, UndeclaredKeyBehavior } from "@ark/schema";
import type { ArkErrors, ArkTypeStandardSchemaProps, BaseRoot, Disjoint, JsonSchema, MetaSchema, Morph, Predicate, PredicateCast, UndeclaredKeyBehavior } from "@ark/schema";
import type { anyOrNever, array, Callable, ErrorMessage, inferred, Json, unset } from "@ark/util";

@@ -10,3 +10,3 @@ import type { associateAttributes, associateAttributesFromSchema, brandAttributes, Default, DefaultFor, distill, inferIntersection, inferMorphOut, inferPipes, InferredMorph, Nominal, Optional, Out, To } from "../attributes.ts";

/** @ts-ignore cast variance */
interface Type<out t = unknown, $ = {}> extends Callable<(data: unknown) => distill.Out<t> | ArkErrors, StandardSchema.ConstantProps> {
interface Type<out t = unknown, $ = {}> extends Callable<(data: unknown) => distill.Out<t> | ArkErrors, ArkTypeStandardSchemaProps> {
[inferred]: t;

@@ -143,4 +143,3 @@ t: t;

default<const value extends this["inferIn"], r = associateAttributes<t, Default<value>>>(value: DefaultFor<value>): instantiateType<r, $>;
"~validate": StandardSchema.Validator<this["inferOut"]>;
"~types": StandardSchema.Types<this["inferIn"], this["inferOut"]>;
"~standard": ArkTypeStandardSchemaProps<this["inferIn"], this["inferOut"]>;
/** @deprecated */

@@ -147,0 +146,0 @@ apply: Function["apply"];

{
"name": "arktype",
"description": "TypeScript's 1:1 validator, optimized from editor to runtime",
"version": "2.0.0-rc.22",
"version": "2.0.0-rc.23",
"license": "MIT",

@@ -37,4 +37,4 @@ "author": {

"dependencies": {
"@ark/util": "0.22.0",
"@ark/schema": "0.22.0"
"@ark/util": "0.23.0",
"@ark/schema": "0.23.0"
},

@@ -41,0 +41,0 @@ "publishConfig": {

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