Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to fix this JSON #31

Closed
andre-paulo98 opened this issue Jun 7, 2020 · 6 comments · Fixed by #32
Closed

Not able to fix this JSON #31

andre-paulo98 opened this issue Jun 7, 2020 · 6 comments · Fixed by #32

Comments

@andre-paulo98
Copy link

With this JSON as input: {something:"string:string"} it fails with this error: (enabled verbose) https://gist.github.com/andre-paulo98/746f77c4306f180b02f70c00ff474455

The website https://jsonformatter.curiousconcept.com/ is able to fix this JSON:
image

Environment

  • Version: 1.4.1
  • OS(s): Windows 10
  • Node version: 12.16.2
  • NPM version: 4.14.4
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label Type: Bug :bug: to this issue, with a confidence of 0.89. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Berkmann18 added a commit that referenced this issue Jun 7, 2020
Changed the missing-quote fixer to be more rigid

fix #31
@Berkmann18
Copy link
Owner

Thanks for opening the issue, and indeed the fixer wasn't able to fix such issues compared to other kinds of left-hand-side missing quotes issues.
I've added your example as a sample (which is used in the test suite) and so far it has been able to fix that issue while still being able to fix the others.

@Berkmann18
Copy link
Owner

@all-contributors Please add @andre-paulo98 for bug.

@allcontributors
Copy link
Contributor

@Berkmann18

I've put up a pull request to add @andre-paulo98! 🎉

github-actions bot pushed a commit that referenced this issue Jun 7, 2020
## [1.4.2](v1.4.1...v1.4.2) (2020-06-07)

### Bug Fixes

* **fixer:** wrongly added missing quote ([2ee5e4f](2ee5e4f)), closes [#31](#31)
* **lockfile:** security fix ([cade206](cade206))
@github-actions
Copy link

github-actions bot commented Jun 7, 2020

🎉 This issue has been resolved in version 1.4.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

github-actions bot pushed a commit that referenced this issue Jun 7, 2020
## [1.4.2](v1.4.1...v1.4.2) (2020-06-07)

### Bug Fixes

* **fixer:** wrongly added missing quote ([2ee5e4f](2ee5e4f)), closes [#31](#31)
* **lockfile:** security fix ([cade206](cade206))
github-actions bot pushed a commit that referenced this issue Jun 8, 2020
## [1.4.2](v1.4.1...v1.4.2) (2020-06-08)

### Bug Fixes

* security fix ([067bd46](067bd46))
* **fixer:** wrongly added missing quote ([2ee5e4f](2ee5e4f)), closes [#31](#31)
* **lockfile:** security fix ([cade206](cade206))
github-actions bot pushed a commit that referenced this issue Jun 8, 2020
## [1.4.2](v1.4.1...v1.4.2) (2020-06-08)

### Bug Fixes

* security fix ([067bd46](067bd46))
* **fixer:** wrongly added missing quote ([2ee5e4f](2ee5e4f)), closes [#31](#31)
* **lockfile:** security fix ([cade206](cade206))
github-actions bot pushed a commit that referenced this issue Jun 17, 2020
## [1.4.2](v1.4.1...v1.4.2) (2020-06-17)

### Bug Fixes

* missing quote fixer failure ([60a5fff](60a5fff))
* **fixer:** lint fix ([bbf3ed9](bbf3ed9))
* security fix ([067bd46](067bd46))
* **fixer:** wrongly added missing quote ([2ee5e4f](2ee5e4f)), closes [#31](#31)
* **lockfile:** security fix ([cade206](cade206))
github-actions bot pushed a commit that referenced this issue Jun 17, 2020
## [1.4.2](v1.4.1...v1.4.2) (2020-06-17)

### Bug Fixes

* missing quote fixer failure ([60a5fff](60a5fff))
* **fixer:** lint fix ([bbf3ed9](bbf3ed9))
* security fix ([067bd46](067bd46))
* **fixer:** wrongly added missing quote ([2ee5e4f](2ee5e4f)), closes [#31](#31)
* **lockfile:** security fix ([cade206](cade206))
github-actions bot pushed a commit that referenced this issue Jun 17, 2020
## [1.4.2](v1.4.1...v1.4.2) (2020-06-17)

### Bug Fixes

* missing quote fixer failure ([60a5fff](60a5fff))
* **fixer:** lint fix ([bbf3ed9](bbf3ed9))
* security fix ([067bd46](067bd46))
* **fixer:** wrongly added missing quote ([2ee5e4f](2ee5e4f)), closes [#31](#31)
* **lockfile:** security fix ([cade206](cade206))
github-actions bot pushed a commit that referenced this issue Jun 18, 2020
## [1.4.2](v1.4.1...v1.4.2) (2020-06-18)

### Bug Fixes

* missing quote fixer failure ([60a5fff](60a5fff))
* **fixer:** lint fix ([bbf3ed9](bbf3ed9))
* security fix ([067bd46](067bd46))
* **fixer:** wrongly added missing quote ([2ee5e4f](2ee5e4f)), closes [#31](#31)
* **lockfile:** security fix ([cade206](cade206))
github-actions bot pushed a commit that referenced this issue Jun 27, 2020
# [1.5.0](v1.4.1...v1.5.0) (2020-06-27)

### Bug Fixes

* **fixer:** fixing missing LHS quotes with 1-2 chars ([e2f8b9d](e2f8b9d))
* **fixer:** lint fix ([bbf3ed9](bbf3ed9))
* **fixer:** wrongly added missing quote ([2ee5e4f](2ee5e4f)), closes [#31](#31)
* **index:** not applying trailing-char fixes on LHS issues ([253ebfc](253ebfc)), closes [#38](#38)
* missing quote fixer failure ([60a5fff](60a5fff))
* security fix ([067bd46](067bd46))
* **lockfile:** security fix ([cade206](cade206))

### Features

* **fixer:** trailing char fixer simplification ([5899676](5899676))
@github-actions
Copy link

🎉 This issue has been resolved in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants