Unified Versions Save

☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees

10.0.0-beta.1

2 years ago

Breaking

  • dc46bc5 Use ESM and update vfile
    • Breaking: this updates vfile, which importantly renames vfile.contents to vfile.value. See vfile@5
    • Inconsequential: this updates trough, which removes support for Promise-like objects returned from plugins, in favor of only support actual promises. To update, instead of returning an object with a then function, return and actual promise

Types

  • 45eb72e Update types for ESM
  • 2c7ba99 8eda349 Add explicit dependency on @types/unist
  • 0e8f611 Remove typescript@3 legacy support
  • b22bf8e Add support for buffer, other return values
  • 4bfd6c8 Add support for boolean plugin options

Project

  • 88374fc Add esast to list of syntax trees
  • a6ff3c1 Fix links
  • ee6ee47 Update examples in readme.md
  • 32abf7c 60de570 115898a Refactor code style

(this should be what will go in v10)

9.2.2

2 years ago
  • bc50a01 Fix to set vfile.value if a vfile@5 is given

9.2.1

3 years ago
  • fe51be2 Fix mutating options
  • 8f135d0 Refactor to improve bundle size
  • ad12369 Remove outdated description of compile results

9.2.0

3 years ago
  • 7fc4271 Add variadic tuple types for plugin tuple

9.1.0

3 years ago
  • 56fdba4 Add FrozenProcessor interface to types

9.0.0

4 years ago
  • c3ba172 Set file.result when processing to non-text (breaking, if you’re using .process or .processSync with a compiler that returns an object, then those results were available at file.contents and are now at file.result)

8.4.2

4 years ago
  • 2a7138c Add funding field to package.json

8.4.1

4 years ago
  • 9786410 Fix dtslint
  • 7086cef Fix transformer return type

8.4.0

4 years ago
  • 9ccc470 Update website
  • dbabe8b Update sponsors
  • f4f8ffd Add type tests for parser, compiler plugins
  • 12e0adc Refactor to use more of vfile’s typings

8.3.2

4 years ago
  • 6d4c01c Fix types of Parser, Compiler