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

ajv-errors

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ajv-errors - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "ajv-errors",
"version": "0.1.0",
"version": "0.1.1",
"description": "Custom error messages in JSON-Schema for Ajv validator",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -46,3 +46,3 @@ 'use strict';

assert.strictEqual(err.dataPath, '');
assert.strictEqual(err.schemaPath, '#');
assert.strictEqual(err.schemaPath, '#/errorMessage');
var replacedKeywords = err.params.errors.map(function (e) {

@@ -49,0 +49,0 @@ return e.keyword;

@@ -39,3 +39,3 @@ 'use strict';

assert.strictEqual(err.dataPath, '');
assert.strictEqual(err.schemaPath, '#');
assert.strictEqual(err.schemaPath, '#/errorMessage');
var replacedKeywords = err.params.errors.map(function (e) {

@@ -42,0 +42,0 @@ return e.keyword;

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