@markuplint/types 5.0.0-dev.5 → 5.0.0-rc.1
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 +8 -0
- package/lib/token/token.d.ts +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
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
|
+
# [5.0.0-rc.1](https://github.com/markuplint/markuplint/compare/v5.0.0-rc.0...v5.0.0-rc.1) (2026-03-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @markuplint/types
|
|
9
|
+
|
|
10
|
+
# [5.0.0-rc.0](https://github.com/markuplint/markuplint/compare/v5.0.0-alpha.3...v5.0.0-rc.0) (2026-03-12)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @markuplint/types
|
|
13
|
+
|
|
6
14
|
# [5.0.0-alpha.3](https://github.com/markuplint/markuplint/compare/v5.0.0-alpha.2...v5.0.0-alpha.3) (2026-02-26)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @markuplint/types
|
package/lib/token/token.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export declare class Token {
|
|
|
51
51
|
* @param separators - Optional separator characters to detect
|
|
52
52
|
* @returns The token type number (WhiteSpace, Comma, or Ident)
|
|
53
53
|
*/
|
|
54
|
-
static getType(value: string, separators?: readonly string[]): 1 |
|
|
54
|
+
static getType(value: string, separators?: readonly string[]): 1 | 18 | 13;
|
|
55
55
|
/**
|
|
56
56
|
* Calculates a new position by shifting from a token's offset.
|
|
57
57
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/types",
|
|
3
|
-
"version": "5.0.0-
|
|
3
|
+
"version": "5.0.0-rc.1",
|
|
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>",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"schema:prettier": "npx prettier --write \"./src/types.schema.ts\" \"./types.schema.json\" --log-level warn"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@markuplint/shared": "5.0.0-
|
|
35
|
+
"@markuplint/shared": "5.0.0-rc.1",
|
|
36
36
|
"@types/css-tree": "2.3.11",
|
|
37
|
-
"@types/debug": "4.1.
|
|
37
|
+
"@types/debug": "4.1.13",
|
|
38
38
|
"bcp-47": "2.1.0",
|
|
39
|
-
"css-tree": "3.1
|
|
39
|
+
"css-tree": "3.2.1",
|
|
40
40
|
"debug": "4.4.3",
|
|
41
41
|
"leven": "4.1.0",
|
|
42
|
-
"type-fest": "5.
|
|
42
|
+
"type-fest": "5.5.0",
|
|
43
43
|
"whatwg-mimetype": "5.0.0"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "0d6b4324d9a7d6b9e1ba57d4a57e45d36975cba9"
|
|
46
46
|
}
|