@markuplint/html-parser
Advanced tools
Comparing version 2.0.0-rc.6 to 2.0.0
import type { MLASTNode } from '@markuplint/ml-ast'; | ||
export declare function createTree(rawCode: string, isFragment: boolean, offsetOffset: number, offsetLine: number, offsetColumn: number): MLASTNode[]; | ||
export declare function createTree( | ||
rawCode: string, | ||
isFragment: boolean, | ||
offsetOffset: number, | ||
offsetLine: number, | ||
offsetColumn: number, | ||
): MLASTNode[]; |
import type { MLASTAttr, MLToken } from '@markuplint/ml-ast'; | ||
declare type TagTokens = { | ||
tagName: string; | ||
attrs: MLASTAttr[]; | ||
selfClosingSolidus: MLToken; | ||
endSpace: MLToken; | ||
tagName: string; | ||
attrs: MLASTAttr[]; | ||
selfClosingSolidus: MLToken; | ||
endSpace: MLToken; | ||
}; | ||
export default function parseRawTag(raw: string, startLine: number, startCol: number, startOffset: number, offsetOffset?: number, offsetLine?: number, offsetColumn?: number): TagTokens; | ||
export default function parseRawTag( | ||
raw: string, | ||
startLine: number, | ||
startCol: number, | ||
startOffset: number, | ||
offsetOffset?: number, | ||
offsetLine?: number, | ||
offsetColumn?: number, | ||
): TagTokens; | ||
export {}; |
export interface N { | ||
type: 'text' | 'starttag' | 'endtag' | 'comment' | 'boguscomment'; | ||
raw: string; | ||
line: number; | ||
col: number; | ||
type: 'text' | 'starttag' | 'endtag' | 'comment' | 'boguscomment'; | ||
raw: string; | ||
line: number; | ||
col: number; | ||
} | ||
export default function tagSplitter(raw: string, line: number, col: number): N[]; |
{ | ||
"name": "@markuplint/html-parser", | ||
"version": "2.0.0-rc.6", | ||
"version": "2.0.0", | ||
"description": "HTML parser for markuplint", | ||
@@ -20,11 +20,11 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
"devDependencies": { | ||
"@types/parse5": "^6.0.2" | ||
"@types/parse5": "^6.0.3" | ||
}, | ||
"dependencies": { | ||
"@markuplint/ml-ast": "2.0.0-rc.6", | ||
"@markuplint/parser-utils": "2.0.0-rc.6", | ||
"@markuplint/ml-ast": "2.0.0", | ||
"@markuplint/parser-utils": "2.0.0", | ||
"parse5": "^6.0.1", | ||
"tslib": "^2.3.1" | ||
}, | ||
"gitHead": "7c93367a86f935f6b94780b1fa14f3293f900b87" | ||
"gitHead": "de81fc514acdf472f87184e3499e9364258f9b66" | ||
} |
@@ -9,4 +9,2 @@ # @markuplint/html-parser | ||
Prerequisites: [Node.js](https://nodejs.org) (Version 12.4.0 or later) | ||
```sh | ||
@@ -17,14 +15,1 @@ $ npm install @markuplint/html-parser | ||
``` | ||
## Contributing | ||
``` | ||
$ git clone git@github.com:markuplint/markuplint.git -b main | ||
$ yarn | ||
$ yarn build | ||
$ yarn test | ||
``` | ||
--- | ||
Copyright © 2021 markuplint. Under the MIT License. |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
920
1
81389
14
+ Added@markuplint/ml-ast@2.0.0(transitive)
+ Added@markuplint/parser-utils@2.0.0(transitive)
+ Added@markuplint/types@2.0.0(transitive)
- Removed@markuplint/ml-ast@2.0.0-rc.6(transitive)
- Removed@markuplint/parser-utils@2.0.0-rc.6(transitive)
- Removed@markuplint/types@2.0.0-rc.6(transitive)
Updated@markuplint/ml-ast@2.0.0