@d-zero/csstree-scss-syntax 5.0.0-alpha.14 → 5.0.0-alpha.15

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +11 -1
  2. package/package.json +2 -2
package/dist/types.d.ts CHANGED
@@ -51,11 +51,21 @@ export type TypeToken = {
51
51
  syntax: Syntax<'Type'> & {
52
52
  opts: null | Record<string, string>;
53
53
  };
54
- match: (TypeToken | KeywordToken)[];
54
+ match: (TypeToken | KeywordToken)[] | [ValueToken];
55
55
  };
56
56
  export type KeywordToken = {
57
57
  syntax: Syntax<'Keyword'>;
58
58
  token: string;
59
59
  node: null;
60
60
  };
61
+ export type ValueToken = {
62
+ syntax: null;
63
+ token: string;
64
+ node: ValueNode;
65
+ };
66
+ type ValueNode = {
67
+ type: string;
68
+ value: string;
69
+ loc: null;
70
+ };
61
71
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-zero/csstree-scss-syntax",
3
- "version": "5.0.0-alpha.14",
3
+ "version": "5.0.0-alpha.15",
4
4
  "description": "SCSS syntax processor based on csstree",
5
5
  "repository": "https://github.com/d-zero-dev/linters.git",
6
6
  "author": "D-ZERO Co., Ltd.",
@@ -25,5 +25,5 @@
25
25
  "dependencies": {
26
26
  "css-tree": "2.3.1"
27
27
  },
28
- "gitHead": "9ba13d8a3153a50f989d9a32fdddec4c43fbb8fa"
28
+ "gitHead": "0a6a1f910f3ca2802a5e7cfee9bc00a67889d24e"
29
29
  }