@markuplint/ml-core 4.8.2 → 4.8.3

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.
package/CHANGELOG.md CHANGED
@@ -3,17 +3,20 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [4.8.2](https://github.com/markuplint/markuplint/compare/@markuplint/ml-core@4.8.1...@markuplint/ml-core@4.8.2) (2024-06-25)
6
+ ## [4.8.3](https://github.com/markuplint/markuplint/compare/@markuplint/ml-core@4.8.2...@markuplint/ml-core@4.8.3) (2024-09-02)
7
7
 
8
+ **Note:** Version bump only for package @markuplint/ml-core
8
9
 
9
- ### Bug Fixes
10
10
 
11
- * **ml-core:** `localName` returns lowercase when using case-sensitive parser for tag names ([b1acadd](https://github.com/markuplint/markuplint/commit/b1acaddfd6bf939ee809f6419ce85a701033ca4f))
12
- * **ml-core:** selector matches both pretender's name and original name ([c683711](https://github.com/markuplint/markuplint/commit/c6837114638e07b22e8b35a4f6944e400222e69e))
13
11
 
14
12
 
15
13
 
14
+ ## [4.8.2](https://github.com/markuplint/markuplint/compare/@markuplint/ml-core@4.8.1...@markuplint/ml-core@4.8.2) (2024-06-25)
15
+
16
+ ### Bug Fixes
16
17
 
18
+ - **ml-core:** `localName` returns lowercase when using case-sensitive parser for tag names ([b1acadd](https://github.com/markuplint/markuplint/commit/b1acaddfd6bf939ee809f6419ce85a701033ca4f))
19
+ - **ml-core:** selector matches both pretender's name and original name ([c683711](https://github.com/markuplint/markuplint/commit/c6837114638e07b22e8b35a4f6944e400222e69e))
17
20
 
18
21
  ## [4.8.1](https://github.com/markuplint/markuplint/compare/@markuplint/ml-core@4.8.0...@markuplint/ml-core@4.8.1) (2024-06-09)
19
22
 
@@ -23,7 +23,6 @@ export function sequentialWalker(list, walker) {
23
23
  _reject = reject;
24
24
  });
25
25
  const loop = (index = 0) => {
26
- // eslint-disable-next-line no-constant-condition
27
26
  while (true) {
28
27
  if (index >= list.length) {
29
28
  _resolve();
@@ -2106,7 +2106,7 @@ export class MLElement extends MLParentNode {
2106
2106
  * @see https://dom.spec.whatwg.org/#ref-for-dom-element-closest%E2%91%A0
2107
2107
  */
2108
2108
  closest(selectors) {
2109
- // eslint-disable-next-line unicorn/no-this-assignment
2109
+ // eslint-disable-next-line unicorn/no-this-assignment, @typescript-eslint/no-this-alias
2110
2110
  let el = this;
2111
2111
  do {
2112
2112
  if (el.matches(selectors)) {
@@ -2527,7 +2527,7 @@ export class MLElement extends MLParentNode {
2527
2527
  ? ''
2528
2528
  : typeof value === 'string'
2529
2529
  ? value
2530
- : this.getAttribute(value.fromAttr) ?? '';
2530
+ : (this.getAttribute(value.fromAttr) ?? '');
2531
2531
  return {
2532
2532
  ...this._astToken,
2533
2533
  uuid: `${this.uuid}_attr_${i}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/ml-core",
3
- "version": "4.8.2",
3
+ "version": "4.8.3",
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>",
@@ -28,20 +28,20 @@
28
28
  "./lib/configs.js": "./lib/configs.browser.js"
29
29
  },
30
30
  "dependencies": {
31
- "@markuplint/config-presets": "4.5.4",
32
- "@markuplint/html-parser": "4.6.5",
33
- "@markuplint/html-spec": "4.8.2",
34
- "@markuplint/i18n": "4.5.1",
35
- "@markuplint/ml-ast": "4.4.2",
36
- "@markuplint/ml-config": "4.7.2",
37
- "@markuplint/ml-spec": "4.6.3",
38
- "@markuplint/parser-utils": "4.6.5",
39
- "@markuplint/selector": "4.6.5",
40
- "@markuplint/shared": "4.4.3",
31
+ "@markuplint/config-presets": "4.5.5",
32
+ "@markuplint/html-parser": "4.6.6",
33
+ "@markuplint/html-spec": "4.9.0",
34
+ "@markuplint/i18n": "4.5.2",
35
+ "@markuplint/ml-ast": "4.4.3",
36
+ "@markuplint/ml-config": "4.7.3",
37
+ "@markuplint/ml-spec": "4.6.4",
38
+ "@markuplint/parser-utils": "4.6.6",
39
+ "@markuplint/selector": "4.6.6",
40
+ "@markuplint/shared": "4.4.4",
41
41
  "@types/debug": "4.1.12",
42
- "debug": "4.3.5",
42
+ "debug": "4.3.6",
43
43
  "is-plain-object": "5.0.0",
44
- "type-fest": "4.20.1"
44
+ "type-fest": "4.26.0"
45
45
  },
46
- "gitHead": "05fdca254661ec335ff0cae4c6a11db164b032b9"
46
+ "gitHead": "77cd5a25d5cf28c83253b7bfe02cd25b54e236b0"
47
47
  }