@fluffjs/cli 0.1.13 → 0.1.14

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/CodeGenerator.js +6 -0
  2. package/package.json +1 -1
package/CodeGenerator.js CHANGED
@@ -247,6 +247,12 @@ export class CodeGenerator {
247
247
  throw new Error(`Binding for ${binding.name} is missing expression`);
248
248
  }
249
249
  result.e = this.internExpression(binding.expression);
250
+ if (binding.pipes && binding.pipes.length > 0) {
251
+ result.p = binding.pipes.map(pipe => ({
252
+ n: pipe.name,
253
+ a: pipe.args.map(arg => this.internExpression(arg))
254
+ }));
255
+ }
250
256
  return result;
251
257
  }
252
258
  internExpression(expr) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluffjs/cli",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",