File tree 3 files changed +4
-11
lines changed
3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change 87
87
"@types/request" : " ^2.47.1" ,
88
88
"@types/semver" : " ^5.5.0" ,
89
89
"@types/source-map" : " 0.5.2" ,
90
- "@types/v8-profiler" : " ^0.0.5" ,
91
90
"@types/webpack" : " ^4.4.11" ,
92
91
"@types/webpack-dev-server" : " ^3.1.0" ,
93
92
"@types/webpack-sources" : " ^0.1.5" ,
Original file line number Diff line number Diff line change @@ -16,9 +16,6 @@ import { SemVer } from 'semver';
16
16
import { Duplex } from 'stream' ;
17
17
import { isWarningEnabled } from '../utilities/config' ;
18
18
19
- // from @types /v8-profiler (no dependency to v8-profiler as we use v8-profiler-node8)
20
- import { Profiler } from 'v8-profiler' ; // tslint:disable-line:no-implicit-dependencies
21
-
22
19
const packageJson = require ( '../package.json' ) ;
23
20
24
21
function _fromPackageJson ( cwd ?: string ) {
@@ -46,7 +43,10 @@ function _fromPackageJson(cwd?: string) {
46
43
47
44
// Check if we need to profile this CLI run.
48
45
if ( process . env [ 'NG_CLI_PROFILING' ] ) {
49
- let profiler : Profiler ;
46
+ let profiler : {
47
+ startProfiling : ( name ?: string , recsamples ?: boolean ) => void ;
48
+ stopProfiling : ( name ?: string ) => any ; // tslint:disable-line:no-any
49
+ } ;
50
50
try {
51
51
profiler = require ( 'v8-profiler-node8' ) ; // tslint:disable-line:no-implicit-dependencies
52
52
} catch ( err ) {
Original file line number Diff line number Diff line change 463
463
version "1.0.1"
464
464
resolved "https://codeload.github.com/quicktype/types-urijs/tar.gz/a23603a04e31e883a92244bff8515e3d841a8b98"
465
465
466
- " @types/v8-profiler@^0.0.5 " :
467
- version "0.0.5"
468
- resolved "https://registry.yarnpkg.com/@types/v8-profiler/-/v8-profiler-0.0.5.tgz#2b9f0b7ba3294f5b177b66790607772910a195f9"
469
- dependencies :
470
- " @types/node" " *"
471
-
472
466
" @types/webpack-dev-server@^3.1.0 " :
473
467
version "3.1.0"
474
468
resolved "https://registry.yarnpkg.com/@types/webpack-dev-server/-/webpack-dev-server-3.1.0.tgz#1fae06ad346d2dd09bc5e34745723946458eed58"
You can’t perform that action at this time.
0 commit comments