@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.
- package/package.json +1 -1
- package/src/compiler.js +1 -1
package/package.json
CHANGED
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 =
|
|
558
|
+
const val = ndx.reduce((acc, v0) => ({...acc, [v0.key]: v0.val}), {});
|
|
559
559
|
resume(err, val);
|
|
560
560
|
}
|
|
561
561
|
});
|