@markuplint/ml-ast
Advanced tools
Comparing version 1.6.0 to 2.0.0-dev.36
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./types"), exports); | ||
(0, tslib_1.__exportStar)(require("./types"), exports); |
@@ -11,11 +11,3 @@ export interface MLToken { | ||
} | ||
export declare enum MLASTNodeType { | ||
Doctype = "doctype", | ||
StartTag = "starttag", | ||
EndTag = "endtag", | ||
Comment = "comment", | ||
Text = "text", | ||
OmittedTag = "omittedtag", | ||
PreprocessorSpecificBlock = "psblock" | ||
} | ||
export declare type MLASTNodeType = 'doctype' | 'starttag' | 'endtag' | 'comment' | 'text' | 'omittedtag' | 'psblock'; | ||
export declare type MLASTNode = MLASTDoctype | MLASTTag | MLASTComment | MLASTText | MLASTPreprocessorSpecificBlock; | ||
@@ -32,3 +24,3 @@ export interface MLASTAbstructNode extends MLToken { | ||
export interface MLASTDoctype extends MLASTAbstructNode { | ||
type: MLASTNodeType.Doctype; | ||
type: 'doctype'; | ||
name: string; | ||
@@ -39,3 +31,3 @@ publicId: string; | ||
export interface MLASTElement extends MLASTAbstructNode { | ||
type: MLASTNodeType.StartTag; | ||
type: 'starttag'; | ||
namespace: string; | ||
@@ -53,3 +45,3 @@ attributes: MLASTAttr[]; | ||
export interface MLASTElementCloseTag extends MLASTAbstructNode { | ||
type: MLASTNodeType.EndTag; | ||
type: 'endtag'; | ||
namespace: string; | ||
@@ -64,3 +56,3 @@ attributes: MLASTAttr[]; | ||
export interface MLASTOmittedElement extends MLASTAbstructNode { | ||
type: MLASTNodeType.OmittedTag; | ||
type: 'omittedtag'; | ||
namespace: string; | ||
@@ -71,3 +63,3 @@ childNodes?: MLASTNode[]; | ||
export interface MLASTPreprocessorSpecificBlock extends MLASTAbstructNode { | ||
type: MLASTNodeType.PreprocessorSpecificBlock; | ||
type: 'psblock'; | ||
nodeName: string; | ||
@@ -83,6 +75,6 @@ parentNode: MLASTParentNode | null; | ||
export interface MLASTComment extends MLASTAbstructNode { | ||
type: MLASTNodeType.Comment; | ||
type: 'comment'; | ||
} | ||
export interface MLASTText extends MLASTAbstructNode { | ||
type: MLASTNodeType.Text; | ||
type: 'text'; | ||
} | ||
@@ -100,3 +92,2 @@ export declare type MLASTAttr = MLASTHTMLAttr | MLASTPreprocessorSpecificAttr; | ||
endQuote: MLToken; | ||
isInvalid: boolean; | ||
isDynamicValue?: true; | ||
@@ -103,0 +94,0 @@ isDirective?: true; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.MLASTNodeType = void 0; | ||
var MLASTNodeType; | ||
(function (MLASTNodeType) { | ||
MLASTNodeType["Doctype"] = "doctype"; | ||
MLASTNodeType["StartTag"] = "starttag"; | ||
MLASTNodeType["EndTag"] = "endtag"; | ||
MLASTNodeType["Comment"] = "comment"; | ||
MLASTNodeType["Text"] = "text"; | ||
MLASTNodeType["OmittedTag"] = "omittedtag"; | ||
MLASTNodeType["PreprocessorSpecificBlock"] = "psblock"; | ||
})(MLASTNodeType = exports.MLASTNodeType || (exports.MLASTNodeType = {})); |
{ | ||
"name": "@markuplint/ml-ast", | ||
"version": "1.6.0", | ||
"version": "2.0.0-dev.36+6a10aede", | ||
"description": "The markuplint AST types.", | ||
@@ -18,6 +18,3 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
}, | ||
"dependencies": { | ||
"tslib": "^2.3.0" | ||
}, | ||
"gitHead": "94955520e9fad6a45e8831c47f6b8b342b77efdc" | ||
"gitHead": "6a10aede7385e2e97d0ba2c272a2e8c08e5429fd" | ||
} |
{ | ||
"extends": "../../../tsconfig.json", | ||
"compilerOptions": { | ||
"composite": true | ||
}, | ||
"include": ["./src/**/*"], | ||
"exclude": ["node_modules"] | ||
"extends": "../../../tsconfig.json" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
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
0
42279
118
2
1
0
32
- Removedtslib@^2.3.0
- Removedtslib@2.8.1(transitive)