Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hyperjump/json-schema

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hyperjump/json-schema - npm Package Compare versions

Comparing version 1.9.6 to 1.9.7

1

draft-06/index.js

@@ -36,2 +36,3 @@ import { addKeyword, defineVocabulary, loadDialect } from "../lib/keywords.js";

"enum": "https://json-schema.org/keyword/enum",
"examples": "https://json-schema.org/keyword/examples",
"exclusiveMaximum": "https://json-schema.org/keyword/exclusiveMaximum",

@@ -38,0 +39,0 @@ "exclusiveMinimum": "https://json-schema.org/keyword/exclusiveMinimum",

@@ -37,2 +37,3 @@ import { addKeyword, defineVocabulary, loadDialect } from "../lib/keywords.js";

"enum": "https://json-schema.org/keyword/enum",
"examples": "https://json-schema.org/keyword/examples",
"exclusiveMaximum": "https://json-schema.org/keyword/exclusiveMaximum",

@@ -39,0 +40,0 @@ "exclusiveMinimum": "https://json-schema.org/keyword/exclusiveMinimum",

20

lib/instance.d.ts

@@ -9,3 +9,3 @@ import type { Json } from "@hyperjump/json-pointer";

pointer: string,
value: Json,
value: Json | undefined,
type: JsonNodeType,

@@ -15,15 +15,15 @@ children: JsonNode[],

) => JsonNode;
export const get: (url: string, context: JsonNode) => JsonNode | undefined;
export const get: <T extends JsonNode>(url: string, context: T) => T | undefined;
export const uri: (node: JsonNode) => string;
export const value: <A>(node: JsonNode) => A;
export const has: (key: string, node: JsonNode) => boolean;
export const typeOf: (node: JsonNode) => JsonType;
export const step: (key: string, node: JsonNode) => JsonNode;
export const iter: (node: JsonNode) => Generator<JsonNode>;
export const keys: (node: JsonNode) => Generator<JsonNode>;
export const values: (node: JsonNode) => Generator<JsonNode>;
export const entries: (node: JsonNode) => Generator<[JsonNode, JsonNode]>;
export const length: (node: JsonNode) => number;
export const typeOf: (node: JsonNode) => JsonNodeType;
export const step: <T extends JsonNode>(key: string, node: T) => T | undefined;
export const iter: <T extends JsonNode>(node: T) => Generator<T>;
export const keys: <T extends JsonNode>(node: T) => Generator<T>;
export const values: <T extends JsonNode>(node: T) => Generator<T>;
export const entries: <T extends JsonNode>(node: T) => Generator<[T, T]>;
export const length: <T extends JsonNode>(node: T) => number;
export const allNodes: (node: JsonNode) => Generator<JsonNode>;
export const allNodes: <T extends JsonNode>(node: T) => Generator<T>;

@@ -30,0 +30,0 @@ export type JsonNode = {

{
"name": "@hyperjump/json-schema",
"version": "1.9.6",
"version": "1.9.7",
"description": "A JSON Schema validator with support for custom keywords, vocabularies, and dialects",

@@ -5,0 +5,0 @@ "type": "module",

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