Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elm-format

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elm-format - npm Package Versions

23

0.8.7

Diff

Changelog

Source

0.8.7

New features:

  • case ... then is now auto-corrected to case ... of
  • => is now auto-corrected to ->

Bug fixes:

  • Top-level declarations named "infix" no longer make files unprocessable
  • The npm installer should now work correctly on Windows (was broken for 0.8.6)
avh4
published 0.8.7-rc.1 •

avh4
published 0.8.6-windows •

avh4
published 0.8.6 •

Changelog

Source

0.8.6

New features:

  • File are now processed in parallel

Bug fixes:

  • module exposing listings containing comments no longer add extra leading spaces
  • Redundant import aliases (when the alias is the same as the module name) are now removed

Other changes:

  • Native binaries are now provided for MacOS ARM64 (previous versions required Rosetta)
  • Native (statically-linked) binaries are now provided for Linux ARM64 (aarch64)
  • The npm installer now has zero dependencies
  • Performance optimization, making use of Elm 0.19's parser, thanks to @emmabastas's contributions via Google Summer of Code
avh4
published 0.8.6-rc.1 •

avh4
published 0.8.5 •

Changelog

Source

0.8.5

Feature changes:

  • Detailed error messages for syntax errors have been removed. Use elm make to see a detailed error if elm-format fails.

New features:

  • In module and import lines, exposing is automatically added if missing

Other changes:

  • The npm installer now provides a (Rosetta) binary for Mac ARM64
  • Linux binaries are now statically linked (should now work on alpine linux and other systems without glibc-2.27)
  • Removed --upgrade (now use elm-refactor instead)
avh4
published 0.8.5-rc1 •

avh4
published 0.8.4 •

Changelog

Source

0.8.4

New features:

  • newlines in tuple types are now preserved
  • newlines in type constructor application are now preserved

Bug fixes:

  • negative hex int literals are now handled correctly
  • in doc comments, special characters in link text are now handled more correctly
  • in doc comments, non-Elm code blocks are no longer elm-formatted
  • in doc comments, inline code containing backticks is now escaped correctly
  • in doc comments, relative links with text matching the relative URL are now handled correctly

Other changes:

  • dropped support for 32-bit Windows (Windows CI platforms are no longer supporting it)
avh4
published 0.8.3 •

Changelog

Source

0.8.3

Bug fixes:

  • performance is improved, allowing excessively long lists to be formatted without crashing
avh4
published 0.8.2 •

Changelog

Source

0.8.2

New features:

  • Invalid (..) in @docs lines are automatically removed.
  • When not specifying --elm-version, if auto-detection fails, Elm 0.19 will be assumed instead of failing with an error.
  • module lines with no exposing clause will have the clause automatically generated.

Feature changes:

  • exposing (..) in module lines is no longer expanded.

Bug fixes:

  • Error messages are now correctly written to stderr.
  • Literal tabs are now allowed in String and Char literals, as is allowed by Elm 0.19.
  • Char literals immediately following variable names are now correctly handled for Elm 0.19.
  • Empty record patterns (allowed by Elm 0.19) are now correctly handled.
  • Doc comment code blocks containing only a valid Elm module line no longer cause a crash.
  • module lines in doc comment code blocks are no longer removed.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc