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.1.0 to 2.1.1-dev.20220307.0

2

lib/ml-core.d.ts

@@ -13,3 +13,3 @@ import type { MLFabric } from './types';

constructor({ parser, sourceCode, ruleset, rules, locale, schemas, parserOptions, filename, debug }: MLCoreParams);
get document(): Document<RuleConfigValue, unknown> | ParserError;
get document(): ParserError | Document<RuleConfigValue, unknown>;
verify(fix?: boolean): Promise<Violation[]>;

@@ -16,0 +16,0 @@ setCode(sourceCode: string): void;

import type MLDOMAbstractElement from '../tokens/abstract-element';
export declare type Specificity = [number, number, number];
export declare function createSelector(selector: string, tagNameCaseSensitive?: boolean): Selector;
export declare function compareSpecificity(a: Specificity, b: Specificity): 1 | -1 | 0;
export declare function compareSpecificity(a: Specificity, b: Specificity): 1 | 0 | -1;
declare type TargetElement = MLDOMAbstractElement<any, any>;

@@ -6,0 +6,0 @@ declare class Selector {

{
"name": "@markuplint/ml-core",
"version": "2.1.0",
"version": "2.1.1-dev.20220307.0",
"description": "The core module of markuplint",

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

},
"gitHead": "b76084dbdb538119a29fd07b19110ef7d3a44670"
"gitHead": "ea7e2765ab6e1f91e8aa49932ab26fb57c2425d4"
}

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