@markuplint/types 4.6.0 → 4.6.2

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,25 +3,28 @@
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.0](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.4...@markuplint/types@4.6.0) (2024-09-23)
7
-
8
-
9
- ### Features
6
+ ## [4.6.2](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.6.1...@markuplint/types@4.6.2) (2024-10-15)
10
7
 
11
- * **types:** avoid parsing and simply accept any value when the CSS includes `var()` ([5817693](https://github.com/markuplint/markuplint/commit/5817693cfcd1a253c627db323505e4b515f69395))
12
- * **types:** update types according to CSSTree ([c4d97f9](https://github.com/markuplint/markuplint/commit/c4d97f9571dd2b93462e9dd51c01ecf4f95caf08))
8
+ **Note:** Version bump only for package @markuplint/types
13
9
 
14
10
 
15
11
 
16
12
 
17
13
 
18
- ## [4.5.4](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.3...@markuplint/types@4.5.4) (2024-09-02)
14
+ ## [4.6.1](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.6.0...@markuplint/types@4.6.1) (2024-10-14)
19
15
 
20
16
  **Note:** Version bump only for package @markuplint/types
21
17
 
18
+ # [4.6.0](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.4...@markuplint/types@4.6.0) (2024-09-23)
22
19
 
20
+ ### Features
23
21
 
22
+ - **types:** avoid parsing and simply accept any value when the CSS includes `var()` ([5817693](https://github.com/markuplint/markuplint/commit/5817693cfcd1a253c627db323505e4b515f69395))
23
+ - **types:** update types according to CSSTree ([c4d97f9](https://github.com/markuplint/markuplint/commit/c4d97f9571dd2b93462e9dd51c01ecf4f95caf08))
24
24
 
25
+ ## [4.5.4](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.3...@markuplint/types@4.5.4) (2024-09-02)
26
+
27
+ **Note:** Version bump only for package @markuplint/types
25
28
 
26
29
  ## [4.5.3](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.2...@markuplint/types@4.5.3) (2024-06-25)
27
30
 
@@ -1,2 +1,2 @@
1
1
  import type { CustomSyntaxCheck, UnmatchedResult } from './types.js';
2
- export declare function checkMultiTypes(value: string, checks: readonly CustomSyntaxCheck[]): import("./types.js").MatchedResult | UnmatchedResult;
2
+ export declare function checkMultiTypes(value: string, checks: readonly CustomSyntaxCheck[]): UnmatchedResult | import("./types.js").MatchedResult;
@@ -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) => MatchedResult | UnmatchedResult;
5
+ }): (value: string) => UnmatchedResult | MatchedResult;
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
- }): import("../types.js").MatchedResult | UnmatchedResult;
27
+ }): UnmatchedResult | import("../types.js").MatchedResult;
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.0",
3
+ "version": "4.6.2",
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.5",
32
+ "@markuplint/shared": "4.4.7",
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": "05d2eabfcc41b67847c24049f12dd2b9f5ca6485"
43
+ "gitHead": "c8c82d36c2e48d191091cbc22ca1b99ed0704b9f"
44
44
  }