@markuplint/types 4.6.2 → 4.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [4.6.
|
|
6
|
+
## [4.6.4](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.6.3...@markuplint/types@4.6.4) (2024-10-28)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @markuplint/types
|
|
9
9
|
|
|
10
|
+
## [4.6.3](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.6.2...@markuplint/types@4.6.3) (2024-10-27)
|
|
10
11
|
|
|
12
|
+
**Note:** Version bump only for package @markuplint/types
|
|
11
13
|
|
|
14
|
+
## [4.6.2](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.6.1...@markuplint/types@4.6.2) (2024-10-15)
|
|
12
15
|
|
|
16
|
+
**Note:** Version bump only for package @markuplint/types
|
|
13
17
|
|
|
14
18
|
## [4.6.1](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.6.0...@markuplint/types@4.6.1) (2024-10-14)
|
|
15
19
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { CustomSyntaxCheck, UnmatchedResult } from './types.js';
|
|
2
|
-
export declare function checkMultiTypes(value: string, checks: readonly CustomSyntaxCheck[]):
|
|
2
|
+
export declare function checkMultiTypes(value: string, checks: readonly CustomSyntaxCheck[]): import("./types.js").MatchedResult | UnmatchedResult;
|
package/lib/match-result.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { FormattedPrimitiveTypeCheck, MatchedResult, UnmatchedResult, Unmat
|
|
|
2
2
|
export declare function matches(checker: FormattedPrimitiveTypeCheck, options?: UnmatchedResultOptions & {
|
|
3
3
|
readonly ref?: string;
|
|
4
4
|
readonly reason?: UnmatchedResultReason;
|
|
5
|
-
}): (value: string) =>
|
|
5
|
+
}): (value: string) => MatchedResult | UnmatchedResult;
|
|
6
6
|
export declare function matched(): MatchedResult;
|
|
7
7
|
export declare function unmatched(value: string, reason?: UnmatchedResultReason, options?: UnmatchedResultOptions & {
|
|
8
8
|
readonly ref?: string;
|
|
@@ -24,7 +24,7 @@ export declare class TokenCollection extends Array<Token> {
|
|
|
24
24
|
expects?: Expect[];
|
|
25
25
|
ref?: string;
|
|
26
26
|
cache?: boolean;
|
|
27
|
-
}):
|
|
27
|
+
}): import("../types.js").MatchedResult | UnmatchedResult;
|
|
28
28
|
chunk(split: number): TokenCollection[];
|
|
29
29
|
compareTokens(callback: (prev: Readonly<Token>, current: Readonly<Token>) => Readonly<Token> | null | void): Readonly<Token> | null | undefined;
|
|
30
30
|
divide(position: number): readonly [TokenCollection, TokenCollection];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/types",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.4",
|
|
4
4
|
"description": "Type declaration and value checker",
|
|
5
5
|
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
6
|
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"schema:prettier": "prettier --write \"./src/types.schema.ts\" \"./types.schema.json\" --log-level warn"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@markuplint/shared": "4.4.
|
|
32
|
+
"@markuplint/shared": "4.4.9",
|
|
33
33
|
"@types/css-tree": "2.3.8",
|
|
34
34
|
"@types/debug": "4.1.12",
|
|
35
35
|
"@types/whatwg-mimetype": "3.0.2",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"type-fest": "4.26.1",
|
|
41
41
|
"whatwg-mimetype": "4.0.0"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "60a8a7149bd4441e89972ca21b90033afb05b89e"
|
|
44
44
|
}
|