@@ -3207,23 +3207,22 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
32073207 }
32083208 Inspect . vars = function ( obj ) {
32093209 return __awaiter ( this , void 0 , void 0 , function ( ) {
3210- var inspectVarsPath , nodeModule ;
3210+ var inspectVarsPath , I , nodeModule ;
32113211 var _this = this ;
32123212 return __generator ( this , function ( _a ) {
3213- var _b ;
32143213 switch ( _a . label ) {
32153214 case 0 :
32163215 if ( typeof process != 'object' )
32173216 return [ 2 /*return*/ ] ;
32183217 inspectVarsPath = process . env . INSPECT_VARS ;
32193218 if ( ! inspectVarsPath || ! obj )
32203219 return [ 2 /*return*/ ] ;
3220+ I = function ( s ) { var _a ; return __syncRequire ? ( _a = s , Promise . resolve ( ) . then ( function ( ) { return require ( _a ) ; } ) ) : new Promise ( function ( resolve_1 , reject_1 ) { require ( [ /* @vite -ignore */ s ] , resolve_1 , reject_1 ) ; } ) ; } ;
32213221 nodeModule = function ( m ) { return 'no' + 'de:' + "" . concat ( m ) ; } ;
3222- return [ 4 /*yield*/ , ( _b = nodeModule ( 'fs' ) , __syncRequire ? Promise . resolve ( ) . then ( function ( ) { return require ( _b ) ; } ) : new Promise ( function ( resolve_1 , reject_1 ) { require ( [ _b ] , resolve_1 , reject_1 ) ; } ) ) . then ( function ( fs ) { return __awaiter ( _this , void 0 , void 0 , function ( ) {
3222+ return [ 4 /*yield*/ , I ( nodeModule ( 'fs' ) ) . then ( function ( fs ) { return __awaiter ( _this , void 0 , void 0 , function ( ) {
32233223 return __generator ( this , function ( _a ) {
3224- var _b ;
32253224 switch ( _a . label ) {
3226- case 0 : return [ 4 /*yield*/ , ( _b = nodeModule ( 'path' ) , __syncRequire ? Promise . resolve ( ) . then ( function ( ) { return require ( _b ) ; } ) : new Promise ( function ( resolve_2 , reject_2 ) { require ( [ _b ] , resolve_2 , reject_2 ) ; } ) ) . then ( function ( path ) {
3225+ case 0 : return [ 4 /*yield*/ , I ( nodeModule ( 'path' ) ) . then ( function ( path ) {
32273226 var varsPath = inspectVarsPath . replace ( / \\ / g, '/' ) ;
32283227 if ( varsPath . indexOf ( '/' ) >= 0 ) {
32293228 var dir = path . dirname ( varsPath ) ;
0 commit comments