Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor tag resolve() API #201

Merged
merged 7 commits into from Oct 5, 2020
Merged

Refactor tag resolve() API #201

merged 7 commits into from Oct 5, 2020

Commits on Oct 3, 2020

  1. Copy the full SHA
    a7bdc00 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    04b2d65 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    a713b36 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    4309d78 View commit details
    Browse the repository at this point in the history
  5. Refactor tag resolve() interface

    BREAKING CHANGE: All tag resolvers are now called with two arguments:
    - value: string | YAMLMap | YAMLSeq
    - onError(message: string): void
    with the value being determined solely by the node's shape, rather than
    any explicit tag it may have.
    eemeli committed Oct 3, 2020
    Copy the full SHA
    6eecd50 View commit details
    Browse the repository at this point in the history
  6. Drop exports of { parseMap, parseSeq } from 'yaml/util'

    BREAKING CHANGE: With the change in the tag resolver API, these
    functions are no longer useful when writing custom tags.
    eemeli committed Oct 3, 2020
    Copy the full SHA
    79c8f6f View commit details
    Browse the repository at this point in the history
  7. Satisfy lint

    eemeli committed Oct 3, 2020
    Copy the full SHA
    22894a4 View commit details
    Browse the repository at this point in the history