@markuplint/ml-core
Advanced tools
Comparing version 1.0.0-alpha.31 to 1.0.0
@@ -10,3 +10,3 @@ import { ExtendedSpec, MLMLSpec } from '@markuplint/ml-spec'; | ||
#private; | ||
constructor(parser: MLMarkupLanguageParser, sourceCode: string, ruleset: Ruleset, rules: MLRule<RuleConfigValue, unknown>[], i18n: I18n, schemas: Readonly<[MLMLSpec, ...ExtendedSpec[]]>); | ||
constructor(parser: MLMarkupLanguageParser, sourceCode: string, ruleset: Partial<Ruleset>, rules: MLRule<RuleConfigValue, unknown>[], i18n: I18n, schemas: Readonly<[MLMLSpec, ...ExtendedSpec[]]>); | ||
get document(): Document<RuleConfigValue, unknown>; | ||
@@ -13,0 +13,0 @@ verify(fix?: boolean): Promise<VerifiedResult[]>; |
@@ -31,3 +31,7 @@ "use strict"; | ||
__classPrivateFieldSet(this, _sourceCode, sourceCode); | ||
__classPrivateFieldSet(this, _ruleset, ruleset); | ||
__classPrivateFieldSet(this, _ruleset, { | ||
rules: ruleset.rules || {}, | ||
nodeRules: ruleset.nodeRules || [], | ||
childNodeRules: ruleset.childNodeRules || [], | ||
}); | ||
__classPrivateFieldSet(this, _i18n, i18n); | ||
@@ -34,0 +38,0 @@ __classPrivateFieldSet(this, _schemas, schemas); |
{ | ||
"name": "@markuplint/ml-core", | ||
"version": "1.0.0-alpha.31", | ||
"version": "1.0.0", | ||
"description": "The core module of markuplint", | ||
@@ -20,9 +20,9 @@ "repository": "git@github.com:markuplint/markuplint.git", | ||
"dependencies": { | ||
"@markuplint/i18n": "^1.0.0-alpha.10", | ||
"@markuplint/ml-ast": "^1.0.0-alpha.14", | ||
"@markuplint/ml-config": "^1.0.0-alpha.11", | ||
"@markuplint/i18n": "^1.0.0", | ||
"@markuplint/ml-ast": "^1.0.0", | ||
"@markuplint/ml-config": "^1.0.0", | ||
"@markuplint/ml-spec": "^1.0.0-alpha.11", | ||
"css-selector-parser": "^1.4.1" | ||
}, | ||
"gitHead": "f50f02f36f67397d1e6ed1b0e52dfbb638220c17" | ||
"gitHead": "34fdc599569e9632f08eb4a4fbe6056f74e4f884" | ||
} |
# @markuplint/ml-core | ||
[![npm version](https://badge.fury.io/js/%40markuplint%2Fml-core.svg)](https://www.npmjs.com/package/@markuplint/ml-core) | ||
[![Build Status](https://travis-ci.org/markuplint/markuplint.svg?branch=next)](https://travis-ci.org/markuplint/markuplint) | ||
[![Coverage Status](https://coveralls.io/repos/github/markuplint/markuplint/badge.svg?branch=next)](https://coveralls.io/github/markuplint/markuplint?branch=next) | ||
[![Build Status](https://travis-ci.org/markuplint/markuplint.svg?branch=master)](https://travis-ci.org/markuplint/markuplint) | ||
[![Coverage Status](https://coveralls.io/repos/github/markuplint/markuplint/badge.svg?branch=master)](https://coveralls.io/github/markuplint/markuplint?branch=master) | ||
@@ -20,3 +20,3 @@ ## Install | ||
``` | ||
$ git clone git@github.com:markuplint/markuplint.git -b next | ||
$ git clone git@github.com:markuplint/markuplint.git -b master | ||
$ yarn | ||
@@ -23,0 +23,0 @@ $ yarn build |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
357812
1967
1
Updated@markuplint/i18n@^1.0.0
Updated@markuplint/ml-ast@^1.0.0
Updated@markuplint/ml-config@^1.0.0