@markuplint/types 4.5.2 → 4.5.3

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,16 +3,19 @@
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.5.2](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.1...@markuplint/types@4.5.2) (2024-06-09)
6
+ ## [4.5.3](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.2...@markuplint/types@4.5.3) (2024-06-25)
7
7
 
8
+ **Note:** Version bump only for package @markuplint/types
8
9
 
9
- ### Bug Fixes
10
10
 
11
- * fix to export type files ([eff4bbf](https://github.com/markuplint/markuplint/commit/eff4bbfd127574809dc5e15d7cafe87699758ee0))
12
11
 
13
12
 
14
13
 
14
+ ## [4.5.2](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.1...@markuplint/types@4.5.2) (2024-06-09)
15
+
16
+ ### Bug Fixes
15
17
 
18
+ - fix to export type files ([eff4bbf](https://github.com/markuplint/markuplint/commit/eff4bbfd127574809dc5e15d7cafe87699758ee0))
16
19
 
17
20
  ## [4.5.1](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.0...@markuplint/types@4.5.1) (2024-05-28)
18
21
 
@@ -1,2 +1,2 @@
1
1
  import type { CustomSyntaxCheck, UnmatchedResult } from './types.js';
2
- export declare function checkMultiTypes(value: string, checks: readonly CustomSyntaxCheck[]): UnmatchedResult | import("./types.js").MatchedResult;
2
+ export declare function checkMultiTypes(value: string, checks: readonly CustomSyntaxCheck[]): import("./types.js").MatchedResult | UnmatchedResult;
@@ -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) => UnmatchedResult | MatchedResult;
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
- }): UnmatchedResult | import("../types.js").MatchedResult;
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];
@@ -30,7 +30,7 @@ export declare class Token {
30
30
  line: number;
31
31
  column: number;
32
32
  };
33
- static getType(value: string, separators?: readonly string[]): 1 | 18 | 13;
33
+ static getType(value: string, separators?: readonly string[]): 1 | 13 | 18;
34
34
  static shiftLocation(token: Readonly<Token>, offset: number): {
35
35
  offset: number;
36
36
  line: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/types",
3
- "version": "4.5.2",
3
+ "version": "4.5.3",
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,16 +29,16 @@
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.2",
33
- "@types/css-tree": "2.3.7",
32
+ "@markuplint/shared": "4.4.3",
33
+ "@types/css-tree": "2.3.8",
34
34
  "@types/debug": "4.1.12",
35
35
  "@types/whatwg-mimetype": "3.0.2",
36
36
  "bcp-47": "2.1.0",
37
37
  "css-tree": "2.3.1",
38
38
  "debug": "4.3.5",
39
39
  "leven": "4.0.0",
40
- "type-fest": "4.20.0",
40
+ "type-fest": "4.20.1",
41
41
  "whatwg-mimetype": "4.0.0"
42
42
  },
43
- "gitHead": "0200dc1f7b1ffa7455b889696153e25dbae8241f"
43
+ "gitHead": "05fdca254661ec335ff0cae4c6a11db164b032b9"
44
44
  }