File tree Expand file tree Collapse file tree 9 files changed +27
-17
lines changed
Expand file tree Collapse file tree 9 files changed +27
-17
lines changed Original file line number Diff line number Diff line change @@ -140,11 +140,12 @@ class Glob {
140140 // for the file `AbC` for example.
141141 const nocaseMagicOnly = this . platform === 'darwin' || this . platform === 'win32' ;
142142 const mmo = {
143- // default nocase based on platform
143+ braceExpandMax : 10_000 ,
144144 ...opts ,
145145 dot : this . dot ,
146146 matchBase : this . matchBase ,
147147 nobrace : this . nobrace ,
148+ // default nocase based on platform
148149 nocase : this . nocase ,
149150 nocaseMagicOnly,
150151 nocomment : true ,
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ exports.Pattern = void 0;
55const minimatch_1 = require ( "minimatch" ) ;
66const isPatternList = ( pl ) => pl . length >= 1 ;
77const isGlobList = ( gl ) => gl . length >= 1 ;
8+ const customInspect = Symbol . for ( 'nodejs.util.inspect.custom' ) ;
89/**
910 * An immutable-ish view on an array of glob parts and their parsed
1011 * results
@@ -80,6 +81,9 @@ class Pattern {
8081 }
8182 }
8283 }
84+ [ customInspect ] ( ) {
85+ return 'Pattern <' + this . #globList. slice ( this . #index) . join ( '/' ) + '>' ;
86+ }
8387 /**
8488 * The first entry in the parsed list of patterns
8589 */
Original file line number Diff line number Diff line change @@ -137,11 +137,12 @@ export class Glob {
137137 // for the file `AbC` for example.
138138 const nocaseMagicOnly = this . platform === 'darwin' || this . platform === 'win32' ;
139139 const mmo = {
140- // default nocase based on platform
140+ braceExpandMax : 10_000 ,
141141 ...opts ,
142142 dot : this . dot ,
143143 matchBase : this . matchBase ,
144144 nobrace : this . nobrace ,
145+ // default nocase based on platform
145146 nocase : this . nocase ,
146147 nocaseMagicOnly,
147148 nocomment : true ,
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 22import { GLOBSTAR } from 'minimatch' ;
33const isPatternList = ( pl ) => pl . length >= 1 ;
44const isGlobList = ( gl ) => gl . length >= 1 ;
5+ const customInspect = Symbol . for ( 'nodejs.util.inspect.custom' ) ;
56/**
67 * An immutable-ish view on an array of glob parts and their parsed
78 * results
@@ -77,6 +78,9 @@ export class Pattern {
7778 }
7879 }
7980 }
81+ [ customInspect ] ( ) {
82+ return 'Pattern <' + this . #globList. slice ( this . #index) . join ( '/' ) + '>' ;
83+ }
8084 /**
8185 * The first entry in the parsed list of patterns
8286 */
Original file line number Diff line number Diff line change 22 "author" :
" Isaac Z. Schlueter <[email protected] > (https://blog.izs.me/)" ,
33 "name" : " glob" ,
44 "description" : " the most correct and second fastest glob implementation in JavaScript" ,
5- "version" : " 13.0.2 " ,
5+ "version" : " 13.0.5 " ,
66 "type" : " module" ,
77 "tshy" : {
88 "exports" : {
7373 "benchclean" : " node benchclean.cjs"
7474 },
7575 "dependencies" : {
76- "minimatch" : " ^10.1.2 " ,
76+ "minimatch" : " ^10.2.1 " ,
7777 "minipass" : " ^7.1.2" ,
7878 "path-scurry" : " ^2.0.0"
7979 },
8080 "devDependencies" : {
81- "@types/node" : " ^24.10.0 " ,
81+ "@types/node" : " ^25.2.3 " ,
8282 "esbuild" : " ^0.27.3" ,
8383 "memfs" : " ^4.50.0" ,
8484 "mkdirp" : " ^3.0.1" ,
Original file line number Diff line number Diff line change 103103 "cli-columns" : " ^4.0.0" ,
104104 "fastest-levenshtein" : " ^1.0.16" ,
105105 "fs-minipass" : " ^3.0.3" ,
106- "glob" : " ^13.0.2 " ,
106+ "glob" : " ^13.0.5 " ,
107107 "graceful-fs" : " ^4.2.11" ,
108108 "hosted-git-info" : " ^9.0.2" ,
109109 "ini" : " ^6.0.0" ,
56695669 "license" : " ISC"
56705670 },
56715671 "node_modules/glob" : {
5672- "version" : " 13.0.2 " ,
5673- "resolved" : " https://registry.npmjs.org/glob/-/glob-13.0.2 .tgz" ,
5674- "integrity" : " sha512-035InabNu/c1lW0tzPhAgapKctblppqsKKG9ZaNzbr+gXwWMjXoiyGSyB9sArzrjG7jY+zntRq5ZSUYemrnWVQ ==" ,
5672+ "version" : " 13.0.5 " ,
5673+ "resolved" : " https://registry.npmjs.org/glob/-/glob-13.0.5 .tgz" ,
5674+ "integrity" : " sha512-BzXxZg24Ibra1pbQ/zE7Kys4Ua1ks7Bn6pKLkVPZ9FZe4JQS6/Q7ef3LG1H+k7lUf5l4T3PLSyYyYJVYUvfgTw ==" ,
56755675 "inBundle" : true ,
56765676 "license" : " BlueOak-1.0.0" ,
56775677 "dependencies" : {
5678- "minimatch" : " ^10.1.2 " ,
5678+ "minimatch" : " ^10.2.1 " ,
56795679 "minipass" : " ^7.1.2" ,
56805680 "path-scurry" : " ^2.0.0"
56815681 },
Original file line number Diff line number Diff line change 7070 "cli-columns" : " ^4.0.0" ,
7171 "fastest-levenshtein" : " ^1.0.16" ,
7272 "fs-minipass" : " ^3.0.3" ,
73- "glob" : " ^13.0.2 " ,
73+ "glob" : " ^13.0.5 " ,
7474 "graceful-fs" : " ^4.2.11" ,
7575 "hosted-git-info" : " ^9.0.2" ,
7676 "ini" : " ^6.0.0" ,
You can’t perform that action at this time.
0 commit comments