Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@markuplint/ml-ast

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/ml-ast - npm Package Compare versions

Comparing version 1.6.0 to 2.0.0-dev.36

2

lib/index.js
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc