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 micromatch and globby in /scripts/native-pack-tool #17587

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 29, 2024

Bumps micromatch to 4.0.8 and updates ancestor dependency globby. These dependencies need to be updated together.

Updates micromatch from 3.1.10 to 4.0.8

Release notes

Sourced from micromatch's releases.

4.0.8

Ultimate release that fixes both CVE-2024-4067 and CVE-2024-4068. We consider the issues low-priority, so even if you see automated scanners saying otherwise, don't be scared.

4.0.4

  • fix: Update picomatch to fix regression #179 (8becb55)

4.0.3

  • Enforce newer version of picomatch with bugfixes
Changelog

Sourced from micromatch's changelog.

[4.0.8] - 2024-08-22

[4.0.7] - 2024-05-22

  • this is basically v4.0.5, with some README updates
  • it is vulnerable to CVE-2024-4067
  • Updated braces to v3.0.3 to avoid CVE-2024-4068
  • does NOT break API compatibility

[4.0.6] - 2024-05-21

  • Added hasBraces to check if a pattern contains braces.
  • Fixes CVE-2024-4067
  • BREAKS API COMPATIBILITY
  • Should be labeled as a major release, but it's not.

[4.0.1 - 4.0.5]

[4.0.0] - 2019-03-20

Added

  • Adds support for options.onMatch. See the readme for details
  • Adds support for options.onIgnore. See the readme for details
  • Adds support for options.onResult. See the readme for details

Breaking changes

  • Require Node.js >= 8.6
  • Removed support for passing an array of brace patterns to micromatch.braces().
  • To strictly enforce closing brackets (for {, [, and (), you must now use strictBrackets=true instead of strictErrors.
  • cache - caching and all related options and methods have been removed
  • options.unixify was renamed to options.windows
  • options.nodupes Was removed. Duplicates are always removed by default. You can override this with custom behavior by using the onMatch, onResult and onIgnore functions.
  • options.snapdragon was removed, as snapdragon is no longer used.
  • options.sourcemap was removed, as snapdragon is no longer used, which provided sourcemap support.

[3.0.0] - 2017-04-11

Complete overhaul, with 36,000+ new unit tests validated against actual output generated by Bash and minimatch. More specifically, 35,000+ of the tests:

  • micromatch results are directly compared to bash results
  • in rare cases, when micromatch and bash disagree, micromatch's results are compared to minimatch's results
  • micromatch is much more accurate than minimatch, so there were cases where I had to make assumptions. I'll try to document these.

This refactor introduces a parser and compiler that are supersets of more granular parsers and compilers from other sub-modules. Each of these sub-modules has a singular responsibility and focuses on a certain type of matching that aligns with a specific part of the Bash "expansion" API.

These sub-modules work like plugins to seamlessly create the micromatch parser/compiler, so that strings are parsed in one pass, an AST is created, then a new string is generated by the compiler.

... (truncated)

Commits

Updates globby from 8.0.2 to 14.0.2

Release notes

Sourced from globby's releases.

v14.0.2

  • Fix types f600250

sindresorhus/globby@v14.0.1...v14.0.2

v14.0.1

  • Fix expandDirectories.extension option (#263) af5d139
  • Fix read permission error on ignore files search (#259) 3a28601

sindresorhus/globby@v14.0.0...v14.0.1

v14.0.0

Breaking

  • Require Node.js 18 2c06ae5

Improvements

sindresorhus/globby@v13.2.2...v14.0.0

v13.2.2

  • Update dependencies (#253) 0ae43b9

sindresorhus/globby@v13.2.1...v13.2.2

v13.2.1

  • Fix ignore and expandDirectories default handling (#252) 3a48eb9

sindresorhus/globby@v13.2.0...v13.2.1

v13.2.0

  • Pass deep option to ignore filter to avoid unnecessary recursion (#251) a0e4028

sindresorhus/globby@v13.1.4...v13.2.0

v13.1.4

  • Fix error when reading inaccessible directories with gitignore: true and suppressErrors: true (#246) e95da57
  • Remove URL TypeScript type workaround (#230) 55a3c64

sindresorhus/globby@v13.1.3...v13.1.4

v13.1.3

  • Fix an edge-case bug (#242) 917670c

sindresorhus/globby@v13.1.2...v13.1.3

v13.1.2

  • Make ignoreFiles option accept readonly arrays (#235) 810caae

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Greptile Summary

This pull request updates the globby dependency from version 8.0.2 to 14.0.2 in the native-pack-tool, which is a significant version jump that may introduce breaking changes and new features.

  • Updated globby to version 14.0.2 in /scripts/native-pack-tool/package.json, potentially affecting file globbing in the native packing process
  • New convertPathToPattern() method added in globby v14.0.0, which could be useful for path handling
  • Breaking change: globby v14.0.0 now requires Node.js 18 or later
  • Improved error handling for inaccessible directories with gitignore: true and suppressErrors: true options
  • Fixed issues with expandDirectories.extension option and ignore files search in recent globby versions

Bumps [micromatch](https://github.com/micromatch/micromatch) to 4.0.8 and updates ancestor dependency [globby](https://github.com/sindresorhus/globby). These dependencies need to be updated together.


Updates `micromatch` from 3.1.10 to 4.0.8
- [Release notes](https://github.com/micromatch/micromatch/releases)
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/micromatch@3.1.10...4.0.8)

Updates `globby` from 8.0.2 to 14.0.2
- [Release notes](https://github.com/sindresorhus/globby/releases)
- [Commits](sindresorhus/globby@v8.0.2...v14.0.2)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
- dependency-name: globby
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 29, 2024
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

Interface Check Report

This pull request does not change any public interfaces !

@minggo minggo closed this Sep 5, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 5, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/scripts/native-pack-tool/multi-73f38ad6f0 branch September 5, 2024 09:37
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant