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

@markuplint/ml-core

Package Overview
Dependencies
Maintainers
1
Versions
201
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@markuplint/ml-core - npm Package Compare versions

Comparing version 1.0.0-alpha.14 to 1.0.0-alpha.15

2

lib/index.d.ts

@@ -7,3 +7,3 @@ export { RuleInfo, Result, RuleConfig, RuleConfigValue } from '@markuplint/ml-config';

export { default as Ruleset } from './ruleset';
export { Attribute, Comment, Doctype, Document, Element, ElementCloseTag, InvalidNode, Node, OmittedElement, Text, } from './ml-dom';
export { Attribute, Comment, Doctype, Document, Element, ElementCloseTag, Node, OmittedElement, Text } from './ml-dom';
export { getLocationFromChars } from './utils';

@@ -20,3 +20,2 @@ "use strict";

exports.ElementCloseTag = ml_dom_1.ElementCloseTag;
exports.InvalidNode = ml_dom_1.InvalidNode;
exports.Node = ml_dom_1.Node;

@@ -23,0 +22,0 @@ exports.OmittedElement = ml_dom_1.OmittedElement;

@@ -23,5 +23,2 @@ "use strict";

}
case ml_ast_1.MLASTNodeType.InvalidNode: {
return new tokens_1.MLDOMInvalidNode(_astNode, document);
}
case ml_ast_1.MLASTNodeType.OmittedTag: {

@@ -28,0 +25,0 @@ return new tokens_1.MLDOMOmittedElement(_astNode, document);

@@ -1,4 +0,4 @@

import { MLASTAbstructNode, MLASTAttr, MLASTComment, MLASTDoctype, MLASTElement, MLASTElementCloseTag, MLASTInvalidNode, MLASTNode, MLASTOmittedElement, MLASTParentNode, MLASTText, MLToken } from '@markuplint/ml-ast/';
import { MLDOMAttribute, MLDOMComment, MLDOMDoctype, MLDOMElement, MLDOMElementCloseTag, MLDOMInvalidNode, MLDOMNode, MLDOMOmittedElement, MLDOMText, MLDOMToken } from '../tokens';
import { MLASTAbstructNode, MLASTAttr, MLASTComment, MLASTDoctype, MLASTElement, MLASTElementCloseTag, MLASTNode, MLASTOmittedElement, MLASTParentNode, MLASTText, MLToken } from '@markuplint/ml-ast/';
import { MLDOMAttribute, MLDOMComment, MLDOMDoctype, MLDOMElement, MLDOMElementCloseTag, MLDOMNode, MLDOMOmittedElement, MLDOMText, MLDOMToken } from '../tokens';
import { RuleConfigValue } from '@markuplint/ml-config';
export declare type MappedNode<N, T extends RuleConfigValue, O = null> = N extends MLASTElement ? MLDOMElement<T, O> : N extends MLASTElementCloseTag ? MLDOMElementCloseTag<T, O> : N extends MLASTOmittedElement ? MLDOMOmittedElement<T, O> : N extends MLASTParentNode ? (MLDOMElement<T, O> | MLDOMOmittedElement<T, O>) : N extends MLASTComment ? MLDOMComment<T, O> : N extends MLASTText ? MLDOMText<T, O> : N extends MLASTInvalidNode ? MLDOMInvalidNode<T, O> : N extends MLASTDoctype ? MLDOMDoctype<T, O> : N extends MLASTNode ? MLDOMNode<T, O, MLASTNode> : N extends MLASTAbstructNode ? MLDOMNode<T, O, MLASTAbstructNode> : N extends MLASTAttr ? MLDOMAttribute : N extends MLToken ? MLDOMToken<MLToken> : never;
export declare type MappedNode<N, T extends RuleConfigValue, O = null> = N extends MLASTElement ? MLDOMElement<T, O> : N extends MLASTElementCloseTag ? MLDOMElementCloseTag<T, O> : N extends MLASTOmittedElement ? MLDOMOmittedElement<T, O> : N extends MLASTParentNode ? (MLDOMElement<T, O> | MLDOMOmittedElement<T, O>) : N extends MLASTComment ? MLDOMComment<T, O> : N extends MLASTText ? MLDOMText<T, O> : N extends MLASTDoctype ? MLDOMDoctype<T, O> : N extends MLASTNode ? MLDOMNode<T, O, MLASTNode> : N extends MLASTAbstructNode ? MLDOMNode<T, O, MLASTAbstructNode> : N extends MLASTAttr ? MLDOMAttribute : N extends MLToken ? MLDOMToken<MLToken> : never;
export { default as Document } from './document';
export { AnonymousNode, NodeType } from './types';
export { MLDOMAttribute as Attribute, MLDOMComment as Comment, MLDOMDoctype as Doctype, MLDOMElement as Element, MLDOMElementCloseTag as ElementCloseTag, MLDOMInvalidNode as InvalidNode, MLDOMNode as Node, MLDOMOmittedElement as OmittedElement, MLDOMText as Text, MLDOMIndentation as Indentation, } from './tokens';
export { MLDOMAttribute as Attribute, MLDOMComment as Comment, MLDOMDoctype as Doctype, MLDOMElement as Element, MLDOMElementCloseTag as ElementCloseTag, MLDOMNode as Node, MLDOMOmittedElement as OmittedElement, MLDOMText as Text, MLDOMIndentation as Indentation, } from './tokens';

@@ -11,3 +11,2 @@ "use strict";

exports.ElementCloseTag = tokens_1.MLDOMElementCloseTag;
exports.InvalidNode = tokens_1.MLDOMInvalidNode;
exports.Node = tokens_1.MLDOMNode;

@@ -14,0 +13,0 @@ exports.OmittedElement = tokens_1.MLDOMOmittedElement;

@@ -5,3 +5,2 @@ export { default as MLDOMAttribute } from './attribute';

export { default as MLDOMNode } from './node';
export { default as MLDOMInvalidNode } from './invalid-node';
export { default as MLDOMDoctype } from './doctype';

@@ -8,0 +7,0 @@ export { default as MLDOMText } from './text';

@@ -11,4 +11,2 @@ "use strict";

exports.MLDOMNode = node_1.default;
var invalid_node_1 = require("./invalid-node");
exports.MLDOMInvalidNode = invalid_node_1.default;
var doctype_1 = require("./doctype");

@@ -15,0 +13,0 @@ exports.MLDOMDoctype = doctype_1.default;

@@ -1,2 +0,2 @@

import { MLDOMComment, MLDOMDoctype, MLDOMElement, MLDOMElementCloseTag, MLDOMInvalidNode, MLDOMOmittedElement, MLDOMText } from './tokens';
import { MLDOMComment, MLDOMDoctype, MLDOMElement, MLDOMElementCloseTag, MLDOMOmittedElement, MLDOMText } from './tokens';
import { RuleConfigValue } from '@markuplint/ml-config';

@@ -21,8 +21,5 @@ export interface IMLDOMDoctype extends IMLDOMNode {

}
export interface IMLDOMInvalidNode extends IMLDOMNode {
type: 'InvalidNode';
}
export interface IMLDOMNode {
}
export declare type AnonymousNode<T extends RuleConfigValue, O = null> = MLDOMDoctype<T, O> | MLDOMElement<T, O> | MLDOMElementCloseTag<T, O> | MLDOMOmittedElement<T, O> | MLDOMComment<T, O> | MLDOMText<T, O> | MLDOMInvalidNode<T, O>;
export declare type NodeType = 'Doctype' | 'Element' | 'ElementCloseTag' | 'OmittedElement' | 'Comment' | 'Text' | 'InvalidNode' | 'Node';
export declare type AnonymousNode<T extends RuleConfigValue, O = null> = MLDOMDoctype<T, O> | MLDOMElement<T, O> | MLDOMElementCloseTag<T, O> | MLDOMOmittedElement<T, O> | MLDOMComment<T, O> | MLDOMText<T, O>;
export declare type NodeType = 'Doctype' | 'Element' | 'ElementCloseTag' | 'OmittedElement' | 'Comment' | 'Text' | 'Node';
{
"name": "@markuplint/ml-core",
"version": "1.0.0-alpha.14",
"version": "1.0.0-alpha.15",
"description": "The core module of markuplint",

@@ -21,3 +21,3 @@ "repository": "git@github.com:markuplint/markuplint.git",

"@markuplint/i18n": "^1.0.0-alpha.6",
"@markuplint/ml-ast": "^1.0.0-alpha.8",
"@markuplint/ml-ast": "^1.0.0-alpha.9",
"@markuplint/ml-config": "^1.0.0-alpha.6",

@@ -27,3 +27,3 @@ "@markuplint/ml-spec": "^1.0.0-alpha.5",

},
"gitHead": "40252ada7b745d85051eeb0e0401459a5fc58f51"
"gitHead": "b3484907abfdd34b53007b5c08fb19c2eb2c1b66"
}

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