@bablr/cli 0.1.7 → 0.1.8

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/lib/syntax.js +2 -6
  2. package/package.json +1 -1
package/lib/syntax.js CHANGED
@@ -38,13 +38,9 @@ function* __higlightStrategy(tokens) {
38
38
  (token.value.type === 'String' && currentRef.name === 'intrinsicValue')
39
39
  ) {
40
40
  yield i`push(bold green)`;
41
- } else if (token.value.type === 'String') {
42
- yield i`push(bold white)`;
43
41
  } else if (token.value.type === 'Identifier') {
44
- if (currentType === 'Punctuator' && currentRef.name === 'type') {
45
- yield i`push(whiteBright bold)`;
46
- } else if (currentType === 'Reference') {
47
- yield i`push(gray)`;
42
+ if (currentType === 'Reference') {
43
+ yield i`push(bold gray)`;
48
44
  } else {
49
45
  yield i`push()`;
50
46
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bablr/cli",
3
3
  "description": "CLI for running BABLR parsers",
4
- "version": "0.1.7",
4
+ "version": "0.1.8",
5
5
  "author": "Conrad Buck<conartist6@gmail.com>",
6
6
  "type": "module",
7
7
  "files": [