yaml-loader

YAML loader for webpack

MIT License

Downloads
2.1M
Stars
150

Bot releases are visible (Hide)

yaml-loader - Latest Release

Published by eemeli 8 months ago

  • Fix namespace query handling (#57)
yaml-loader -

Published by eemeli over 2 years ago

Breaking Changes

  • Require Node.js 12.13 or later

Other Changes

  • Improve error for missing asStream option
yaml-loader -

Published by eemeli over 2 years ago

Breaking Changes

  • Output JavaScript source by default, rather than JSON (#27)
  • With the update to yaml@2, some of its options change (#44)
  • Require Node.js 10.14.2 or later (d9f769f)

Other Changes

  • Update dependencies
yaml-loader -

Published by eemeli over 4 years ago

Breaking Changes

  • Replace js-yaml dependency with yaml
    It's possible that js-yaml has been parsing some invalid YAML as actually valid, so there's a chance that not absolutely everything will work as previously.

  • Drop output JSON prettification
    This changes the appearance of the loader's output, as it's no longer multiline and tab-indented.

New Features

  • Add asStream option (#20)
  • Support YAML.parse options, default to prettyErrors: true
  • Throw rather than emit errors
  • Load only a subtree of the YAML file with namespace (#9)

Other Changes

  • chore: Update dependencies
  • ci: Add Travis CI testing
  • perf: Drop this.cacheable() call as obsolete
  • test: Add tests (#17)
  • docs: Update README.md (#21)
  • docs: Update LICENSE with "Copyright Eemeli Aro and other contributors"