Skip to content

Bump glob to 13 and release 0.2.1 - #5

Open
Desperado wants to merge 1 commit into
mainfrom
chore/glob-13
Open

Desperado wants to merge 1 commit into
mainfrom
chore/glob-13

Conversation

@Desperado

Copy link
Copy Markdown
Contributor

What

npm install qualitymax-grader@0.2.0 prints a deprecation warning: glob 11 is unsupported upstream and the maintainer points at publicized vulnerabilities fixed in current versions. This bumps glob to ^13.0.6, which keeps the promise glob(pattern, { nodir: true }) API used by the CLI and the benchmark script.

The engines field now states what the dependency supports: Node 18, 20 or 22 and newer. glob 11 already required Node 20, so the old >=16 was never accurate and no supported version is lost.

Version 0.2.1. Publishing to npm is a separate step after merge.

Validation

  • The runtime dependency tree (npm ls --omit=dev --all) is glob 13 with minimatch, minipass and path-scurry only; no deprecated package. The deprecation notices still printed by npm ci (inflight, glob 7 and 10) come from Jest's dev-only tree and do not reach consumers of the published package.
  • npm test: 89 passed, 6 suites.
  • node bin/qualitymax-grader.js 'examples/**/*.js' --format json grades the example specs as before.

npm warns that glob 11 is unsupported and carries publicized vulnerabilities.
glob 13 keeps the promise API the CLI and benchmark use. The engines field
now matches what the dependency supports (18, 20 or 22+); glob 11 already
required Node 20, so no supported version is lost.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedglob@​11.1.0 ⏵ 13.0.696 -31009985 +35100

View full report

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.

1 participant