@markuplint/types
Advanced tools
Comparing version 4.6.0 to 4.6.1
@@ -6,14 +6,17 @@ # Change Log | ||
# [4.6.0](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.4...@markuplint/types@4.6.0) (2024-09-23) | ||
## [4.6.1](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.6.0...@markuplint/types@4.6.1) (2024-10-14) | ||
**Note:** Version bump only for package @markuplint/types | ||
### Features | ||
* **types:** avoid parsing and simply accept any value when the CSS includes `var()` ([5817693](https://github.com/markuplint/markuplint/commit/5817693cfcd1a253c627db323505e4b515f69395)) | ||
* **types:** update types according to CSSTree ([c4d97f9](https://github.com/markuplint/markuplint/commit/c4d97f9571dd2b93462e9dd51c01ecf4f95caf08)) | ||
# [4.6.0](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.4...@markuplint/types@4.6.0) (2024-09-23) | ||
### Features | ||
- **types:** avoid parsing and simply accept any value when the CSS includes `var()` ([5817693](https://github.com/markuplint/markuplint/commit/5817693cfcd1a253c627db323505e4b515f69395)) | ||
- **types:** update types according to CSSTree ([c4d97f9](https://github.com/markuplint/markuplint/commit/c4d97f9571dd2b93462e9dd51c01ecf4f95caf08)) | ||
## [4.5.4](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.3...@markuplint/types@4.5.4) (2024-09-02) | ||
@@ -23,6 +26,2 @@ | ||
## [4.5.3](https://github.com/markuplint/markuplint/compare/@markuplint/types@4.5.2...@markuplint/types@4.5.3) (2024-06-25) | ||
@@ -29,0 +28,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.6.0", | ||
"version": "4.6.1", | ||
"description": "Type declaration and value checker", | ||
@@ -32,3 +32,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
"dependencies": { | ||
"@markuplint/shared": "4.4.5", | ||
"@markuplint/shared": "4.4.6", | ||
"@types/css-tree": "2.3.8", | ||
@@ -44,3 +44,3 @@ "@types/debug": "4.1.12", | ||
}, | ||
"gitHead": "05d2eabfcc41b67847c24049f12dd2b9f5ca6485" | ||
"gitHead": "e59d4e8b762c66c7e3fb8b0a0d9d99d5160b0afa" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
240520
+ Added@markuplint/shared@4.4.6(transitive)
- Removed@markuplint/shared@4.4.5(transitive)
Updated@markuplint/shared@4.4.6