Skip to content

Commit 5fa70f7

Browse files
renovate[bot]zobo
andauthored
chire(deps): update dependency minimatch to v10 (#1030)
* fix(deps): update dependency minimatch to v10 * Fix imports, remove @types --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Damjan Cvetko <[email protected]>
1 parent cde7892 commit 5fa70f7

File tree

4 files changed

+75
-55
lines changed

4 files changed

+75
-55
lines changed

package-lock.json

Lines changed: 72 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"dotenv": "^16.0.3",
5151
"file-url": "^3.0.0",
5252
"iconv-lite": "^0.6.3",
53-
"minimatch": "^5.1.0",
53+
"minimatch": "^10.0.3",
5454
"moment": "^2.29.4",
5555
"relateurl": "^0.2.7",
5656
"semver": "^7.5.2",
@@ -63,7 +63,6 @@
6363
"@types/buffer-crc32": "^0.2.4",
6464
"@types/chai": "4.3.9",
6565
"@types/chai-as-promised": "^7.1.8",
66-
"@types/minimatch": "^5.1.2",
6766
"@types/mocha": "^10.0.10",
6867
"@types/node": "^16.11.27",
6968
"@types/relateurl": "^0.2.33",

src/paths.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fileUrl from 'file-url'
22
import * as url from 'url'
33
import * as Path from 'path'
4-
import minimatch from 'minimatch'
4+
import { minimatch } from 'minimatch'
55

66
/** converts a server-side Xdebug file URI to a local path for VS Code with respect to source root settings */
77
export function convertDebuggerPathToClient(fileUri: string, pathMapping?: { [index: string]: string }): string {

src/phpDebug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as util from 'util'
1010
import * as fs from 'fs'
1111
import { Terminal } from './terminal'
1212
import { convertClientPathToDebugger, convertDebuggerPathToClient, isPositiveMatchInGlobs } from './paths'
13-
import minimatch from 'minimatch'
13+
import { minimatch } from 'minimatch'
1414
import { BreakpointManager, BreakpointAdapter } from './breakpoints'
1515
import * as semver from 'semver'
1616
import { LogPointManager } from './logpoint'

0 commit comments

Comments
 (0)