File tree 3 files changed +6
-12
lines changed
3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change 63
63
"devDependencies" : {
64
64
"@types/jasmine" : " ^2.5.47" ,
65
65
"@types/jquery" : " ^1.10.31" ,
66
- "@uirouter/publish-scripts" : " ^1.0.5 " ,
66
+ "@uirouter/publish-scripts" : " ^1.0.7 " ,
67
67
"awesome-typescript-loader" : " 3.0.0-beta.10" ,
68
68
"conventional-changelog" : " ^1.1.0" ,
69
69
"conventional-changelog-cli" : " ^1.1.1" ,
Original file line number Diff line number Diff line change 34
34
* @module trace
35
35
*/ /** for typedoc */
36
36
import { parse } from "../common/hof" ;
37
- import { isNumber } from "../common/predicates" ;
37
+ import { isFunction , isNumber } from "../common/predicates" ;
38
38
import { Transition } from "../transition/transition" ;
39
39
import { ActiveUIView , ViewConfig , ViewContext } from "../view/interface" ;
40
40
import { stringify , functionToString , maxLength , padString } from "./strings" ;
@@ -64,6 +64,8 @@ function normalizedCat(input: Category|string): string {
64
64
return isNumber ( input ) ? Category [ input ] : Category [ Category [ input ] ] ;
65
65
}
66
66
67
+ /** @hidden */
68
+ const consoletable = isFunction ( console . table ) ? console . table . bind ( console ) : console . log . bind ( console ) ;
67
69
68
70
/**
69
71
* Trace categories Enum
@@ -229,7 +231,7 @@ export class Trace {
229
231
return { 'ui-view fqn' : uiView , 'state: view name' : view } ;
230
232
} ) . sort ( ( a , b ) => a [ 'ui-view fqn' ] . localeCompare ( b [ 'ui-view fqn' ] ) ) ;
231
233
232
- console . table ( mapping ) ;
234
+ consoletable ( mapping ) ;
233
235
}
234
236
235
237
/** @internalapi called by ui-router code */
Original file line number Diff line number Diff line change 10
10
version "1.10.33"
11
11
resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-1.10.33.tgz#6c4c279f8d06839b184950432e880e0a469a64a1"
12
12
13
- " @uirouter/publish-scripts@^1.0.5 " :
13
+ " @uirouter/publish-scripts@^1.0.7 " :
14
14
version "1.0.7"
15
15
resolved "https://registry.yarnpkg.com/@uirouter/publish-scripts/-/publish-scripts-1.0.7.tgz#99ffd6aeced41e96b92ccb007342eee5d14b0a9a"
16
16
dependencies :
@@ -652,14 +652,6 @@ conventional-changelog-jshint@^0.1.0:
652
652
compare-func "^1.3.1"
653
653
q "^1.4.1"
654
654
655
- conventional-changelog-ui-router-core@^1.4.1 :
656
- version "1.4.1"
657
- resolved "https://registry.yarnpkg.com/conventional-changelog-ui-router-core/-/conventional-changelog-ui-router-core-1.4.1.tgz#8ef76e7960458d9be2539fe673a4b6c853b9dbf3"
658
- dependencies :
659
- compare-func "^1.3.1"
660
- github-url-from-git "^1.4.0"
661
- q "^1.4.1"
662
-
663
655
conventional-changelog-ui-router-core@^1.4.2 :
664
656
version "1.4.2"
665
657
resolved "https://registry.yarnpkg.com/conventional-changelog-ui-router-core/-/conventional-changelog-ui-router-core-1.4.2.tgz#56d5787163f883e25d3e1f573aef563f85411df7"
You can’t perform that action at this time.
0 commit comments