@markuplint/parser-utils 3.6.0 → 3.6.1

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.
@@ -1 +1 @@
1
- export declare function getSpaceBefore(offset: number, rawCode: string): import('@markuplint/ml-ast').MLToken;
1
+ export declare function getSpaceBefore(offset: number, rawCode: string): import("@markuplint/ml-ast").MLToken;
@@ -1,27 +1,24 @@
1
1
  import type { MLASTHTMLAttr } from '@markuplint/ml-ast';
2
2
  type ParseAttrOptions = {
3
- readonly booleanish?: boolean;
4
- readonly valueDelimiters?: readonly ValueDelimiter[];
5
- readonly equal?: string;
3
+ readonly booleanish?: boolean;
4
+ readonly valueDelimiters?: readonly ValueDelimiter[];
5
+ readonly equal?: string;
6
6
  };
7
7
  type ValueDelimiter = {
8
- readonly start: string;
9
- readonly end: string;
8
+ readonly start: string;
9
+ readonly end: string;
10
10
  };
11
11
  export declare const defaultValueDelimiters: readonly ValueDelimiter[];
12
12
  export declare function parseAttr(raw: string, offset: number, html: string, options?: ParseAttrOptions): MLASTHTMLAttr;
13
- export declare function tokenize(
14
- raw: string,
15
- options?: ParseAttrOptions,
16
- ): {
17
- beforeName: string;
18
- name: string;
19
- afterName: string;
20
- equal: string;
21
- beforeValue: string;
22
- startQuote: string;
23
- value: string;
24
- endQuote: string;
25
- afterAttr: string;
13
+ export declare function tokenize(raw: string, options?: ParseAttrOptions): {
14
+ beforeName: string;
15
+ name: string;
16
+ afterName: string;
17
+ equal: string;
18
+ beforeValue: string;
19
+ startQuote: string;
20
+ value: string;
21
+ endQuote: string;
22
+ afterAttr: string;
26
23
  };
27
24
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/parser-utils",
3
- "version": "3.6.0",
3
+ "version": "3.6.1",
4
4
  "description": "Utility module for markuplint parser plugin",
5
5
  "repository": "git@github.com:markuplint/markuplint.git",
6
6
  "author": "Yusuke Hirao <yusukehirao@me.com>",
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@markuplint/ml-ast": "3.1.0",
27
- "@markuplint/types": "3.5.0",
27
+ "@markuplint/types": "3.5.1",
28
28
  "tslib": "^2.4.1",
29
29
  "uuid": "^9.0.0"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "@markuplint/ml-core": "3.x"
33
33
  },
34
- "gitHead": "715dd53d3b1064a9bcf616c1533921cad9e3b187"
34
+ "gitHead": "3cdf5a088b2da03773d5d4461d0e65ec32290a00"
35
35
  }