
Research
/Security News
npm Author Qix Compromised in Major Supply Chain Attack
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Command line utility for parsing and fixing json with commons errors like missing ""
Command line utility for parsing and fixing json with commons errors like missing ""
$ npm install json-fix --global
$ json-fix --help
Usage: index [options] [file ...]
Options:
-V, --version output the version number
-s, --spaces <amount> Number of spaces for indentation
-i, --inflection <none|pascalcase> Inflection type, defaults to none
--no-sort Don't sort
-h, --help output usage information
$ json-fix a.json
// a.json
{ a: "hello",
b: "world",
}
converts to
// a.json
{
"a": "hello",
"b": "world"
}
$ echo { a: 3, b: 2 } | json-fix
{
"a": 3,
"b": 2
}
(defun fix-errors-with-json-fix-4 ()
(interactive)
(shell-command-to-string (format "json-fix -s 4 %s" buffer-file-name))
(revert-buffer-no-confirm))
(defun fix-errors-with-json-fix-2 ()
(interactive)
(shell-command-to-string (format "json-fix -s 2 --no-sort %s" buffer-file-name))
(revert-buffer-no-confirm))
(spacemacs/set-leader-keys "oj" 'fix-errors-with-json-fix-4)
(spacemacs/set-leader-keys "ok" 'fix-errors-with-json-fix-2)
FAQs
Command line utility for parsing and fixing json with commons errors like missing ""
The npm package json-fix receives a total of 1 weekly downloads. As such, json-fix popularity was classified as not popular.
We found that json-fix demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.