File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
packages/graphql-codegen-cli Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 63
63
"graphql-config" : " ^5.1.1" ,
64
64
"inquirer" : " ^8.0.0" ,
65
65
"is-glob" : " ^4.0.1" ,
66
- "jiti" : " ^2.0 .0" ,
66
+ "jiti" : " ^2.3 .0" ,
67
67
"json-to-pretty-yaml" : " ^1.2.2" ,
68
68
"listr2" : " ^4.0.5" ,
69
69
"log-symbols" : " ^4.0.0" ,
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ function customLoader(ext: 'json' | 'yaml' | 'js' | 'ts' | 'mts' | 'cts'): Codeg
75
75
}
76
76
77
77
if ( ext === 'ts' ) {
78
- const jiti = createJiti ( '' , { interopDefault : true } ) ;
79
- return jiti . import ( filepath ) ;
78
+ const jitiLoader = createJiti ( '' ) ;
79
+ return jitiLoader . import ( filepath , { default : true } ) ;
80
80
}
81
81
} ;
82
82
}
Original file line number Diff line number Diff line change @@ -10632,7 +10632,7 @@ jiti@^1.18.2, jiti@^1.21.6:
10632
10632
resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.7.tgz#9dd81043424a3d28458b193d965f0d18a2300ba9"
10633
10633
integrity sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==
10634
10634
10635
- jiti@^2.0 .0:
10635
+ jiti@^2.3 .0:
10636
10636
version "2.5.1"
10637
10637
resolved "https://registry.yarnpkg.com/jiti/-/jiti-2.5.1.tgz#bd099c1c2be1c59bbea4e5adcd127363446759d0"
10638
10638
integrity sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w==
You can’t perform that action at this time.
0 commit comments