@markuplint/rules 4.10.10 → 4.10.12-dev.110

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,6 +3,10 @@
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.10.11](https://github.com/markuplint/markuplint/compare/@markuplint/rules@4.10.10...@markuplint/rules@4.10.11) (2025-03-09)
7
+
8
+ **Note:** Version bump only for package @markuplint/rules
9
+
6
10
  ## [4.10.10](https://github.com/markuplint/markuplint/compare/@markuplint/rules@4.10.9...@markuplint/rules@4.10.10) (2025-02-27)
7
11
 
8
12
  ### Bug Fixes
@@ -8,7 +8,7 @@ export default createRule({
8
8
  defaultValue: null,
9
9
  async verify({ document, report, t }) {
10
10
  await document.walkOn('Element', el => {
11
- const classPatterns = toNoEmptyStringArrayFromStringOrArray(el.rule.value).filter(className => className && typeof className === 'string');
11
+ const classPatterns = toNoEmptyStringArrayFromStringOrArray(el.rule.value).filter(className => !!className && typeof className === 'string');
12
12
  const attrs = el.getAttributeToken('class');
13
13
  for (const attr of attrs) {
14
14
  if (attr.isDynamicValue) {
@@ -16,7 +16,7 @@ export declare function isZeroOrMore(content: ReadonlyDeep<PermittedContentPatte
16
16
  export declare function isChoice(content: ReadonlyDeep<PermittedContentPattern>): content is ReadonlyDeep<PermittedContentChoice>;
17
17
  export declare function isTransparent(content: ReadonlyDeep<PermittedContentPattern>): content is ReadonlyDeep<PermittedContentTransparent>;
18
18
  export declare function normalizeModel(pattern: ReadonlyDeep<PermittedContentRequire> | ReadonlyDeep<PermittedContentOptional> | ReadonlyDeep<PermittedContentOneOrMore> | ReadonlyDeep<PermittedContentZeroOrMore>): {
19
- model: ReadonlyDeep<Model | PermittedContentPattern[]>;
19
+ model: ReadonlyDeep<PermittedContentPattern[] | Model>;
20
20
  min: number;
21
21
  max: number;
22
22
  repeat: RepeatSign;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/rules",
3
- "version": "4.10.10",
3
+ "version": "4.10.12-dev.110+16e148e6e",
4
4
  "description": "Built-in rules of markuplint",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -25,18 +25,18 @@
25
25
  "./lib/permitted-contents/debug.js": "./lib/permitted-contents/debug.browser.js"
26
26
  },
27
27
  "dependencies": {
28
- "@markuplint/html-spec": "4.14.0",
29
- "@markuplint/ml-core": "4.12.2",
30
- "@markuplint/ml-spec": "4.9.4",
31
- "@markuplint/selector": "4.7.2",
32
- "@markuplint/shared": "4.4.10",
33
- "@markuplint/types": "4.7.4",
28
+ "@markuplint/html-spec": "4.14.2-dev.110+16e148e6e",
29
+ "@markuplint/ml-core": "4.12.4-dev.110+16e148e6e",
30
+ "@markuplint/ml-spec": "4.9.6-dev.110+16e148e6e",
31
+ "@markuplint/selector": "4.7.4-dev.110+16e148e6e",
32
+ "@markuplint/shared": "4.4.11-dev.350+16e148e6e",
33
+ "@markuplint/types": "4.7.6-dev.110+16e148e6e",
34
34
  "@types/debug": "4.1.12",
35
35
  "@ungap/structured-clone": "1.3.0",
36
36
  "ansi-colors": "4.1.3",
37
- "chrono-node": "2.7.8",
37
+ "chrono-node": "2.8.0",
38
38
  "debug": "4.4.0",
39
- "type-fest": "4.35.0"
39
+ "type-fest": "4.39.1"
40
40
  },
41
- "gitHead": "1b71e44a0a372662abca460ef77888053b66a78d"
41
+ "gitHead": "16e148e6ec2abac673c5ea1e42bbb666d421f357"
42
42
  }