Skip to content

chore: upgrade glob and patch brace-expansion CVE#69

Merged
Starllordz merged 1 commit into
1.3.4from
fix/packages-upgrade
May 25, 2026
Merged

chore: upgrade glob and patch brace-expansion CVE#69
Starllordz merged 1 commit into
1.3.4from
fix/packages-upgrade

Conversation

@Starllordz

@Starllordz Starllordz commented May 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bump direct dependency glob from ^11.1.0 to ^13.0.6 — the previous version was marked deprecated upstream (pnpm install now installs cleanly with no deprecation warning).
  • Add pnpm.overrides to force transitive brace-expansion in the vulnerable range >=5.0.0 <5.0.6 to ^5.0.6, resolving Dependabot alert #8 (CVE-2026-45149 / GHSA-jxxr-4gwj-5jf2, medium severity DoS).

## Changed
- Bump `glob` from `^11.1.0` to `^13.0.6` to remove deprecation warning at install
- Override transitive `brace-expansion` in vulnerable range `>=5.0.0 <5.0.6` to `^5.0.6` (CVE-2026-45149, GHSA-jxxr-4gwj-5jf2)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR updates dependency management to remove upstream deprecation warnings and address a Dependabot-reported vulnerability in a transitive dependency.

Changes:

  • Bump direct dependency glob from ^11.1.0 to ^13.0.6.
  • Add pnpm.overrides to force brace-expansion versions in the vulnerable range (>=5.0.0 <5.0.6) to resolve to ^5.0.6.
  • Regenerate pnpm-lock.yaml accordingly (glob/brace-expansion resolution updates and related dependency graph changes).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
package.json Upgrades glob and adds pnpm.overrides for brace-expansion to remediate the CVE range.
pnpm-lock.yaml Reflects the new glob@13.0.6 resolution and the brace-expansion@5.0.6 override in the lockfile.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Starllordz Starllordz merged commit 5a94667 into 1.3.4 May 25, 2026
1 check passed
Starllordz added a commit that referenced this pull request May 26, 2026
* fix: prevent unknown character corruption in translations (#68)

* fix: prevent unknown character corruption in translations

## Changed
- Set contentType explicitly per parser so Lara no longer auto-detects
  TextBlock[] as HTML and replaces non-ASCII chars with literal `?`
- Engine splits each batch by detected content type so values containing
  inline HTML are sent as text/html and plain values as text/plain
- Retry U+FFFD-corrupted translations up to 3 times as solo calls before
  failing with a neutral "please retry" message
- Bump version to 1.3.4

## New
- contentType utility (hasHtmlMarkup / resolveContentType) and per-parser
  getContentType() exposed through ParserFactory
- Parameterized integration tests covering content-type routing for all
  10 supported file formats
- Deterministic test reproducing the upstream UTF-8 streaming bug in
  @translated/lara, plus integration coverage for the retry guard

* chore: use #utils path alias in contentType test imports

## Changed
- Replace relative `../../utils/contentType.js` import with `#utils/contentType.js`
  to match the convention used by sibling utility tests (e.g. entities.test.ts).

* chore: upgrade glob and patch brace-expansion CVE (#69)

## Changed
- Bump `glob` from `^11.1.0` to `^13.0.6` to remove deprecation warning at install
- Override transitive `brace-expansion` in vulnerable range `>=5.0.0 <5.0.6` to `^5.0.6` (CVE-2026-45149, GHSA-jxxr-4gwj-5jf2)
@Starllordz Starllordz deleted the fix/packages-upgrade branch June 10, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants