Skip to content

chore(deps-dev): bump @types/glob from 7.2.0 to 9.0.0 - #1671

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/types/glob-9.0.0
Open

chore(deps-dev): bump @types/glob from 7.2.0 to 9.0.0#1671
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/npm_and_yarn/types/glob-9.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 6, 2026

Copy link
Copy Markdown
Contributor

Bumps @types/glob from 7.2.0 to 9.0.0.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 6, 2026
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 6, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/types/glob-9.0.0 branch 3 times, most recently from beebec7 to b2aa03c Compare August 20, 2026 22:27
@chagong

Copy link
Copy Markdown
Contributor

Dependabot (@dependabot) rebase

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/types/glob-9.0.0 branch 3 times, most recently from f26d341 to 9b28c85 Compare August 31, 2026 05:36
@chagong

Copy link
Copy Markdown
Contributor

Dependabot (@dependabot) rebase

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/types/glob-9.0.0 branch 3 times, most recently from 1f9c276 to aa6d501 Compare September 3, 2026 06:59
Bumps [@types/glob](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/glob) from 7.2.0 to 9.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/glob)

---
updated-dependencies:
- dependency-name: "@types/glob"
  dependency-version: 9.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/types/glob-9.0.0 branch from aa6d501 to 86a4100 Compare September 3, 2026 07:14
Replace the deprecated @types/glob stub with glob and update test discovery to its Promise API. Align the documented Node requirement with the dependency and CI runtime.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@chagong Changyong Gong (chagong) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved: the deprecated type stub was replaced with glob's built-in types, the Promise API migration is covered by green cross-platform CI, and the Node requirement is aligned.

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.

🟡 Changes recommended

The updated Mocha runner removed synchronous exception handling around mocha.run(...), which can cause crashes instead of a clean Promise rejection.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

This PR updates the repository’s glob usage and related metadata to align with newer glob package APIs/types, including adjusting Node.js version requirements.

Changes:

  • Updated the test runner to use the modern glob named export and Promise-based API.
  • Updated development dependencies / lockfile to use glob@^13 and removed @types/glob.
  • Tightened documented and declared Node.js engine requirements.
File summaries
File Description
test/suite/index.ts Switches to glob named export and async/await discovery of test files before running Mocha.
package.json Updates engines.node and dev dependency set to include glob@^13 (and remove @types/glob).
package-lock.json Reflects dependency tree changes for glob@13 and related transitive packages.
CONTRIBUTING.md Updates contributor-facing Node.js prerequisite version text.
Review details
  • Files reviewed: 3/4 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread test/suite/index.ts
Comment on lines +22 to 31
return new Promise((c, e) => {
// Run the mocha test
mocha.run((failures) => {
if (failures > 0) {
e(new Error(`${failures} tests failed.`));
} else {
c();
}
});
});
Comment thread CONTRIBUTING.md
- [JDK](http://www.oracle.com/technetwork/java/javase/downloads/index.html), (version 11 or later)
- [VS Code](https://code.visualstudio.com/), (version 1.44.0 or later)
- [Node.JS](https://nodejs.org/en/), (>= 12.8.1)
- [Node.JS](https://nodejs.org/en/), (20 or >= 22)
Comment thread package.json
Comment on lines 23 to 26
"engines": {
"vscode": "^1.95.0"
"vscode": "^1.95.0",
"node": "20 || >=22"
},
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants