A node API for the dprint TypeScript and JavaScript code formatter

Overview

dprint-node

A node API for the dprint TypeScript and JavaScript code formatter. It's written in Rust for blazing fast speed.

Usage

Pass a file path and the code to format to dprint.format.

const dprint = require('dprint-node');

dprint.format(filePath, code);

You can also optionally pass some configuration options as an object to the third parameter. All of the options listed here are supported.

dprint.format(filePath, code, {
  lineWidth: 100
});

Benchmark

$ node bench.js
prettier 216.33 opts/sec (mean: 4.623ms, stddev: 6.7ms, 50 samples)
dprint 6,694.02 opts/sec (mean: 0.149ms, stddev: 0.094ms, 50 samples)
Comments
  • benchmark shows that dprint-node is just a bit faster

    benchmark shows that dprint-node is just a bit faster

    manjaro linux, node 16.2.0 (latest)

    prettier 213.61 opts/sec (mean: 4.682ms, stddev: 6.011ms, 50 samples)
    dprint 264.2 opts/sec (mean: 3.785ms, stddev: 0.223ms, 50 samples)
    

    image

    any idea what could have cause that?

    opened by tuananh 10
  • Bump @napi-rs/cli from 2.11.4 to 2.13.3

    Bump @napi-rs/cli from 2.11.4 to 2.13.3

    Bumps @napi-rs/cli from 2.11.4 to 2.13.3.

    Release notes

    Sourced from @​napi-rs/cli's releases.

    @​napi-rs/cli@​2.13.3

    2.13.3 (2022-12-15)

    Bug Fixes

    @​napi-rs/cli@​2.13.2

    2.13.2 (2022-12-09)

    Bug Fixes

    • cli: ci template upgrade (bd1d3fe)

    @​napi-rs/cli@​2.13.1

    2.13.1 (2022-12-09)

    Bug Fixes

    @​napi-rs/cli@​2.13.0

    What's Changed

    See https://napi.rs/docs/cross-build/summary

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]...@​napi-rs/cli@​2.13.0

    @​napi-rs/cli@​2.13.0-alpha.0

    2.13.0-alpha.0 (2022-11-17)

    Features

    • cli: auto choose the tooling for cross compiling (7faf4fc)

    @​napi-rs/cli@​2.12.1

    2.12.1 (2022-11-12)

    Bug Fixes

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump @napi-rs/cli from 2.11.4 to 2.13.2

    Bump @napi-rs/cli from 2.11.4 to 2.13.2

    Bumps @napi-rs/cli from 2.11.4 to 2.13.2.

    Release notes

    Sourced from @​napi-rs/cli's releases.

    @​napi-rs/cli@​2.13.2

    2.13.2 (2022-12-09)

    Bug Fixes

    • cli: ci template upgrade (bd1d3fe)

    @​napi-rs/cli@​2.13.1

    2.13.1 (2022-12-09)

    Bug Fixes

    @​napi-rs/cli@​2.13.0

    What's Changed

    See https://napi.rs/docs/cross-build/summary

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]...@​napi-rs/cli@​2.13.0

    @​napi-rs/cli@​2.13.0-alpha.0

    2.13.0-alpha.0 (2022-11-17)

    Features

    • cli: auto choose the tooling for cross compiling (7faf4fc)

    @​napi-rs/cli@​2.12.1

    2.12.1 (2022-11-12)

    Bug Fixes

    • cli: compatible with zig 0.10.0 (32cf02e)
    • cli: incorrent version without npm folder (caeef4a)
    • cli: support help command (#1355) (7f82c95)

    @​napi-rs/cli@​2.12.0

    2.12.0 (2022-10-04)

    Bug Fixes

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump napi from 2.7.0 to 2.10.2

    Bump napi from 2.7.0 to 2.10.2

    Bumps napi from 2.7.0 to 2.10.2.

    Release notes

    Sourced from napi's releases.

    @​napi-rs/cli@​2.10.2

    2.10.2 (2022-07-22)

    Bug Fixes

    • cli: upgrade freebsd ci (ed5fd40)

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/@​napi-rs/cli@​[email protected]

    @​napi-rs/cli@​2.10.1

    2.10.1 (2022-07-06)

    Bug Fixes

    • cli: android CI template (227de9e)

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.10.1

    @​napi-rs/cli@​2.10.0

    What's Changed

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]...@​napi-rs/cli@​2.10.0

    ... (truncated)

    Commits
    • 25fb299 Release independent packages
    • 1cf3263 fix(napi): typed arrays ref shouldn't use offset. (#1376)
    • 573f67b chore(napi-derive): make_ref tweaks (#1371)
    • 618d0f8 fix(napi-derive): unsound behavior while using reference and async together
    • 9189045 build: focal->jammy, llvm-14->llvm-15 (#1369)
    • 9f025ca chore update lockfile
    • f058614 chore: publish
    • 329c81f chore: upgrade yarn version
    • 28be7e2 chore(cli): upgrade Node.js dependencies (#1368)
    • 696c2dd feat(cli): auto choose the tooling for cross compiling (#1367)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 1
  • Bump napi-derive from 2.7.0 to 2.9.2

    Bump napi-derive from 2.7.0 to 2.9.2

    Bumps napi-derive from 2.7.0 to 2.9.2.

    Release notes

    Sourced from napi-derive's releases.

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.9.1

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.9.0

    [email protected]

    What's Changed

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.8.0

    Commits
    • 25fb299 Release independent packages
    • 1cf3263 fix(napi): typed arrays ref shouldn't use offset. (#1376)
    • 573f67b chore(napi-derive): make_ref tweaks (#1371)
    • 618d0f8 fix(napi-derive): unsound behavior while using reference and async together
    • 9189045 build: focal->jammy, llvm-14->llvm-15 (#1369)
    • 9f025ca chore update lockfile
    • f058614 chore: publish
    • 329c81f chore: upgrade yarn version
    • 28be7e2 chore(cli): upgrade Node.js dependencies (#1368)
    • 696c2dd feat(cli): auto choose the tooling for cross compiling (#1367)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 1
  • Bump prettier from 2.7.1 to 2.8.0

    Bump prettier from 2.7.1 to 2.8.0

    Bumps prettier from 2.7.1 to 2.8.0.

    Release notes

    Sourced from prettier's releases.

    2.8.0

    diff

    🔗 Release note

    Changelog

    Sourced from prettier's changelog.

    2.8.0

    diff

    🔗 Release Notes

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump @napi-rs/cli from 2.11.4 to 2.13.0

    Bump @napi-rs/cli from 2.11.4 to 2.13.0

    Bumps @napi-rs/cli from 2.11.4 to 2.13.0.

    Release notes

    Sourced from @​napi-rs/cli's releases.

    @​napi-rs/cli@​2.13.0

    What's Changed

    See https://napi.rs/docs/cross-build/summary

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]...@​napi-rs/cli@​2.13.0

    @​napi-rs/cli@​2.13.0-alpha.0

    2.13.0-alpha.0 (2022-11-17)

    Features

    • cli: auto choose the tooling for cross compiling (7faf4fc)

    @​napi-rs/cli@​2.12.1

    2.12.1 (2022-11-12)

    Bug Fixes

    • cli: compatible with zig 0.10.0 (32cf02e)
    • cli: incorrent version without npm folder (caeef4a)
    • cli: support help command (#1355) (7f82c95)

    @​napi-rs/cli@​2.12.0

    2.12.0 (2022-10-04)

    Bug Fixes

    • cli: custom Cargo (build) target directories (#1300) (f7c26cc)

    Features

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump @napi-rs/cli from 2.11.4 to 2.12.1

    Bump @napi-rs/cli from 2.11.4 to 2.12.1

    Bumps @napi-rs/cli from 2.11.4 to 2.12.1.

    Release notes

    Sourced from @​napi-rs/cli's releases.

    @​napi-rs/cli@​2.12.1

    2.12.1 (2022-11-12)

    Bug Fixes

    • cli: compatible with zig 0.10.0 (32cf02e)
    • cli: incorrent version without npm folder (caeef4a)
    • cli: support help command (#1355) (7f82c95)

    @​napi-rs/cli@​2.12.0

    2.12.0 (2022-10-04)

    Bug Fixes

    • cli: custom Cargo (build) target directories (#1300) (f7c26cc)

    Features

    Commits
    • 62fddac chore: publish
    • ec2c932 Merge pull request #1364 from SASUKE40/fix/cli-version
    • caeef4a fix(cli): incorrent version without npm folder
    • 69f043c Merge pull request #1360 from napi-rs/zig-0.10
    • 32cf02e fix(cli): compatible with zig 0.10.0
    • 0731e00 ci: test for zig 0.10
    • 7f82c95 fix(cli): support help command (#1355)
    • b5cfa93 chore: skip worker_thread test on Linux aarch64 (#1354)
    • c328d8e ci: update docker image monthly
    • 3dde26b chore(napi): including type message in error message (#1350)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump napi from 2.7.0 to 2.10.1

    Bump napi from 2.7.0 to 2.10.1

    Bumps napi from 2.7.0 to 2.10.1.

    Release notes

    Sourced from napi's releases.

    @​napi-rs/cli@​2.10.1

    2.10.1 (2022-07-06)

    Bug Fixes

    • cli: android CI template (227de9e)

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.10.1

    @​napi-rs/cli@​2.10.0

    What's Changed

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]...@​napi-rs/cli@​2.10.0

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.10.0

    [email protected]

    What's Changed

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 1
  • Bump napi from 2.7.0 to 2.10.0

    Bump napi from 2.7.0 to 2.10.0

    Bumps napi from 2.7.0 to 2.10.0.

    Release notes

    Sourced from napi's releases.

    @​napi-rs/cli@​2.10.0

    What's Changed

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]...@​napi-rs/cli@​2.10.0

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.10.0

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.9.1

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.9.1

    @​napi-rs/cli@​2.9.0

    2.9.0 (2022-05-14)

    ... (truncated)

    Commits
    • a12bdc4 Release independent packages
    • a353402 chore: publish
    • 5541d65 feat(napi): add threadsafe deferred values (#1306)
    • 5561502 Merge pull request #1332 from napi-rs/array-buffer-send
    • a5a04a4 fix(napi): make Buffer/ArrayBuffer truely Send/Sync safe
    • a052298 Merge pull request #1331 from napi-rs/pass-in-buffer-leak
    • 6ff69a1 test(memory-testing): adjust buffer tests
    • c76be2f ci: do not throw if docker container stop failed
    • d3fc689 ci: remove clear cargo cache in MSRV job
    • 47de630 fix(napi): should also delete the reference while dropping the Buffer
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 1
  • Bump @napi-rs/cli from 2.11.4 to 2.12.0

    Bump @napi-rs/cli from 2.11.4 to 2.12.0

    Bumps @napi-rs/cli from 2.11.4 to 2.12.0.

    Release notes

    Sourced from @​napi-rs/cli's releases.

    @​napi-rs/cli@​2.12.0

    2.12.0 (2022-10-04)

    Bug Fixes

    • cli: custom Cargo (build) target directories (#1300) (f7c26cc)

    Features

    Commits
    • a353402 chore: publish
    • 5541d65 feat(napi): add threadsafe deferred values (#1306)
    • 5561502 Merge pull request #1332 from napi-rs/array-buffer-send
    • a5a04a4 fix(napi): make Buffer/ArrayBuffer truely Send/Sync safe
    • a052298 Merge pull request #1331 from napi-rs/pass-in-buffer-leak
    • 6ff69a1 test(memory-testing): adjust buffer tests
    • c76be2f ci: do not throw if docker container stop failed
    • d3fc689 ci: remove clear cargo cache in MSRV job
    • 47de630 fix(napi): should also delete the reference while dropping the Buffer
    • 4279291 feat(cli): parse Cargo.toml using cargo metadata (#1330)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 1
  • Bump @napi-rs/cli from 2.11.4 to 2.14.0

    Bump @napi-rs/cli from 2.11.4 to 2.14.0

    Bumps @napi-rs/cli from 2.11.4 to 2.14.0.

    Release notes

    Sourced from @​napi-rs/cli's releases.

    @​napi-rs/cli@​2.14.0

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]...@​napi-rs/cli@​2.14.0

    @​napi-rs/cli@​2.13.3

    2.13.3 (2022-12-15)

    Bug Fixes

    @​napi-rs/cli@​2.13.2

    2.13.2 (2022-12-09)

    Bug Fixes

    • cli: ci template upgrade (bd1d3fe)

    @​napi-rs/cli@​2.13.1

    2.13.1 (2022-12-09)

    Bug Fixes

    @​napi-rs/cli@​2.13.0

    What's Changed

    See https://napi.rs/docs/cross-build/summary

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]...@​napi-rs/cli@​2.13.0

    @​napi-rs/cli@​2.13.0-alpha.0

    2.13.0-alpha.0 (2022-11-17)

    ... (truncated)

    Commits
    • 1e8d20a chore: publish
    • bc41c97 feat(cli): add --zig-link-only option (#1400)
    • 1bcb3a3 Release independent packages
    • ef5dffc fix(napi): add back custom gc for Send Buffer (#1399)
    • e64f1b6 Merge pull request #1397 from skirsdeda/darwin-universal
    • 870552e cli: fix ci-template typo
    • cf68288 cli: universal support for CI template
    • 4832e93 cli: 'artifacts' command small fix
    • fed3584 cli: 'artifacts' command update to deal with universal builds
    • cfd8d3d cli: add 'universal' command
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 0
  • Bump napi from 2.7.0 to 2.10.3

    Bump napi from 2.7.0 to 2.10.3

    Bumps napi from 2.7.0 to 2.10.3.

    Release notes

    Sourced from napi's releases.

    @​napi-rs/cli@​2.10.3

    2.10.3 (2022-07-27)

    Bug Fixes

    • cli: android build due to GitHub Actions environments change (fd2060b)

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.10.3

    @​napi-rs/cli@​2.10.2

    2.10.2 (2022-07-22)

    Bug Fixes

    • cli: upgrade freebsd ci (ed5fd40)

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/@​napi-rs/cli@​[email protected]

    @​napi-rs/cli@​2.10.1

    2.10.1 (2022-07-06)

    Bug Fixes

    • cli: android CI template (227de9e)

    [email protected]

    ... (truncated)

    Commits
    • 1bcb3a3 Release independent packages
    • ef5dffc fix(napi): add back custom gc for Send Buffer (#1399)
    • e64f1b6 Merge pull request #1397 from skirsdeda/darwin-universal
    • 870552e cli: fix ci-template typo
    • cf68288 cli: universal support for CI template
    • 4832e93 cli: 'artifacts' command small fix
    • fed3584 cli: 'artifacts' command update to deal with universal builds
    • cfd8d3d cli: add 'universal' command
    • 2afdfe7 cli: darwin universal support in js-binding-template.ts
    • b8bb2e5 cli: tests
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 0
  • Bump napi-derive from 2.7.0 to 2.9.3

    Bump napi-derive from 2.7.0 to 2.9.3

    Bumps napi-derive from 2.7.0 to 2.9.3.

    Release notes

    Sourced from napi-derive's releases.

    [email protected]

    What's Changed

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.9.3

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.9.1

    [email protected]

    What's Changed

    New Contributors

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.9.0

    [email protected]

    What's Changed

    Full Changelog: https://github.com/napi-rs/napi-rs/compare/[email protected]@2.8.0

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 0
  • Bump prettier from 2.7.1 to 2.8.1

    Bump prettier from 2.7.1 to 2.8.1

    Bumps prettier from 2.7.1 to 2.8.1.

    Release notes

    Sourced from prettier's releases.

    2.8.1

    🔗 Changelog

    2.8.0

    diff

    🔗 Release note

    Changelog

    Sourced from prettier's changelog.

    2.8.1

    diff

    Fix SCSS map in arguments (#9184 by @​agamkrbit)

    // Input
    $display-breakpoints: map-deep-merge(
      (
        "print-only": "only print",
        "screen-only": "only screen",
        "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})",
      ),
      $display-breakpoints
    );
    

    // Prettier 2.8.0 $display-breakpoints: map-deep-merge( ( "print-only": "only print", "screen-only": "only screen", "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, " sm ")-1})", ), $display-breakpoints );

    // Prettier 2.8.1 $display-breakpoints: map-deep-merge( ( "print-only": "only print", "screen-only": "only screen", "xs-only": "only screen and (max-width: #{map-get($grid-breakpoints, "sm")-1})", ), $display-breakpoints );

    Support auto accessors syntax (#13919 by @​sosukesuzuki)

    Support for Auto Accessors Syntax landed in TypeScript 4.9.

    (Doesn't work well with babel-ts parser)

    class Foo {
      accessor foo: number = 3;
    </tr></table> 
    

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies javascript 
    opened by dependabot[bot] 0
  • Bump dprint-plugin-typescript from 0.71.2 to 0.75.0

    Bump dprint-plugin-typescript from 0.71.2 to 0.75.0

    Bumps dprint-plugin-typescript from 0.71.2 to 0.75.0.

    Release notes

    Sourced from dprint-plugin-typescript's releases.

    0.75.0

    Install

    Install and setup dprint.

    Then in your project's dprint configuration file:

    1. Specify the plugin url in the "plugins" array.
    2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
    3. Add a "typescript" configuration property if desired.
      {
        // ...etc...
        "typescript": {
          // TypeScript & JavaScript config goes here
        },
        "includes": [
          "**/*.{ts,tsx,js,jsx,mjs,cjs}"
        ],
        "excludes": [
          "**/node_modules"
        ],
        "plugins": [
          "https://plugins.dprint.dev/typescript-0.75.0.wasm"
        ]
      }
      

    JS Formatting API

    0.74.0

    Install

    Install and setup dprint.

    Then in your project's dprint configuration file:

    1. Specify the plugin url in the "plugins" array.
    2. Ensure .ts, .tsx, .js, .jsx, .mjs, .cjs file extensions are matched in an "includes" pattern.
    3. Add a "typescript" configuration property if desired.
      {
        // ...etc...
        "typescript": {
          // TypeScript & JavaScript config goes here
        },
        "includes": [
      

    ... (truncated)

    Commits
    • 3e76cd1 0.75.0
    • 681090e feat: add doWhileStatement.nextControlFlowPosition (#434)
    • 9f086d0 fix(schema): fix default for taggedTemplate.spaceBeforeLiteral in json schema
    • f9eaae5 docs: Fix casing of Wasm
    • 97cf284 feat(npm): update npm distribution to have getPath export instead
    • 1e14c8b 0.74.0
    • 1cc4b79 fix: maintain trailing comma of empty element in array expression
    • 585547a feat: operatorPosition: maintain should be per token (#428)
    • f06c506 0.73.2
    • b811f08 fix: emit TypeQuery type arguments (#427)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies rust 
    opened by dependabot[bot] 0
  • Ship with json plugin

    Ship with json plugin

    Assuming it's not a huge deal, JSON is common in JS/TS projects, could dprint-node ship with it available as well?

    I tried passing plugins, based on the dprint docs, but looks like that doesn't work:

      const content = dprint.format("config.json", config, {
        plugins: ["https://plugins.dprint.dev/json-0.15.5.wasm"],
      });
    

    As I got an InvalidArg.

    opened by stephenh 0
Releases(v1.0.7)
Owner
Devon Govett
Author of @parcel-bundler. Engineer @adobe. Previously @Livefyre and @storify.
Devon Govett
A node and runtime configuration for polkadot node.

MANTA NODE This repo is a fresh FRAME-based Substrate node, forked from substrate-developer-hub/substrate-node-templte ?? It links to pallet-manta-dap

Manta Network 14 Apr 25, 2021
Sample lightning node command-line app built on top of Ldk Node (similar to ldk-sample).

ldk-node-sample Sample lightning node command-line app built on top of Ldk Node (similar to ldk-sample ). Installation git clone https://github.com/op

optout 3 Nov 21, 2023
Write Anchor-compatible Solana programs in TypeScript

Axolotl Write Achor-compatible Solana programs using TypeScript. Writing Rust is hard, but safe. It's also the go-to language for writing Solana progr

Anthony Morris 17 Nov 27, 2022
A Secure Capability-Based Runtime for JavaScript Based on Deno

Secure Runtime secure-runtime, as the name implies, is a secure runtime for JavaScript, designed for the multi-tenant serverless environment. It is an

Gigamono 7 Oct 7, 2022
A modern runtime for javascript.

Just NOTICE: README LINKS AND SITE ARE WIP. LINKS MAY NOT WORK Just is a simple, and modern runtime for JavaScript that uses V8 and is built in Rust.

Exact Labs 6 Dec 15, 2022
Write Extism plugins in JavaScript (Experimental)

Extism JavaScript PDK Note: This is very experimental. If you are interested in helping or following development, join the #js-pdk room in our discord

Extism 6 Jan 18, 2023
⋰·⋰ Feeless is a Nano cryptocurrency node, wallet, tools, and Rust crate.

⋰·⋰ Feeless What is Feeless? Feeless is a Nano cryptocurrency node, wallet, tools, and Rust crate. This is not the official project for Nano, only an

null 127 Dec 5, 2022
Open source Rust implementation of the Witnet decentralized oracle protocol, including full node and wallet backend 👁️🦀

witnet-rust is an open source implementation of the Witnet Decentralized Oracle Network protocol written in Rust. Components witnet-rust implements ma

The Witnet Project 155 Nov 21, 2022
Parser and test runner for testing compatable common Ethereum full node tests against Polygon Zero's EVM.

EVM Test Parses and runs compatible common Ethereum tests from ethereum/tests against Polygon Zero's EVM. Note: This repo is currently very early in d

Mir Protocol 3 Nov 4, 2022
hello-world geyser plugin to stream accounts and transactions from a solana node

src/lib.rs: entrypoint src/plugin.rs: main plugin code to run: cargo build && solana-test-validator -r --geyser-plugin-config config.json note: make s

null 4 Nov 18, 2022
Faterium Substrate Node, Runtime, and Pallets. Contains "faterium-polls-pallet" with logic of Faterium Polls.

Faterium Substrate Node Faterium - a place where fates are forged. This is the official implementation of Faterium Crowdfunding Polls in Rust as Subst

Faterium 3 Dec 15, 2022
Polkadot Node Implementation

Polkadot Implementation of a https://polkadot.network node in Rust based on the Substrate framework. NOTE: In 2018, we split our implementation of "Po

Parity Technologies 6.5k Jan 6, 2023
Statemint Node Implementation

Statemint Implementation of Statemint, a blockchain to support generic assets in the Polkadot and Kusama networks. Statemint will allow users to: Depl

Parity Technologies 72 Oct 30, 2022
Basilisk node - cross-chain liquidity protocol built on Substrate

Basilisk node Local Development Follow these steps to prepare a local Substrate development environment ??️ Simple Setup Install all the required depe

Galactic Council 52 Dec 27, 2022
Substrate Node for Anmol Network

Anmol Substrate Node ?? ??️ ?? Anmol is the First Cross-Chain NFT Toolkit, on Polkadot. Introducing: Moulds NFT Breeding Multi-Chain NFT Migration ink

Anmol Network 12 Aug 28, 2022
Manager for single node Rancher clusters

Bovine Manage single node Rancher clusters with a single binary, bovine. % bovine run Pulling [rancher/rancher:latest], this may take awhile... Ranche

Nick Gerace 51 Feb 17, 2022
Minimal Substrate node configured for smart contracts via pallet-contracts.

substrate-contracts-node This repository contains Substrate's node-template configured to include Substrate's pallet-contracts ‒ a smart contract modu

Parity Technologies 73 Dec 30, 2022
Trinci blockchain node

TRINCI TRINCI Blockchain Node. Requirements The required dependencies to build correctly the project are the following: clang libclang-dev (ver. 11 su

Affidaty S.p.A. 5 Sep 26, 2022
Substrate Node Template Generator

Substrate Node Template Generator A tool to generate stand-alone node templates of a customized Substrate clients used in "Substrate Library Extension

Parity Technologies 2 Feb 11, 2022