@markuplint/parser-utils
Advanced tools
Comparing version 3.6.1 to 3.7.0
@@ -1,1 +0,1 @@ | ||
export declare function getSpaceBefore(offset: number, rawCode: string): import("@markuplint/ml-ast").MLToken; | ||
export declare function getSpaceBefore(offset: number, rawCode: string): import('@markuplint/ml-ast').MLToken; |
import type { MLASTHTMLAttr } from '@markuplint/ml-ast'; | ||
type ParseAttrOptions = { | ||
readonly booleanish?: boolean; | ||
readonly valueDelimiters?: readonly ValueDelimiter[]; | ||
readonly equal?: string; | ||
readonly booleanish?: boolean; | ||
readonly valueDelimiters?: readonly ValueDelimiter[]; | ||
readonly equal?: string; | ||
}; | ||
type ValueDelimiter = { | ||
readonly start: string; | ||
readonly end: string; | ||
readonly start: string; | ||
readonly end: string; | ||
}; | ||
export declare const defaultValueDelimiters: readonly ValueDelimiter[]; | ||
export declare function parseAttr(raw: string, offset: number, html: string, options?: ParseAttrOptions): MLASTHTMLAttr; | ||
export declare function tokenize(raw: string, options?: ParseAttrOptions): { | ||
beforeName: string; | ||
name: string; | ||
afterName: string; | ||
equal: string; | ||
beforeValue: string; | ||
startQuote: string; | ||
value: string; | ||
endQuote: string; | ||
afterAttr: string; | ||
export declare function tokenize( | ||
raw: string, | ||
options?: ParseAttrOptions, | ||
): { | ||
beforeName: string; | ||
name: string; | ||
afterName: string; | ||
equal: string; | ||
beforeValue: string; | ||
startQuote: string; | ||
value: string; | ||
endQuote: string; | ||
afterAttr: string; | ||
}; | ||
export {}; |
{ | ||
"name": "@markuplint/parser-utils", | ||
"version": "3.6.1", | ||
"version": "3.7.0", | ||
"description": "Utility module for markuplint parser plugin", | ||
@@ -21,10 +21,8 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
}, | ||
"devDependencies": { | ||
"@types/uuid": "^9.0.0", | ||
"type-fest": "^3.7.0" | ||
}, | ||
"dependencies": { | ||
"@markuplint/ml-ast": "3.1.0", | ||
"@markuplint/types": "3.5.1", | ||
"@markuplint/types": "3.6.0", | ||
"@types/uuid": "^9.0.0", | ||
"tslib": "^2.4.1", | ||
"type-fest": "^3.8.0", | ||
"uuid": "^9.0.0" | ||
@@ -35,3 +33,3 @@ }, | ||
}, | ||
"gitHead": "3cdf5a088b2da03773d5d4461d0e65ec32290a00" | ||
"gitHead": "adc6e432cccba7cfad0dc8bf9f92e5aaf1107359" | ||
} |
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
76321
0
49
2229
7
+ Added@types/uuid@^9.0.0
+ Addedtype-fest@^3.8.0
+ Added@markuplint/types@3.6.0(transitive)
+ Added@types/whatwg-mimetype@3.0.0(transitive)
+ Addedtype-fest@3.13.1(transitive)
- Removed@markuplint/types@3.5.1(transitive)
- Removedwhatwg-mimetype@2.3.0(transitive)
Updated@markuplint/types@3.6.0