@tscircuit/cli 0.0.100 → 0.0.101

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/lib/soupify.ts CHANGED
@@ -84,7 +84,9 @@ console.log(JSON.stringify(elements))
84
84
  .stderr(debug.enabled ? "inheritPiped" : "piped")
85
85
  .noThrow()
86
86
 
87
- const rawSoup = processResult.stdout
87
+ // TODO we should send it to a temporarty file rather than rely on stdout
88
+ // which can easily be polluted
89
+ const rawSoup = processResult.stdout.replace(/^[^\[]*/, "")
88
90
  const errText = processResult.stderr
89
91
 
90
92
  debug(`deleting ${tmpFilePath}`)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/cli",
3
- "version": "0.0.100",
3
+ "version": "0.0.101",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "Command line tool for developing, publishing and installing tscircuit circuits",