Socket
Socket
Sign inDemoInstall

arktype

Package Overview
Dependencies
Maintainers
1
Versions
100
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 1.0.12-alpha to 1.0.13-alpha

4

dist/cjs/traverse/traverse.js

@@ -261,6 +261,6 @@ "use strict";

if (props.required[k]) {
isValid && (isValid = state.traverseKey(k, props.required[k]));
isValid = state.traverseKey(k, props.required[k]) && isValid;
delete remainingUnseenRequired[k];
} else if (props.optional[k]) {
isValid && (isValid = state.traverseKey(k, props.optional[k]));
isValid = state.traverseKey(k, props.optional[k]) && isValid;
} else if (kind === "distilledProps") {

@@ -267,0 +267,0 @@ if (state.failFast) {

@@ -244,6 +244,6 @@ function _checkPrivateRedeclaration(obj, privateCollection) {

if (props.required[k]) {
isValid && (isValid = state.traverseKey(k, props.required[k]));
isValid = state.traverseKey(k, props.required[k]) && isValid;
delete remainingUnseenRequired[k];
} else if (props.optional[k]) {
isValid && (isValid = state.traverseKey(k, props.optional[k]));
isValid = state.traverseKey(k, props.optional[k]) && isValid;
} else if (kind === "distilledProps") {

@@ -250,0 +250,0 @@ if (state.failFast) {

{
"name": "arktype",
"description": "TypeScript's 1:1 validator, optimized from editor to runtime",
"version": "1.0.12-alpha",
"version": "1.0.13-alpha",
"author": {

@@ -6,0 +6,0 @@ "name": "David Blass",

Sorry, the diff of this file is not supported yet

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