-
Notifications
You must be signed in to change notification settings - Fork 722
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: make json slicing more robust (#611)
fixes #585 closes #599 * better slice json, do not use javascript constants after it * remove console.log * fix typo in module name * removed slice, use accumulated string instead (because slice pos was calculated wrong sometime) * some codestyle fixes * Update util.js * Update util.js * remove unused variable * Rely on closing all brackets instead of finding a semi-colon Plus some changes to the error messages * Clean up tests for cutting JSON * remove unnessecary lines Co-authored-by: Aleksei Zbiniakov <alexey@coccoc.com> Co-authored-by: Alexey <zbinyakov@gmail.com> Co-authored-by: TimeForANinja <t.kutscha@yahoo.de>
- Loading branch information
1 parent
04fd05b
commit 58fad33
Showing
3 changed files
with
101 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters