Skip to content

Bump micromatch from 4.0.4 to 4.0.8 in the npm_and_yarn group across 1 directory - #6

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/npm_and_yarn-07a849e1ae
Closed

Bump micromatch from 4.0.4 to 4.0.8 in the npm_and_yarn group across 1 directory#6
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/npm_and_yarn-07a849e1ae

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Feb 1, 2025

Copy link
Copy Markdown

Bumps the npm_and_yarn group with 1 update in the / directory: micromatch.

Updates micromatch from 4.0.4 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.

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

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps the npm_and_yarn group with 1 update in the / directory: [micromatch](https://github.com/micromatch/micromatch).


Updates `micromatch` from 4.0.4 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@4.0.4...4.0.8)

---
updated-dependencies:
- dependency-name: micromatch
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Feb 1, 2025
@dependabot @github

dependabot Bot commented on behalf of github Feb 1, 2025

Copy link
Copy Markdown
Author

Superseded by #8.

@dependabot dependabot Bot closed this Feb 1, 2025
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/npm_and_yarn-07a849e1ae branch February 1, 2025 18:03
LoveAndCoding pushed a commit that referenced this pull request Jul 17, 2026
Addresses the remaining High findings + connection Mediums/Lows (all
verified real except one disproven; each revert-verified with tests):
- HIGH #4: parser/lexer/pipeline 'error' events now route through
  onPipelineError → controlled connection teardown (was uncaught →
  process crash; the amplifier behind the two parser-crash Criticals).
- HIGH #5: compression codec errors now force a real teardown via the
  socket close cascade (was a silent permanent wedge — connected stayed
  true, reads dead, writes fed a destroyed deflate).
- HIGH #6: STARTTLS/COMPRESS/UNAUTHENTICATE negotiations + CAPABILITY
  round trips bounded by a command timeout (ImapClientTimeouts.command
  is now actually wired through; was dead config) — a silent server no
  longer hangs connect() forever.
- HIGH #7: CommandQueue gained a stopped flag; add-after-stop rejects
  synchronously instead of parking forever (and can't dispatch a stale
  command against a reconnected socket); unauthenticate() got the
  missing !this.socket guard.
- HIGH #9: _logoutPromise cleared in the disconnected bridge — logout()
  after reconnect actually sends LOGOUT and tears down (was a stale
  resolved-promise no-op leaving a live authenticated connection).
- Capability epochs (I-2): connection-local registry invalidated on
  COMPRESS/UNAUTHENTICATE; new secureUpgrade event invalidates the
  client registry the instant STARTTLS succeeds.
- Also: implicit-TLS connect() re-entrancy guard; stale STARTTLS-swap
  error listener detached; boundary-injection split-write hardening
  (postBoundaryDiscard) + topology-surgery-throw guards that always
  release the queue; disconnect() awaits real socket close;
  authenticate()/logout() race maps to a typed StateError;
  decompression-bomb output cap (256 MiB); updates() iterator
  listener-leak on the CapabilityError join-reject path; replace.ts
  binary now gated on BINARY/IMAP4rev2; ALERT stray-space trust-marking
  bypass tightened; two throw-site server-text sanitizations.

Escape-hatch cleartext-credential bypass: doc-strengthened, not
functionally guarded (a real fix needs a CommandWriter-level
security-context plumb-through — architecturally significant, flagged
for follow-up). assertIn() dead-code finding DISPROVEN (it is live and
tested in state.ts). Negotiation FIN-detection: timeout bound judged
sufficient; instant-FIN reaction flagged as a larger follow-up.

Tests 2053 pass (+34 files), typecheck 0, eslint 0 errors, compliance
per-row identical (1138/6/2/451, problems []). The 22 raw compliance
vitest failures are pre-existing (8 adjudicated rows + 14 driver-env/
import-hygiene carry-forwards) — verified byte-identical with these
changes reverted.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Jvj25KC7SRUFHsyTzswqsW
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.

0 participants