rucken / core-nestjs

A simple application demonstrating the basic usage of permissions with NestJS (JWT, Passport, Facebook, Google+, User, Group, Permission)
https://core-nestjs.rucken.ru/swagger
MIT License
398 stars 64 forks source link

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

Open greenkeeper[bot] opened 5 years ago

greenkeeper[bot] commented 5 years ago

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

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 2.2.7

Another release of bug fixes

๐Ÿ“– Documentation

  • Added description of how to work with UNC paths (#89)
  • The ignore option takes an array (#184 โ€” thanks @lukeis for contributing)
  • Clarify description of the case option.

๐Ÿ› Bug Fixes

Paths not resolved in some cases (#157)

Thanks @stevenvachon for issue reporting ๐ŸŽ‰

If the user has passed a . or .. and the absolute option is enabled,
the paths of the found entries were not absolute (they contained . or `..).

before

fg.sync('/project/temp/../*.js', { absolute: true }); // โ†’ ['/project/temp/../something.js']

after

fg.sync('/project/temp/../*.js', { absolute: true }); // โ†’ ['/project/something.js']

The case option not work with static patterns (#172)

Thanks @davidmerfield for issue reporting ๐ŸŽ‰

For performance reasons with fast-glob@2.1.0 we introduce static patterns (patterns without glob magic).

Unfortunately, then we forgot about supporting the case (nocase) option. Now the case option works fine with static patterns too. We also improved the documentation for this option.

directory/
  - file.txt
  - File.txt

before

fg.sync('file.txt', { case: false }) // โ†’ ['file.txt']

after

fg.sync('file.txt', { case: false }) // โ†’ ['file.txt', 'File.txt']

Question mark is not recognized as dynamic glob and fails to find files (#174)

Thanks @vladshcherbin for issue reporting and contributing ๐ŸŽ‰

This is also related to static patterns.

Previously we mark patterns like assets/?ss.css to static and tried to find such file on file system. Now it will works fine.

before

fg.sync('assets/?ss.css'); // โ†’ []

after

fg.sync('assets/?ss.css'); // โ†’ ['asserts/css.css']
Commits

The new version differs by 21 commits.

  • 85e42c3 build(package): bump version to 2.2.7
  • a0af28e docs(readme): how to use UNC path
  • 3ea4d8e fix(tasks): always mark patterns as dynamic with case-insensitive mode
  • b22e7be fix(providers): resolve path even for absolute filepath
  • 319b64d Add test for question mark glob
  • 7f259e6 Set is-glob strict to false
  • 62c0fbf Merge pull request #164 from mrmlnc/ISSUE-151_improve_documentation_about_entry_type
  • e7315d7 Merge pull request #165 from mrmlnc/TRIVIAL_update_deps
  • 52cec04 docs(README): clarify return type (fix #151)
  • 8b725de build: drop CI for Node.js 4
  • c41fe33 build: fix build issue after update dependencies
  • 5000834 build: update @types/node
  • 2ed70e8 style(index): use T[] instead of Array<T>
  • 5376d66 Merge pull request #150 from mrmlnc/update_tslint_config
  • a0bb8dd build: update "tslint-config-mrmlnc" to 2.0.0

There are 21 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.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

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 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 ๐Ÿš€