File tree Expand file tree Collapse file tree 4 files changed +243
-36
lines changed Expand file tree Collapse file tree 4 files changed +243
-36
lines changed Original file line number Diff line number Diff line change 3939 "@biomejs/biome" : " ^2.1.1" ,
4040 "@changesets/cli" : " ^2.29.7" ,
4141 "@rsdoctor/tsconfig" : " workspace:*" ,
42- "@rslib/core" : " ^0.15.1 " ,
42+ "@rslib/core" : " ^0.16.0 " ,
4343 "@rstest/core" : " 0.5.3" ,
4444 "@scripts/test-helper" : " workspace:*" ,
4545 "cross-env" : " ^7.0.3" ,
Original file line number Diff line number Diff line change 4848 "cors" : " 2.8.5" ,
4949 "dayjs" : " 1.11.18" ,
5050 "fs-extra" : " ^11.1.1" ,
51- "open" : " ^8.4.2 " ,
51+ "open" : " ^10.2.0 " ,
5252 "sirv" : " 2.0.4" ,
5353 "source-map" : " ^0.7.6" ,
5454 "prebundle" : " 1.4.2" ,
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { exec } from 'node:child_process';
1111import { promisify } from 'node:util' ;
1212import { logger } from '@rsdoctor/utils/logger' ;
1313import { join } from 'node:path' ;
14- import open from 'open' ;
1514
1615const execAsync = promisify ( exec ) ;
1716
@@ -75,6 +74,7 @@ export async function openBrowser(
7574 // Fallback to open
7675 // (It will always open new tab)
7776 try {
77+ const { default : open } = await import ( 'open' ) ;
7878 await open ( url ) ;
7979 return true ;
8080 } catch ( err ) {
You can’t perform that action at this time.
0 commit comments