+5
-2
@@ -176,3 +176,5 @@ // src/block.ts | ||
| let currentBlock = globalArgInit ? blocks[0] : createDefaultGlobalBlock(blocks); | ||
| const parsedBlocks = [{ arg: currentBlock.arg, params: {} }]; | ||
| const parsedBlocks = [ | ||
| { arg: currentBlock.arg, params: {}, block: currentBlock } | ||
| ]; | ||
| outer: | ||
@@ -203,3 +205,4 @@ for (let i = 0;i < args.length; i++) { | ||
| arg: arg2.join(" "), | ||
| params: {} | ||
| params: {}, | ||
| block: childBlock | ||
| }); | ||
@@ -206,0 +209,0 @@ currentBlock = childBlock; |
@@ -5,2 +5,3 @@ import { Block } from "./block.ts"; | ||
| arg: string; | ||
| block: Block; | ||
| params: Record<string, string>; | ||
@@ -7,0 +8,0 @@ }; |
+1
-1
@@ -5,3 +5,3 @@ { | ||
| "type": "module", | ||
| "version": "0.0.5", | ||
| "version": "0.0.6", | ||
| "main": "dist/argblock.js", | ||
@@ -8,0 +8,0 @@ "types": "dist/types/argblock.d.ts", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
13087
0.58%311
1.3%0
-100%