github marko-js/marko marko@5.27.0

latest releases: @marko/babel-utils@6.5.1, @marko/translator-tags@0.2.2, @marko/translator-default@6.0.5...
12 months ago

Minor Changes

  • #1980 9d3b34eef Thanks @DylanPiercey! - Allow parse errors to be recovered from by migrations. This adds a new ast node type of MarkoParseError.
    MarkoParseError nodes can be removed during the migration stage to handle legacy syntaxes. Any MarkoParseError
    left in the AST at the end of the migration phase will throw an error similar to what it would have previously
    thrown synchronously.

    This also means that all parse errors can be surfaced as an aggregate error instead of bailing on the first
    parse error. When the compiler is ran with errorRecovery: true these errors become diagnostics instead of
    being thrown.

Patch Changes

  • #1980 20deb5699 Thanks @DylanPiercey! - Fix issue that could happen if DOMContentLoaded was manually invoked multiple times.

  • Updated dependencies [9d3b34eef]:

    • @marko/translator-default@5.27.0
    • @marko/compiler@5.29.0

Don't miss a new marko release

NewReleases is sending notifications on new releases.