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

@codama/validators

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codama/validators - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

6

dist/types/ValidationItem.d.ts
import { Node } from '@codama/nodes';
import { NodeStack } from '@codama/visitors-core';
import { NodePath, NodeStack } from '@codama/visitors-core';
export declare const LOG_LEVELS: readonly ["debug", "trace", "info", "warn", "error"];

@@ -9,6 +9,6 @@ export type LogLevel = (typeof LOG_LEVELS)[number];

node: Node;
stack: readonly Node[];
path: NodePath;
};
export declare function validationItem(level: LogLevel, message: string, node: Node, stack: Node[] | NodeStack): ValidationItem;
export declare function validationItem(level: LogLevel, message: string, node: Node, path: NodePath | NodeStack): ValidationItem;
export declare const getLevelIndex: (level: LogLevel) => number;
//# sourceMappingURL=ValidationItem.d.ts.map
{
"name": "@codama/validators",
"version": "1.0.0",
"version": "1.1.0",
"description": "Validator visitors for the Codama framework",

@@ -38,5 +38,5 @@ "exports": {

"dependencies": {
"@codama/nodes": "1.0.0",
"@codama/errors": "1.0.0",
"@codama/visitors-core": "1.0.0"
"@codama/errors": "1.1.0",
"@codama/visitors-core": "1.1.0",
"@codama/nodes": "1.1.0"
},

@@ -43,0 +43,0 @@ "license": "MIT",

@@ -39,4 +39,4 @@ # Codama ➤ Validators

node: Node;
// The stack of nodes that led to the node above.
stack: readonly Node[];
// The path of nodes that led to the node above (including the node itself).
path: NodePath;
};

@@ -43,0 +43,0 @@ ```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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