@traqula/rules-sparql-1-1-adjust 0.0.12 → 0.0.13

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/index.cjs +5 -7
  2. package/package.json +4 -4
package/lib/index.cjs CHANGED
@@ -13354,13 +13354,11 @@ var unaryExpression = {
13354
13354
  { ALT: () => CONSUME(symbols_exports.opMinus) }
13355
13355
  ]);
13356
13356
  const expr = SUBRULE2(primaryExpression);
13357
- return ACTION(() => ({
13358
- type: "expression",
13359
- subType: "operation",
13360
- operator: operator.image === "!" ? "!" : operator.image === "+" ? "UPLUS" : "UMINUS",
13361
- args: [expr],
13362
- loc: C.factory.sourceLocation(operator, expr)
13363
- }));
13357
+ return ACTION(() => C.factory.expressionOperation(
13358
+ operator.image === "!" ? "!" : operator.image === "+" ? "UPLUS" : "UMINUS",
13359
+ [expr],
13360
+ C.factory.sourceLocation(operator, expr)
13361
+ ));
13364
13362
  } }
13365
13363
  ])
13366
13364
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@traqula/rules-sparql-1-1-adjust",
3
3
  "type": "module",
4
- "version": "0.0.12",
4
+ "version": "0.0.13",
5
5
  "description": "Traqula Lexer and Grammar Rules for sparql 1.1-ADJUST",
6
6
  "lsd:module": true,
7
7
  "license": "MIT",
@@ -41,8 +41,8 @@
41
41
  "build:transpile": " node \"../../node_modules/esbuild/bin/esbuild\" --format=cjs --bundle --log-level=error --outfile=lib/index.cjs lib/index.ts"
42
42
  },
43
43
  "dependencies": {
44
- "@traqula/core": "^0.0.12",
45
- "@traqula/rules-sparql-1-1": "^0.0.12"
44
+ "@traqula/core": "^0.0.13",
45
+ "@traqula/rules-sparql-1-1": "^0.0.13"
46
46
  },
47
- "gitHead": "3517d5a5223c64dc61184b5f603f6d98c12bd166"
47
+ "gitHead": "324ed65dcfacb6cfa31007e0d5ee43f2599b7284"
48
48
  }