@graffiticode/basis 1.5.2 → 1.5.3

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/package.json +1 -1
  2. package/src/compiler.js +1 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@graffiticode/basis",
3
3
  "type": "module",
4
- "version": "1.5.2",
4
+ "version": "1.5.3",
5
5
  "description": "The basis library for creating Graffiticode languages",
6
6
  "main": "index.js",
7
7
  "scripts": {
package/src/compiler.js CHANGED
@@ -555,7 +555,7 @@ export class Transformer extends Visitor {
555
555
  // This is a little trickery to restore the original order of the,
556
556
  // given that they may have been reordered do to the node being
557
557
  // visited asynchronously.
558
- const val = index.reduce((acc, v0) => ({...acc, [v0.key]: v0.val}), {});
558
+ const val = ndx.reduce((acc, v0) => ({...acc, [v0.key]: v0.val}), {});
559
559
  resume(err, val);
560
560
  }
561
561
  });