File tree Expand file tree Collapse file tree 3 files changed +8
-17
lines changed Expand file tree Collapse file tree 3 files changed +8
-17
lines changed Original file line number Diff line number Diff line change 8181    "enhanced-resolve" : " ^5.15.0"  ,
8282    "get-tsconfig" : " ^4.7.5"  ,
8383    "is-bun-module" : " ^1.0.2"  ,
84-     "is-glob" : " ^4.0.3"  ,
8584    "stable-hash" : " ^0.0.4"  ,
8685    "tinyglobby" : " ^0.2.10" 
8786  },
9493    "@mozilla/glean" : " ^3.0.0"  ,
9594    "@pkgr/rollup" : " ^4.1.3"  ,
9695    "@types/debug" : " ^4.1.12"  ,
97-     "@types/is-glob" : " ^4.0.4"  ,
9896    "@types/node" : " ^18.19.67"  ,
9997    "@types/unist" : " ^2.0.11"  ,
10098    "dummy.js" : " link:dummy.js"  ,
Original file line number Diff line number Diff line change @@ -9,9 +9,8 @@ import { createPathsMatcher, getTsconfig } from 'get-tsconfig'
99import  type  {  TsConfigResult  }  from  'get-tsconfig' 
1010import  type  {  Version  }  from  'is-bun-module' 
1111import  {  isBunModule  }  from  'is-bun-module' 
12- import  isGlob  from  'is-glob' 
1312import  stableHashExports  from  'stable-hash' 
14- import  {  globSync  }  from  'tinyglobby' 
13+ import  {  globSync ,   isDynamicPattern  }  from  'tinyglobby' 
1514
1615// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition -- esmodule interop 
1716const  stableHash  =  stableHashExports . default  ||  stableHashExports 
@@ -390,10 +389,13 @@ function initMappers(options: InternalResolverOptions) {
390389  // turn glob patterns into paths 
391390  const  projectPaths  =  [ 
392391    ...new  Set ( [ 
393-       ...configPaths . filter ( path  =>  ! isGlob ( path ) ) , 
394-       ...globSync ( [ ...configPaths . filter ( path  =>  isGlob ( path ) ) ,  ...ignore ] ,  { 
395-         expandDirectories : false , 
396-       } ) , 
392+       ...configPaths . filter ( path  =>  ! isDynamicPattern ( path ) ) , 
393+       ...globSync ( 
394+         [ ...configPaths . filter ( path  =>  isDynamicPattern ( path ) ) ,  ...ignore ] , 
395+         { 
396+           expandDirectories : false , 
397+         } , 
398+       ) , 
397399    ] ) , 
398400  ] 
399401
Original file line number Diff line number Diff line change @@ -3648,13 +3648,6 @@ __metadata:
36483648  languageName: node
36493649  linkType: hard
36503650
3651- "@types/is-glob@npm:^4.0.4":
3652-   version: 4.0.4
3653-   resolution: "@types/is-glob@npm:4.0.4"
3654-   checksum: c790125e2d133d15c9783f6468995841cb06b5634b5c7b30aa32d23129f19d7dc271ec1a904bea4ca1e6a5ba19218a6602753d558f343b4fb8402fed25d17219
3655-   languageName: node
3656-   linkType: hard
3657- 
36583651"@types/json-schema@npm:^7.0.9":
36593652  version: 7.0.15
36603653  resolution: "@types/json-schema@npm:7.0.15"
@@ -6158,7 +6151,6 @@ __metadata:
61586151    "@nolyfill/is-core-module": "npm:1.0.39"
61596152    "@pkgr/rollup": "npm:^4.1.3"
61606153    "@types/debug": "npm:^4.1.12"
6161-     "@types/is-glob": "npm:^4.0.4"
61626154    "@types/node": "npm:^18.19.67"
61636155    "@types/unist": "npm:^2.0.11"
61646156    debug: "npm:^4.3.7"
@@ -6170,7 +6162,6 @@ __metadata:
61706162    eslint-plugin-import-x: "npm:^4.5.0"
61716163    get-tsconfig: "npm:^4.7.5"
61726164    is-bun-module: "npm:^1.0.2"
6173-     is-glob: "npm:^4.0.3"
61746165    lint-staged: "npm:^13.3.0"
61756166    npm-run-all2: "npm:^5.0.2"
61766167    prettier: "npm:^2.8.8"
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments