basics / code-snippet-to-svg

MIT License
1 stars 1 forks source link

Update fast-glob to the latest version ๐Ÿš€ #18

Open greenkeeper[bot] opened 5 years ago

greenkeeper[bot] commented 5 years ago

The dependency fast-glob was updated from 2.2.7 to 3.0.0.

This version is not covered by your current version range.

If you donโ€™t accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.


Release Notes for 3.0.0

๐ŸŒฎ Thanks

๐Ÿ“‘ Summary

This release aims to fix architectural issues, increase performance and reduce size of package.

๐Ÿ’ฃ Breaking changes

Since this is a major release, we are introducing a few breaking changes:

  • Support for the fast-glob@2 is ending.
  • Require Node.js 8+. But we recommend using 10.10+ for performance issues.
  • Only forward-slashes in glob expression. Previously, we convert all slashes to the forward-slashes, which did not allow the use of escaping. See pattern syntax section in the README.md file.
  • Removed options: nobrace, noglobstar, noext, nocase, transform.
  • Renamed options:
  • The deep option now accepts only number type and default value now is Infinity instead of true.
  • The async method was removed. Use fg(/* โ€ฆ */) instead.
  • The type of returned object when the stats option is enabled is completely changed.

๐Ÿ› Bug fixes

  • After update from micromatch@3 to micromatch@4:
    • Incorrect matching with curly braces and globstar (#159).
    • Inaccurate comparison within a regular expression (#123, #138).
    • A very long initialization time of filters (#92).
  • Now we do not convert slashes in the patterns (#173).
  • Previously, the baseNameMatch option never worked (#199).

๐Ÿš€ Improvements

๐Ÿ’ฌ Common

  • Package size after installation is decreased: 2.47MB โ†’ 0.42MB.
  • Package require time decreased: 534ms โ†’ 78ms.

๐ŸŒช Speed

Wow! The new version is very fast. At least twice as fast as the previous version. Probably this is the fastest solution in the Node.js world. And that's not all! We will work on performance issues in the future ๐Ÿข.

  • Speed up between versions for directory with 265k entries: 5x (19s โ†’ 4s).
  • Speed up between versions for directory with 4kk entries: 4x (4m โ†’ 1m).

Look at the benchmarks section in the README.md file.

โš™๏ธ Flexibility

Also in this release we have worked on simplifying some scenarios.

Now, thanks to the new mechanism, you can get the type of entry without additional costs! Works only on Node.js 10.10+. Look at the objectMode option.

๐Ÿค• Known issues in this update

Commits

The new version differs by 114 commits ahead by 114, behind by 6.

  • 03201ed fix(settings): set the concurrency option to count of CPUs
  • d777111 build(package): drop unused dependencies
  • e62d2d1 build(package): bump version to 3.0.0
  • caeeda9 Merge pull request #203 from mrmlnc/ISSUE-155_update_documentation
  • 27ae4b2 docs(settings): update description of options
  • 1f853bc docs(readme): update documentation
  • 0ba6dc0 refactor(benchmark): update suites
  • c1d686c refactor(index): export some userful types
  • d64c24f build(benchmark): add suite for stream API
  • 40a1096 Merge pull request #202 from mrmlnc/ISSUE-181_async_method_as_default_method
  • ccde25e refactor: set async method as default method
  • 87ed886 Merge pull request #201 from mrmlnc/issue-199_match_base_fix
  • 68133f8 fix: the baseNameMatch option now work
  • f4c443a refactor: matchBase โ†’ baseNameMatch
  • c58ba78 test(smoke): add some smoke tests

There are 114 commits in total.

See the full diff

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donโ€™t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper bot :palm_tree:

greenkeeper[bot] commented 5 years ago

Update to this version instead ๐Ÿš€

Release Notes for 3.0.1

๐Ÿ’ฌ Common

Commits

The new version differs by 5 commits.

  • 106bd9f build(package): bump version to 3.0.1
  • c2a038a docs(README): fix typo
  • 17377c1 docs(README): add some missed links to options
  • c01dad2 Merge pull request #206 from zkochan/patch-2
  • 66a4a29 fix: don't export types from deps

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead ๐Ÿš€

greenkeeper[bot] commented 5 years ago

Update to this version instead ๐Ÿš€

greenkeeper[bot] commented 5 years ago

Update to this version instead ๐Ÿš€

greenkeeper[bot] commented 5 years ago

Update to this version instead ๐Ÿš€

greenkeeper[bot] commented 4 years ago

Update to this version instead ๐Ÿš€

greenkeeper[bot] commented 4 years ago

Update to this version instead ๐Ÿš€

greenkeeper[bot] commented 4 years ago

Update to this version instead ๐Ÿš€

greenkeeper[bot] commented 4 years ago

Update to this version instead ๐Ÿš€