Skip to content

Commit

Permalink
Fix bug for long JSON files
Browse files Browse the repository at this point in the history
  • Loading branch information
Super-Genius authored and gnidan committed May 26, 2023
1 parent 8745200 commit 5e82e90
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@

## vNext

### Bug fixes

- Properly support large JSON inputs
([#107](https://github.com/gnidan/abi-to-sol/pull/107) by
[@gnidan](https://github.com/gnidan) and
[@SuperGNUS](https://github.com/SuperGNUS))

### Dependency updates

- Bump decode-uri-component from 0.2.0 to 0.2.2
2 changes: 1 addition & 1 deletion packages/abi-to-sol/bin/abi-to-sol.ts
Original file line number Diff line number Diff line change
@@ -60,7 +60,7 @@ const readStdin = async () =>

process.stdin.on("end", () => {
try {
const json = chunks.join();
const json = chunks.join("");
const abi = JSON.parse(json);
accept(abi);
} catch (error) {

0 comments on commit 5e82e90

Please # to comment.