@markuplint/ml-core
Advanced tools
Comparing version 2.1.0 to 2.1.1-dev.20220307.0
@@ -13,3 +13,3 @@ import type { MLFabric } from './types'; | ||
constructor({ parser, sourceCode, ruleset, rules, locale, schemas, parserOptions, filename, debug }: MLCoreParams); | ||
get document(): Document<RuleConfigValue, unknown> | ParserError; | ||
get document(): ParserError | Document<RuleConfigValue, unknown>; | ||
verify(fix?: boolean): Promise<Violation[]>; | ||
@@ -16,0 +16,0 @@ setCode(sourceCode: string): void; |
import type MLDOMAbstractElement from '../tokens/abstract-element'; | ||
export declare type Specificity = [number, number, number]; | ||
export declare function createSelector(selector: string, tagNameCaseSensitive?: boolean): Selector; | ||
export declare function compareSpecificity(a: Specificity, b: Specificity): 1 | -1 | 0; | ||
export declare function compareSpecificity(a: Specificity, b: Specificity): 1 | 0 | -1; | ||
declare type TargetElement = MLDOMAbstractElement<any, any>; | ||
@@ -6,0 +6,0 @@ declare class Selector { |
{ | ||
"name": "@markuplint/ml-core", | ||
"version": "2.1.0", | ||
"version": "2.1.1-dev.20220307.0", | ||
"description": "The core module of markuplint", | ||
@@ -34,3 +34,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
}, | ||
"gitHead": "b76084dbdb538119a29fd07b19110ef7d3a44670" | ||
"gitHead": "ea7e2765ab6e1f91e8aa49932ab26fb57c2425d4" | ||
} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
201008
2