@codama/validators
Advanced tools
Comparing version 1.0.0 to 1.1.0
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167191
+ Added@codama/errors@1.1.0(transitive)
+ Added@codama/node-types@1.1.0(transitive)
+ Added@codama/nodes@1.1.0(transitive)
+ Added@codama/visitors-core@1.1.0(transitive)
- Removed@codama/errors@1.0.0(transitive)
- Removed@codama/node-types@1.0.0(transitive)
- Removed@codama/nodes@1.0.0(transitive)
- Removed@codama/visitors-core@1.0.0(transitive)
Updated@codama/errors@1.1.0
Updated@codama/nodes@1.1.0
Updated@codama/visitors-core@1.1.0