@markuplint/ml-core 3.0.1 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Pretender = void 0;
|
|
4
|
+
const element_1 = require("./element");
|
|
5
|
+
class Pretender extends element_1.MLElement {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments);
|
|
8
|
+
this.pretenderContext = null;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.Pretender = Pretender;
|
|
@@ -14,7 +14,7 @@ class MLRuleContext {
|
|
|
14
14
|
get reports() {
|
|
15
15
|
return tslib_1.__classPrivateFieldGet(this, _MLRuleContext_reports, "f").map(report => ({
|
|
16
16
|
...report,
|
|
17
|
-
message: finish(report.message),
|
|
17
|
+
message: finish(report.message, this.locale),
|
|
18
18
|
}));
|
|
19
19
|
}
|
|
20
20
|
provide() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markuplint/ml-core",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "The core module of markuplint",
|
|
5
5
|
"repository": "git@github.com:markuplint/markuplint.git",
|
|
6
6
|
"author": "Yusuke Hirao <yusukehirao@me.com>",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"./lib/configs.js": "./lib/configs.browser.js"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@markuplint/config-presets": "3.
|
|
24
|
-
"@markuplint/i18n": "3.
|
|
23
|
+
"@markuplint/config-presets": "3.2.0",
|
|
24
|
+
"@markuplint/i18n": "3.2.0",
|
|
25
25
|
"@markuplint/ml-ast": "3.0.0-rc.5",
|
|
26
|
-
"@markuplint/ml-config": "3.0
|
|
27
|
-
"@markuplint/ml-spec": "3.0
|
|
28
|
-
"@markuplint/parser-utils": "3.
|
|
29
|
-
"@markuplint/selector": "3.0
|
|
26
|
+
"@markuplint/ml-config": "3.2.0",
|
|
27
|
+
"@markuplint/ml-spec": "3.2.0",
|
|
28
|
+
"@markuplint/parser-utils": "3.2.0",
|
|
29
|
+
"@markuplint/selector": "3.2.0",
|
|
30
30
|
"debug": "^4.3.4",
|
|
31
31
|
"tslib": "^2.4.1"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@markuplint/html-parser": "3.
|
|
34
|
+
"@markuplint/html-parser": "3.2.0",
|
|
35
35
|
"@types/debug": "^4.1.7"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "26b04e045d91e29befca34c10dda2147b1bca9c7"
|
|
38
38
|
}
|