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

arktype

Package Overview
Dependencies
Maintainers
0
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.29 to 2.0.0-rc.30

1

out/keywords/ts.d.ts

@@ -61,2 +61,3 @@ import { Hkt, type Json, type Key, type omit, type pick, type show } from "@ark/util";

body: Record<this[0], this[1]>;
description: string;
}

@@ -63,0 +64,0 @@ declare const Record: import("@ark/schema").GenericRoot<readonly [["K", Key], ["V", unknown]], RecordHkt>;

@@ -35,2 +35,3 @@ import { genericNode, intrinsic, node } from "@ark/schema";

class RecordHkt extends Hkt {
description = "a generic type that instantiates an object from a single index signature and corresponding value type";
}

@@ -37,0 +38,0 @@ const Record = genericNode(["K", intrinsic.key], "V")(args => ({

2

out/scope.d.ts

@@ -82,3 +82,3 @@ import { BaseScope, type AliasDefEntry, type ArkScopeConfig, type BaseNode, type BaseParseContext, type BaseParseContextInput, type BaseParseOptions, type BaseRoot, type GenericAst, type GenericParamAst, type GenericParamDef, type NodeKind, type NodeSchema, type PreparsedNodeResolution, type PrivateDeclaration, type RootKind, type RootSchema, type arkKind, type exportedNameOf, type nodeOfKind, type reducibleKindOf, type toInternalScope, type writeDuplicateAliasError } from "@ark/schema";

};
define: (def: unknown) => unknown;
define<def>(def: def): def;
static scope: ScopeParser;

@@ -85,0 +85,0 @@ static module: ModuleParser;

@@ -80,3 +80,5 @@ import { $ark, BaseScope, hasArkKind, parseGeneric } from "@ark/schema";

});
define = ((def) => def).bind(this);
define(def) {
return def;
}
static scope = ((def, config = {}) => new InternalScope(def, config));

@@ -83,0 +85,0 @@ static module = ((def, config = {}) => this.scope(def, config).export());

@@ -36,3 +36,3 @@ import { ArkErrors, BaseRoot, GenericRoot } from "@ark/schema";

const params = $.parseGenericParams(paramString, {});
return new GenericRoot(params, args[1], $, $);
return new GenericRoot(params, args[1], $, $, null);
}

@@ -39,0 +39,0 @@ // otherwise, treat as a tuple expression. technically, this also allows

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

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

"dependencies": {
"@ark/util": "0.29.0",
"@ark/schema": "0.29.0"
"@ark/util": "0.30.0",
"@ark/schema": "0.30.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