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

Merge 'yaml/types' into 'yaml' & fiddle with 'yaml/util' #234

Merged
merged 6 commits into from Mar 6, 2021
Merged

Commits on Feb 27, 2021

  1. Merge 'yaml/types' into 'yaml'

    BREAKING CHANGE: Imports previously available from 'yaml/types' are now
    provided from 'yaml':
    
    -import { Alias, Merge, Pair, Scalar, YAMLMap, YAMLSeq } from 'yaml/types'
    +import { Alias, Merge, Pair, Scalar, YAMLMap, YAMLSeq } from 'yaml'
    
    -import { binaryOptions, boolOptions, intOptions, nullOptions, strOptions } from 'yaml/types'
    +import { scalarOptions } from 'yaml'
    +const boolOptions = scalarOptions.bool
    eemeli committed Feb 27, 2021
    Copy the full SHA
    07cee5c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    6a7a763 View commit details
    Browse the repository at this point in the history
  3. Move Type enum & error exports from 'yaml/util' to 'yaml'

    BREAKING CHANGE: Users will need to update their imports:
    
    -import { Type, YAMLError, YAMLParseError, YAMLWarning } from 'yaml/util'
    +import { Type, YAMLError, YAMLParseError, YAMLWarning } from 'yaml'
    eemeli committed Feb 27, 2021
    Copy the full SHA
    caa25a9 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    72f0469 View commit details
    Browse the repository at this point in the history
  5. Fix import paths for tests

    eemeli committed Feb 27, 2021
    Copy the full SHA
    815e668 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    107f06b View commit details
    Browse the repository at this point in the history