Skip to content

Commit 49900c1

Browse files
committed
chore: upgrade deps
1 parent b25583c commit 49900c1

File tree

5 files changed

+867
-401
lines changed

5 files changed

+867
-401
lines changed

package.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -62,43 +62,43 @@
6262
"devDependencies": {
6363
"@types/chai": "^4.1.7",
6464
"@types/chai-string": "^1.4.1",
65-
"@types/node": "^10.12.9",
66-
"@types/shelljs": "^0.8.0",
67-
"@types/sinon": "^5.0.6",
68-
"@types/sinon-chai": "^3.2.1",
65+
"@types/node": "^10.12.18",
66+
"@types/shelljs": "^0.8.1",
67+
"@types/sinon": "^7.0.3",
68+
"@types/sinon-chai": "^3.2.2",
6969
"chai": "^4.2.0",
7070
"chai-string": "^1.5.0",
7171
"coveralls": "^3.0.2",
72-
"css-loader": "^1.0.1",
72+
"css-loader": "^2.1.0",
7373
"extract-text-webpack-plugin": "^4.0.0-beta.0",
7474
"html-webpack-plugin": "^3.2.0",
75-
"husky": "^1.1.4",
76-
"lint-staged": "^8.0.5",
77-
"madge": "^3.3.0",
78-
"moment": "^2.22.2",
79-
"node-watch": "^0.5.8",
75+
"husky": "^1.3.1",
76+
"lint-staged": "^8.1.0",
77+
"madge": "^3.4.2",
78+
"moment": "^2.23.0",
79+
"node-watch": "^0.6.0",
8080
"npm-run-all": "^4.1.5",
8181
"nyc": "^13.1.0",
82-
"prettier": "^1.15.2",
83-
"raw-loader": "^0.5.1",
82+
"prettier": "^1.15.3",
83+
"raw-loader": "^1.0.0",
8484
"rxjs": "^6.3.3",
8585
"shelljs": "^0.8.3",
8686
"shx": "^0.3.2",
87-
"sinon": "^7.1.1",
88-
"sinon-chai": "^3.2.0",
87+
"sinon": "^7.2.2",
88+
"sinon-chai": "^3.3.0",
8989
"source-map-loader": "^0.2.4",
9090
"style-loader": "^0.23.1",
9191
"tman": "^1.8.1",
92-
"ts-loader": "^5.3.0",
92+
"ts-loader": "^5.3.3",
9393
"ts-node": "^7.0.1",
94-
"tslint": "^5.11.0",
95-
"tslint-config-prettier": "^1.16.0",
94+
"tslint": "^5.12.1",
95+
"tslint-config-prettier": "^1.17.0",
9696
"tslint-eslint-rules": "^5.4.0",
9797
"tslint-loader": "^3.6.0",
98-
"typescript": "^3.1.6",
99-
"webpack": "^4.25.1",
100-
"webpack-cli": "^3.1.2",
101-
"webpack-dev-server": "^3.1.10"
98+
"typescript": "^3.2.2",
99+
"webpack": "^4.28.4",
100+
"webpack-cli": "^3.2.1",
101+
"webpack-dev-server": "^3.1.14"
102102
},
103103
"dependencies": {
104104
"@types/lovefield": "^2.1.2",

src/shared/Logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class ContextLogger {
2929
private invoke(method: string, message: any[]) {
3030
let output = ''
3131
if (this.formatter) {
32-
const params = [this.name, this.level].concat(message)
32+
const params: [string, Level, ...any[]] = [this.name, this.level, ...message]
3333
output = this.formatter.apply(this, params)
3434
}
3535
this.adapter[method].call(this.adapter, output)

src/shared/Traversable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class Traversable<T> {
5858
if (ret !== false) {
5959
const ctx = typeof ret === 'object' ? { ...defaultCtx, ...ret } : defaultCtx
6060

61-
eachFunc.call(null, ctx, node)
61+
eachFunc.call(null, ctx as any, node)
6262
}
6363

6464
if (!advanced) {

src/utils/get-type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export function getType(object: any) {
22
return Object.prototype.toString
33
.call(object)
4-
.match(/\s\w+/)[0]
4+
.match(/\s\w+/)![0]
55
.trim()
66
}

0 commit comments

Comments
 (0)