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

@squiz/dx-json-schema-lib

Package Overview
Dependencies
Maintainers
39
Versions
489
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@squiz/dx-json-schema-lib - npm Package Compare versions

Comparing version 1.12.0-alpha.3 to 1.12.0-alpha.4

3

lib/errors/SchemaValidationError.d.ts

@@ -1,4 +0,3 @@

import { IOutputError } from 'better-ajv-errors';
export declare class SchemaValidationError extends Error {
constructor(validationErrors: IOutputError[] | string, error?: Error);
constructor(message: string, error?: Error);
}

@@ -5,10 +5,3 @@ "use strict";

class SchemaValidationError extends Error {
constructor(validationErrors, error) {
let message;
if (typeof validationErrors != 'string') {
message = validationErrors.map((e) => e.error).join(', ');
}
else {
message = validationErrors;
}
constructor(message, error) {
super(`failed validation: ${message}`);

@@ -15,0 +8,0 @@ this.stack = error === null || error === void 0 ? void 0 : error.stack;

"use strict";
/* tslint:disable */
/* eslint-disable */
/**

@@ -4,0 +4,0 @@ * This file was automatically generated by json-schema-to-typescript.

"use strict";
/* tslint:disable */
/* eslint-disable */
/**

@@ -4,0 +4,0 @@ * This file was automatically generated by json-schema-to-typescript.

{
"name": "@squiz/dx-json-schema-lib",
"version": "1.12.0-alpha.3",
"version": "1.12.0-alpha.4",
"description": "",

@@ -16,9 +16,9 @@ "main": "lib/index.js",

"devDependencies": {
"@types/express": "4.17.14",
"@types/express": "4.17.17",
"@types/jest": "28.1.8",
"@types/node": "17.0.27",
"dotenv": "16.0.3",
"jest": "28.1.3",
"json-schema-to-typescript": "11.0.2",
"rimraf": "3.0.2",
"jest": "29.4.1",
"json-schema-to-typescript": "11.0.3",
"rimraf": "4.1.2",
"ts-jest": "28.0.8",

@@ -31,8 +31,5 @@ "ts-loader": "9.3.1",

"@sagold/json-query": "6.0.0",
"ajv": "8.11.2",
"ajv-formats": "2.1.1",
"better-ajv-errors": "1.2.0",
"json-schema-library": "7.4.4"
"json-schema-library": "7.4.5"
},
"gitHead": "72afcbb92d39d57e19f26efe59aab71611c7d819"
"gitHead": "b07c2d33f579e2603c2bbb88a9cfe8073be76ba5"
}

@@ -1,13 +0,3 @@

import { IOutputError } from 'better-ajv-errors';
export class SchemaValidationError extends Error {
constructor(validationErrors: IOutputError[] | string, error?: Error) {
let message: string;
if (typeof validationErrors != 'string') {
message = validationErrors.map((e) => e.error).join(', ');
} else {
message = validationErrors;
}
constructor(message: string, error?: Error) {
super(`failed validation: ${message}`);

@@ -14,0 +4,0 @@ this.stack = error?.stack;

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

/* tslint:disable */
/* eslint-disable */
/**

@@ -3,0 +3,0 @@ * This file was automatically generated by json-schema-to-typescript.

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

/* tslint:disable */
/* eslint-disable */
/**

@@ -3,0 +3,0 @@ * This file was automatically generated by json-schema-to-typescript.

Sorry, the diff of this file is not supported yet

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