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

Bump yaml from 1.10.2 to 2.0.1 #206

Merged
merged 2 commits into from Apr 20, 2022
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 20, 2022

Bumps yaml from 1.10.2 to 2.0.1.

Release notes

Sourced from yaml's releases.

v2.0.1

  • Fix tags and anchors on map keys (#378)

v2.0.0

This update has been in the works for the last year and a half. Its prerelease versions have been thoroughly tested by a wide number of users, and I think it's finally ready for "actual" release, for use in the mythical "production".

The breaking changes introduced here are mostly originating from the v1 CST parser having become a rather difficult beast to work with. So it's here rewritten pretty much completely, now with a lexer as a first stage. Along the way, the whole project was rewritten in TypeScript and the export paths and options refactored pretty deeply.

If you've been using the library just via its parse(), parseDocument() and stringify() functions, then it's quite likely that none of the changes affect your experience in any way. However, if you've been doing something more involved, then I would strongly recommend that you review the library's documentation site for the v2 docs.

Going forward, it's finally time to start experimenting with new YAML spec features that may eventually be included in YAML 1.3 and later. Those will be made available by specifying the version: 'next' option. However, beware! Any features available this way may be removed or have their API broken by any minor release of this library, and no compatibility guarantees with other libraries are given. In general, semver compatibility is guaranteed for features that are explicitly included in the documentation; everything else should be considered as internal implementation details.

The following is an overview of the breaking changes and new features introduced in each of the prerelease steps leading up to this release; the individual releases' notes and the PRs will contain more detail, along with specific migration guides.

BREAKING CHANGES

v2.0.0-0

  • Drop deprecated end points, members, options & defaults (#171)
  • Breaking changes to Document & createNode APIs (#186)
  • When creating a mapping from a JS Object, drop undefined values (#173)
  • Retain existing nodes when using set() in mappings & sequences (#185)

v2.0.0-1

  • Improve JSON compatibility (#189)
  • Refactor tag resolve() API (#201)

v2.0.0-3

  • Drop 'yaml/parse-cst' endpoint (#223)
  • Update build configs & minimum supported versions (#224)

v2.0.0-4

  • Refactor options (#235)
  • Refactor parsing completely (#203)
  • Merge all of 'yaml/types' and some of 'yaml/util' into 'yaml' (#234)
  • Refactor node identification (#233)
  • Drop type property from all but Scalar nodes (#240)
  • Refactor as TypeScript (#233)

v2.0.0-5

  • Make anchor & alias resolution lazier (#248)
  • Split flow collections into items in Parser (#249)
  • Make Pair not extend NodeBase; drop its prop forwarding (#245, #250)
  • Rename the tokens namespace as CST (#252)
  • Turn the Lexer, Parser & Composer into generators (#253)
  • Refactor Node range as [start, value-end, node-end] (#259)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner Apr 20, 2022
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Apr 20, 2022
@brrygrdn
Copy link
Member

brrygrdn commented Apr 20, 2022

@dependabot rebase

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/yaml-2.0.1 branch from 2b0548b to 496d855 Compare Apr 20, 2022
@brrygrdn brrygrdn enabled auto-merge Apr 20, 2022
Bumps [yaml](https://github.com/eemeli/yaml) from 1.10.2 to 2.0.1.
- [Release notes](https://github.com/eemeli/yaml/releases)
- [Commits](eemeli/yaml@v1.10.2...v2.0.1)

---
updated-dependencies:
- dependency-name: yaml
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@brrygrdn brrygrdn force-pushed the dependabot/npm_and_yarn/yaml-2.0.1 branch from 496d855 to f2c104e Compare Apr 20, 2022
brrygrdn
brrygrdn previously approved these changes Apr 20, 2022
@brrygrdn brrygrdn force-pushed the dependabot/npm_and_yarn/yaml-2.0.1 branch from f2c104e to b1d2cf8 Compare Apr 20, 2022
@brrygrdn brrygrdn merged commit 58f09fc into main Apr 20, 2022
5 checks passed
@brrygrdn brrygrdn deleted the dependabot/npm_and_yarn/yaml-2.0.1 branch Apr 20, 2022
@brrygrdn brrygrdn mentioned this pull request Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant