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

ajv-error-tree

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ajv-error-tree - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

8

lib/main.js

@@ -43,3 +43,3 @@ const { strict: Assert } = require("assert");

if (depth === 0) {
return Array.isArray(any) ? "[array]" : "[object]";
return Array.isArray(any) ? "... (array)" : "... (object)";
}

@@ -73,4 +73,4 @@ if (Array.isArray(any)) {

return {
message: message,
children: error.children.map(visit),
".": message,
"+": error.children.map(visit),
};

@@ -86,3 +86,3 @@ };

schema: {
path: error.schemaPath,
path: error.schemaPath.substring(1, Infinity),
data: strip(error.parentSchema, options["schema-depth"]),

@@ -89,0 +89,0 @@ },

{
"name": "ajv-error-tree",
"version": "0.0.0",
"version": "0.0.1",
"scripts": {

@@ -23,4 +23,5 @@ "test": "node test/test.js",

"prettier": "^2.3.1",
"treeify": "^1.1.0",
"yaml": "^1.10.2"
}
}
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