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 4.10.5 to 4.11.0

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Change Log

# [4.11.0](https://github.com/markuplint/markuplint/compare/@markuplint/ml-core@4.10.5...@markuplint/ml-core@4.11.0) (2024-12-04)
### Features
- **ml-core:** add `caretPositionFromPoint` prop to MLDocument ([8f7e822](https://github.com/markuplint/markuplint/commit/8f7e822d29f6ec287b9470eae0f4630cc2627eb7))
- **ml-core:** add `currentCSSZoom` prop to MLElement ([8b12e07](https://github.com/markuplint/markuplint/commit/8b12e07481ee1bbe2d54c9b4179e06ed01250662))
- **ml-core:** add `fragmentDirective` prop to MLDocument ([a62b6b1](https://github.com/markuplint/markuplint/commit/a62b6b10612601fd49bcd35f23723f0466d1b988))
- **ml-core:** add `writingSuggestions` prop to MLElement ([59c1d66](https://github.com/markuplint/markuplint/commit/59c1d6682cff93a17d0da8da3cd3c4dd1c63482b))
## [4.10.5](https://github.com/markuplint/markuplint/compare/@markuplint/ml-core@4.10.4...@markuplint/ml-core@4.10.5) (2024-11-17)

@@ -8,0 +17,0 @@

2

lib/ml-core.d.ts

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

constructor({ parser, sourceCode, ruleset, rules, locale, schemas, parserOptions, severity, pretenders, filename, debug, configErrors, }: MLCoreParams);
get document(): ParserError | Document<RuleConfigValue, PlainData>;
get document(): Document<RuleConfigValue, PlainData> | ParserError;
setCode(sourceCode: string): void;

@@ -16,0 +16,0 @@ update({ parser, ruleset, rules, locale, schemas, parserOptions, configErrors }: Partial<MLFabric>): void;

@@ -268,2 +268,9 @@ import type { MLAttr } from './attr.js';

*
* @unsupported
* @implements DOM API: `Document`
*/
get fragmentDirective(): FragmentDirective;
/**
* **IT THROWS AN ERROR WHEN CALLING THIS.**
*
* @deprecated

@@ -1282,2 +1289,9 @@ * @unsupported

*/
caretPositionFromPoint(x: number, y: number, options?: CaretPositionFromPointOptions): CaretPosition | null;
/**
* **IT THROWS AN ERROR WHEN CALLING THIS.**
*
* @unsupported
* @implements DOM API: `Document`
*/
caretRangeFromPoint(x: number, y: number): Range | null;

@@ -1606,3 +1620,3 @@ /**

*/
startViewTransition(callbackOptions?: UpdateCallback): ViewTransition;
startViewTransition(callbackOptions?: ViewTransitionUpdateCallback): ViewTransition;
/**

@@ -1609,0 +1623,0 @@ * @implements `@markuplint/ml-core` API: `MLDocument`

@@ -476,2 +476,10 @@ import type { MLDocument } from './document.js';

*/
get currentCSSZoom(): number;
/**
* **IT THROWS AN ERROR WHEN CALLING THIS.**
*
* @deprecated
* @unsupported
* @implements DOM API: `Element`
*/
get dataset(): DOMStringMap;

@@ -1578,4 +1586,12 @@ /**

/**
* **IT THROWS AN ERROR WHEN CALLING THIS.**
*
* @deprecated
* @unsupported
* @implements DOM API: `Element`
*/
get writingSuggestions(): string;
/**
* @implements DOM API: `Element`
*/
after(...nodes: (string | MLNode<any, any>)[]): void;

@@ -1582,0 +1598,0 @@ /**

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

@@ -32,10 +32,10 @@ "repository": "git@github.com:markuplint/markuplint.git",

"@markuplint/config-presets": "4.5.10",
"@markuplint/html-parser": "4.6.13",
"@markuplint/html-spec": "4.11.0",
"@markuplint/html-parser": "4.6.14",
"@markuplint/html-spec": "4.11.1",
"@markuplint/i18n": "4.6.0",
"@markuplint/ml-ast": "4.4.9",
"@markuplint/ml-config": "4.8.5",
"@markuplint/ml-spec": "4.9.0",
"@markuplint/parser-utils": "4.8.1",
"@markuplint/selector": "4.6.13",
"@markuplint/ml-config": "4.8.6",
"@markuplint/ml-spec": "4.9.1",
"@markuplint/parser-utils": "4.8.2",
"@markuplint/selector": "4.6.14",
"@markuplint/shared": "4.4.10",

@@ -45,5 +45,5 @@ "@types/debug": "4.1.12",

"is-plain-object": "5.0.0",
"type-fest": "4.27.0"
"type-fest": "4.30.0"
},
"gitHead": "b2154ecf1e67559a3791991752f45c9c0283801a"
"gitHead": "2a067903214e5633bd9b77690613837ead9683c3"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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