Skip to content

Conversation

@eventualbuddha
Copy link
Contributor

I messed up the minor updates I was making to lines-and-columns to use ES modules only, and published a patch update (v1.1.7) instead of a major one (v2.0.0). This had way more downstream effects than I intended. As I couldn't unpublish, I ended up publishing v1.1.9 to fix the issue, but that also included ESM support, but I realize now that was probably a mistake too since it represents a breaking change for anything using ESM itself.

This fixes it for parse-json by updating to the v2.0.2 ESM version. Alternatively, you could pin v1.1.6.

I messed up the minor updates I was making to `lines-and-columns` to use ES modules only, and published a patch update (v1.1.7) instead of a major one (v2.0.0). This had way more downstream effects than I intended. As I couldn't unpublish, I ended up publishing v1.1.9 to fix the issue, but that also included ESM support, but I realize now that was probably a mistake too since it represents a breaking change for anything using ESM itself.

This fixes it for `parse-json` by updating to the v2.0.2 ESM version.
@eventualbuddha
Copy link
Contributor Author

This is less urgent now that I've published v1.1.10 and v1.2.3 which remove the ESM build. By default parse-json will end up with v1.2.3 with a fresh npm install parse-json which seems to work.

@sindresorhus sindresorhus changed the title Fix dependency on lines-and-columns. Fix dependency on lines-and-columns Nov 21, 2021
@sindresorhus sindresorhus merged commit a244a17 into sindresorhus:main Nov 21, 2021
@eventualbuddha eventualbuddha deleted the fix/lines-and-columns-dep branch November 21, 2021 15:55
@sbimochan
Copy link

still is not working. it's not eliminating \n @eventualbuddha

SmushyTaco pushed a commit to SmushyTaco/parse-json that referenced this pull request Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants