@markuplint/types
Advanced tools
Comparing version 4.5.2-alpha.1 to 4.5.2
@@ -6,3 +6,3 @@ # Change Log | ||
## [4.5.2-alpha.1](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.2-alpha.0...@markuplint/types@4.5.2-alpha.1) (2024-06-02) | ||
## [4.5.2](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.1...@markuplint/types@4.5.2) (2024-06-09) | ||
@@ -18,6 +18,2 @@ | ||
## [4.5.2-alpha.0](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.1...@markuplint/types@4.5.2-alpha.0) (2024-06-02) | ||
**Note:** Version bump only for package @markuplint/types | ||
## [4.5.1](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.0...@markuplint/types@4.5.1) (2024-05-28) | ||
@@ -24,0 +20,0 @@ |
import type { CustomSyntaxCheck, UnmatchedResult } from './types.js'; | ||
export declare function checkMultiTypes(value: string, checks: readonly CustomSyntaxCheck[]): import("./types.js").MatchedResult | UnmatchedResult; | ||
export declare function checkMultiTypes(value: string, checks: readonly CustomSyntaxCheck[]): UnmatchedResult | import("./types.js").MatchedResult; |
@@ -5,3 +5,3 @@ import type { FormattedPrimitiveTypeCheck, MatchedResult, UnmatchedResult, UnmatchedResultOptions, UnmatchedResultReason } from './types.js'; | ||
readonly reason?: UnmatchedResultReason; | ||
}): (value: string) => MatchedResult | UnmatchedResult; | ||
}): (value: string) => UnmatchedResult | MatchedResult; | ||
export declare function matched(): MatchedResult; | ||
@@ -8,0 +8,0 @@ export declare function unmatched(value: string, reason?: UnmatchedResultReason, options?: UnmatchedResultOptions & { |
@@ -27,3 +27,3 @@ import type { TokenValue } from './types.js'; | ||
cache?: boolean; | ||
}): import("../types.js").MatchedResult | UnmatchedResult; | ||
}): UnmatchedResult | import("../types.js").MatchedResult; | ||
chunk(split: number): TokenCollection[]; | ||
@@ -30,0 +30,0 @@ compareTokens(callback: (prev: Readonly<Token>, current: Readonly<Token>) => Readonly<Token> | null | void): Readonly<Token> | null | undefined; |
@@ -33,3 +33,3 @@ import type { TokenValue } from './types.js'; | ||
}; | ||
static getType(value: string, separators?: readonly string[]): 1 | 13 | 18; | ||
static getType(value: string, separators?: readonly string[]): 1 | 18 | 13; | ||
static shiftLocation(token: Readonly<Token>, offset: number): { | ||
@@ -36,0 +36,0 @@ offset: number; |
{ | ||
"name": "@markuplint/types", | ||
"version": "4.5.2-alpha.1", | ||
"version": "4.5.2", | ||
"description": "Type declaration and value checker", | ||
@@ -26,3 +26,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
"schema": "run-s schema:types schema:schema build schema:prettier schema:eslint schema:prettier", | ||
"schema:types": "node --loader ts-node/esm \"./gen/types.ts\"", | ||
"schema:types": "tsx \"./gen/types.ts\"", | ||
"schema:schema": "json2ts \"./types.schema.json\" > \"./src/types.schema.ts\"", | ||
@@ -33,3 +33,3 @@ "schema:eslint": "eslint --fix \"./src/types.schema.ts\"", | ||
"dependencies": { | ||
"@markuplint/shared": "4.4.2-alpha.1", | ||
"@markuplint/shared": "4.4.2", | ||
"@types/css-tree": "2.3.7", | ||
@@ -42,6 +42,6 @@ "@types/debug": "4.1.12", | ||
"leven": "4.0.0", | ||
"type-fest": "4.18.3", | ||
"type-fest": "4.20.0", | ||
"whatwg-mimetype": "4.0.0" | ||
}, | ||
"gitHead": "938c2164b55ad729da47a1851dc396c0033de3f7" | ||
"gitHead": "0200dc1f7b1ffa7455b889696153e25dbae8241f" | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
233686
+ Added@markuplint/shared@4.4.2(transitive)
+ Addedtype-fest@4.20.0(transitive)
- Removed@markuplint/shared@4.4.2-alpha.1(transitive)
- Removedtype-fest@4.18.3(transitive)
Updated@markuplint/shared@4.4.2
Updatedtype-fest@4.20.0