Packages

@dprint/json

0.25.2MIT
  • 0.25.2 is the latest, published 4 October 2026.
  • No known security advisory.
  • 0.x: 40 releases since 19 June 2021, 4 in the last 90 days.

Releases in the last 90 days

Feed of releases and advisories

Every stable release, newest first. Notes are quoted as the maintainers published them.

  1. 0.25.2

    4 October 2026
    Only reorder package.json properties within a range when all of them are touched

    Changes

    • fix: only reorder package.json properties within a range when all of them are touched

    Install

    Install and setup dprint.

    Then in your project's dprint configuration file:

    1. Specify the plugin url in the "plugins" array (can be done via dprint config add json).

    2. Add a "json" configuration property if desired.

      {
        // ...etc...
        "json": {
          // json config goes here
        },
        "plugins": [
          "npm:@dprint/json@0.25.2"
        ]
      }

    JS Formatting API

  2. 0.25.1

    1 October 2026
    Keep // comment keys with the field below them in package.json

    Changes

    • fix: keep // comment keys with the field below them in package.json

    • fix: keep // comment keys with the field below them in sorted package.json sections

    Install

    Install and setup dprint.

    Then in your project's dprint configuration file:

    1. Specify the plugin url in the "plugins" array (can be done via dprint config add json).

    2. Add a "json" configuration property if desired.

      {
        // ...etc...
        "json": {
          // json config goes here
        },
        "plugins": [
          "npm:@dprint/json@0.25.1"
        ]
      }

    JS Formatting API

  3. 0.25.0

    27 September 2026
    Support range formatting

    Changes

    • feat: support range formatting

    • feat: upgrade jsonc-parser to 0.34 for json5 syntax

    Install

    Install and setup dprint.

    Then in your project's dprint configuration file:

    1. Specify the plugin url in the "plugins" array (can be done via dprint config add json).

    2. Add a "json" configuration property if desired.

      {
        // ...etc...
        "json": {
          // json config goes here
        },
        "plugins": [
          "npm:@dprint/json@0.25.0"
        ]
      }

    JS Formatting API

  4. 0.24.0

    15 September 2026
    Add eofNewLine config

    Changes

    • feat: add eofNewLine config

    • feat: add on by default packageJson.applyConventions config for sorting a package.json

    • feat: add spaceSurroundingProperties config

    • feat: support globs in jsonTrailingCommaFiles

    • fix: escape raw control characters in strings

    • fix: ignore comments apply to trailing commas

    • fix: upgrade to dprint-core 0.69.1

    • perf: reduce allocations

    Install

    Install and setup dprint.

    Then in your project's dprint configuration file:

    1. Specify the plugin url in the "plugins" array (can be done via dprint config add json).

    2. Add a "json" configuration property if desired.

      {
        // ...etc...
        "json": {
          // json config goes here
        },
        "plugins": [
          "npm:@dprint/json@0.24.0"
        ]
      }

    JS Formatting API

All 40 releases

Quality and security signals

What npm and deps.dev say about the latest release. Signals, not a verdict.

Reading npm and deps.dev…

Registry facts last checked 15 October 2026. Releases and advisories last read 15 October 2026.

Know when your own dependencies move

Inlinr tracks your coding time automatically. Switch dependency tracking on for a project and it reads that repository's manifest to show what is behind and what has been deprecated — off by default, one project at a time.