You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

skhema

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skhema - npm Package Compare versions

Comparing version

to
6.0.5-joshbwlng-add-error-type-a7dc337166a74ad9570e30d2d10c91e00661d366

5

CHANGELOG.md

@@ -7,2 +7,7 @@ # Change Log

# v6.0.5
## (2022-03-04)
* Add type for SchemaMismatch error [Josh Bowling]
# v6.0.4

@@ -9,0 +14,0 @@ ## (2022-03-04)

3

lib/index.d.ts
import { JSONSchema6 } from 'json-schema';
import { TypedError } from 'typed-error';

@@ -34,1 +35,3 @@ export interface MatchOptions {

export declare function scoreMatch(schema: JSONSchema6, item: object): number;
export class SchemaMismatch extends TypedError {}

4

package.json
{
"name": "skhema",
"version": "6.0.4",
"version": "6.0.5-joshbwlng-add-error-type-a7dc337166a74ad9570e30d2d10c91e00661d366",
"description": "JSON Schema utility collection",

@@ -62,4 +62,4 @@ "main": "lib/index.js",

"versionist": {
"publishedAt": "2022-03-04T02:31:47.041Z"
"publishedAt": "2022-03-04T06:28:30.766Z"
}
}

Sorry, the diff of this file is not supported yet