jsonlint
jsonlint copied to clipboard
A JSON parser and validator with a CLI.
Any hope of getting a fix that replaces nomnom? It's deprecated and depends on a version of underscore that has a high severity vulnerability: https://snyk.io/vuln/SNYK-JS-UNDERSCORE-1080984 ``` └─┬ [email protected] └─┬ [email protected]...
Dear @zaach, `jsonlint` has been awesome ever since [the first commit][1] more than ten years ago. But maintaining an open-source project can be hard, even under the best conditions. Time...
It seems that there is discussion since 2017 (#103) about the deprecation of nomnom, it was removed from NPM and it has vulnerabilities. If no one reply, I think that...
A package.json looks like this: ```json { "name": "...", "dependencies": { "a": "...", "b": "..." } } ``` I want to keep the order of name and dependencies, but want...
For JSON Lint 1.6.3, running `jsonlint --version` returns exit code 1, which is commonly used to indicate failure. Instead, I'd expected `jsonlint --version` to return exit code 0, indicating success,...
Incorrect error message and error location for invalid escape sequences: ```json { "": "foobar\?" } ``` Current message: ``` Error: Parse error on line 2: { "": "foobar\?"} ------^ Expecting...
jsonlint -> nomnom -> underscore Underscore has an arbitrary code execution per the link below. https://github.com/advisories/GHSA-cf4h-3jhx-xvhq One solution is to "rm package-lock.json" before building. This file is the lock file...
### What does this PR do? This PR allows for a list of files, or a glob pattern to be used on the jsonlint cli. Ex. `jsonlint app/**/*.json` or `jsonlint...
``` $ echo '{"a":1,"a":2}' | jsonlint The "sys" module is now called "util". It should have a similar interface. { "a": 2 } $ ```
Merry Christmas and happy new year! I noticed this bug when I tried to format a string that looks like a Windows file path. Here's a minimal example: ``` echo...