File tree 3 files changed +2
-16
lines changed
3 files changed +2
-16
lines changed Original file line number Diff line number Diff line change 11
11
"prepublishOnly" : " npm run build && npm run test"
12
12
},
13
13
"devDependencies" : {
14
- "@types/mkdirp" : " ^1.0.1" ,
15
14
"@types/mocha" : " ^8.0.4" ,
16
15
"@types/rimraf" : " ^3.0.0" ,
17
16
"@types/sinon" : " ^9.0.1" ,
26
25
"escape-string-regexp" : " ^4.0.0" ,
27
26
"is-wsl" : " ^2.2.0" ,
28
27
"lighthouse-logger" : " ^1.0.0" ,
29
- "mkdirp" : " ^1.0.4" ,
30
28
"rimraf" : " ^3.0.2"
31
29
},
32
30
"version" : " 0.13.4" ,
Original file line number Diff line number Diff line change 7
7
8
8
import { join } from 'path' ;
9
9
import { execSync } from 'child_process' ;
10
- import * as mkdirp from 'mkdirp ' ;
10
+ import { mkdirSync } from 'fs ' ;
11
11
import isWsl = require( 'is-wsl' ) ;
12
12
13
13
export const enum LaunchErrorCodes {
@@ -101,6 +101,6 @@ function makeWin32TmpDir() {
101
101
const randomNumber = Math . floor ( Math . random ( ) * 9e7 + 1e7 ) ;
102
102
const tmpdir = join ( winTmpPath , 'lighthouse.' + randomNumber ) ;
103
103
104
- mkdirp . sync ( tmpdir ) ;
104
+ mkdirSync ( tmpdir , { recursive : true } ) ;
105
105
return tmpdir ;
106
106
}
Original file line number Diff line number Diff line change 51
51
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
52
52
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
53
53
54
- " @types/mkdirp@^1.0.1 " :
55
- version "1.0.1"
56
- resolved "https://registry.yarnpkg.com/@types/mkdirp/-/mkdirp-1.0.1.tgz#0930b948914a78587de35458b86c907b6e98bbf6"
57
- integrity sha512-HkGSK7CGAXncr8Qn/0VqNtExEE+PHMWb+qlR1faHMao7ng6P3tAaoWWBMdva0gL5h4zprjIO89GJOLXsMcDm1Q==
58
- dependencies :
59
- " @types/node" " *"
60
-
61
54
" @types/mocha@^8.0.4 " :
62
55
version "8.0.4"
63
56
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-8.0.4.tgz#b840c2dce46bacf286e237bfb59a29e843399148"
540
533
dependencies :
541
534
brace-expansion "^1.1.7"
542
535
543
- mkdirp@^1.0.4 :
544
- version "1.0.4"
545
- resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
546
- integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
547
-
548
536
mocha@^8.2.1 :
549
537
version "8.2.1"
550
538
resolved "https://registry.yarnpkg.com/mocha/-/mocha-8.2.1.tgz#f2fa68817ed0e53343d989df65ccd358bc3a4b39"
You can’t perform that action at this time.
0 commit comments