Back to Explore

devongovett/dprint-node

GitHub
1 watchersOpen source

Last release:

dprint-node provides a Node.js API for the dprint TypeScript and JavaScript code formatter. It lets developers format code by passing a file path and code to `dprint.format`, with optional formatter configuration options.

Project status

  • The repo/source appears not to be actively maintained as of today (last upstream push 2023-09-15, about 3 years ago), so it is effectively quiet or in maintenance mode.
  • Update cadence was modest earlier (multiple updates in 2021 and 2022), but after the 2023-09-15 update there have been no further updates evident in the provided history.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.0.8

    Release v1.0.8 contains no publisher-provided release notes. The code changes indicate a refactor of the Node API wrapper (src/lib.rs) plus major upgrades to the underlying dprint Rust libraries, which can materially change formatting and configuration resolution behavior.

    Breaking
  • v1.0.7

    Release v1.0.7 includes a small set of changes: a TypeScript declaration change in options.d.ts, a workflow adjustment in tag-release.yml, and a package version bump. The provided release notes contain no documented details, so the code changes are the primary source of truth.

  • v1.0.6

    v1.0.6 was released, but no release notes were provided by the publisher. The code diff shows updates to the underlying dprint Rust crates, a change in the Rust formatting result handling, and an expanded/changed TypeScript option schema.

    Features
  • v1.0.5

    Release v1.0.5 primarily fixes missing TypeScript type declarations in the npm package. The change is implemented via package.json publishing additional .d.ts files, plus a small adjustment to the build scripts.

  • v1.0.4

    The v1.0.4 release notes are not provided, but the actual diff shows changes centered around build tooling and dependency/toolchain updates. CI workflow configuration was adjusted (new container image and extra build tool installation), and the npm build scripts were modified in a way that likely changes what artifacts are produced.

  • v1.0.3

    v1.0.3 upgrades the embedded dprint formatter stack and migrates the Node native addon from napi-rs v1 to v2, with the stated goal of fixing an Apple Silicon crash. The code diff also adds autogenerated TypeScript type definitions for the formatter options and changes how the native addon exports and calls the Rust formatter entrypoint.

    Features
  • v1.0.2

    Release v1.0.2 updates the native Rust module build configuration and introduces a macOS-specific global memory allocator (jemalloc). There are also CI/build flag adjustments for macOS builds and some performance benchmark number updates in the README.

  • v1.0.1

    Release v1.0.1 makes a small update to the npm package contents configuration and adjusts the GitHub Actions workflow used to prepare release artifacts. No release notes were provided for this version, so the actual behavior changes are inferred from the code diff.

  • v1.0.0

    This release (v1.0.0) does not include any publisher-provided release notes. As a result, there is no documented information about new features, breaking changes, bug fixes, security updates, or migration steps.