New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 2.2.3 to 2.3.0

1

lib/ml-dom/helper/accname.js

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

catch (err) {
accnameLog('Raw: %s', el.raw);
accnameLog('Error: %O', err);

@@ -16,0 +17,0 @@ return '';

3

lib/ml-dom/tokens/abstract-element.d.ts

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

import type { AnonymousNode, Document } from '../';
import type { Document } from '../';
import type { MLDOMAttribute, MLDOMElement, MLDOMOmittedElement, MLDOMText } from './';

@@ -23,3 +23,2 @@ import type MLDOMPreprocessorSpecificAttribute from './preprocessor-specific-attribute';

get tagName(): string;
get childNodes(): AnonymousNode<T, O>[];
get children(): (MLDOMElement<T, O> | MLDOMOmittedElement<T, O>)[];

@@ -26,0 +25,0 @@ get nextElementSibling(): MLDOMElement<T, O> | MLDOMOmittedElement<T, O> | null;

@@ -32,6 +32,2 @@ "use strict";

}
get childNodes() {
const astChildren = this._astToken.childNodes || [];
return astChildren.map(node => this.nodeStore.getNode(node));
}
get children() {

@@ -38,0 +34,0 @@ return this.childNodes.filter((node) => {

@@ -27,2 +27,3 @@ import type { Document } from '../';

constructor(astNode: A, document: Document<T, O>);
get childNodes(): AnonymousNode<T, O>[];
get parentNode(): MLDOMElement<T, O> | MLDOMOmittedElement<T, O> | MLDOMPreprocessorSpecificBlock<T, O> | null;

@@ -29,0 +30,0 @@ get prevNode(): AnonymousNode<T, O> | null;

@@ -32,2 +32,10 @@ "use strict";

}
get childNodes() {
if (this._astToken.type === 'starttag' || this._astToken.type === 'omittedtag') {
// @ts-ignore
const astChildren = this._astToken.childNodes || [];
return astChildren.map(node => this.nodeStore.getNode(node));
}
return [];
}
get parentNode() {

@@ -34,0 +42,0 @@ if (!this._astToken.parentNode) {

{
"name": "@markuplint/ml-core",
"version": "2.2.3",
"version": "2.3.0",
"description": "The core module of markuplint",

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

"@markuplint/ml-ast": "2.0.1-dev.20220307.0",
"@markuplint/ml-config": "2.0.1-dev.20220307.0",
"@markuplint/ml-config": "2.1.0",
"@markuplint/ml-spec": "2.1.0",

@@ -35,3 +35,3 @@ "@markuplint/parser-utils": "2.2.0",

},
"gitHead": "98a5617d19cd2c6ccc23dce045dc0af8d261cb5a"
"gitHead": "373c916d5ebbba463f5e088696666a383ee96492"
}

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