Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit 5083aa2

Browse files
committed
dependency update, lint fixes
1 parent 6fb05a9 commit 5083aa2

File tree

7 files changed

+6082
-6081
lines changed

7 files changed

+6082
-6081
lines changed

package-lock.json

Lines changed: 6056 additions & 6055 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 19 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@log4js2/core",
3-
"version": "2.0.8",
3+
"version": "2.0.9",
44
"scripts": {
55
"build": "tsc",
66
"build:es5": "webpack --progress --colors --mode production",
@@ -35,28 +35,27 @@
3535
"console"
3636
],
3737
"devDependencies": {
38-
"@babel/core": "^7.2.2",
39-
"@babel/preset-env": "^7.2.3",
40-
"@types/core-js": "^2.5.0",
41-
"@types/jest": "^23.3.9",
42-
"@types/lodash": "^4.14.118",
43-
"@types/node": "^10.12.2",
44-
"babel-core": "^7.0.0-bridge.0",
45-
"babel-loader": "^8.0.5",
46-
"codecov": "^3.1.0",
47-
"jest": "^23.6.0",
48-
"jest-cli": "^23.6.0",
49-
"ts-jest": "^23.10.4",
50-
"ts-loader": "^5.3.3",
51-
"tslint": "^5.10.0",
38+
"@babel/core": "^7.5.5",
39+
"@babel/preset-env": "^7.5.5",
40+
"@types/core-js": "^2.5.2",
41+
"@types/jest": "^24.0.15",
42+
"@types/lodash": "^4.14.136",
43+
"@types/node": "^12.6.8",
44+
"babel-loader": "^8.0.6",
45+
"codecov": "^3.5.0",
46+
"jest": "^24.8.0",
47+
"jest-cli": "^24.8.0",
48+
"ts-jest": "^24.0.2",
49+
"ts-loader": "^6.0.4",
50+
"tslint": "^5.18.0",
5251
"tslint-loader": "^3.5.4",
53-
"tslint-sonarts": "^1.8.0",
54-
"typescript": "^3.1.6",
55-
"webpack": "^4.28.4",
56-
"webpack-cli": "^3.2.1"
52+
"tslint-sonarts": "^1.9.0",
53+
"typescript": "^3.5.3",
54+
"webpack": "^4.37.0",
55+
"webpack-cli": "^3.3.6"
5756
},
5857
"dependencies": {
59-
"reflect-metadata": "^0.1.12"
58+
"reflect-metadata": "^0.1.13"
6059
},
6160
"jest": {
6261
"moduleFileExtensions": [

src/def.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
export type Newable<T> = {
2-
new(): T;
3-
} | Function;
1+
export type Newable<T> = (new() => T) | Function;
42

53
export type Method<T> = (...args: any[]) => T;

src/layout/date.formatter.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// tslint:disable:bool-param-default
2+
13
type DateFormatFunction = (date: Date, isUTC?: boolean) => string | number;
24

35
// tslint:disable-next-line

src/util/virtual.console.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { Logger } from '..';
22

3+
// tslint:disable:bool-param-default
4+
35
let _virtualConsole: Console;
46
let _isUseVirtualConsole = true;
57

tslint.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"no-switch-case-fall-through": true,
3939
"no-trailing-whitespace": false,
4040
"no-unused-expression": true,
41-
"no-use-before-declare": true,
4241
"object-literal-sort-keys": false,
4342
"one-variable-per-declaration": true,
4443
"one-line": [

webpack.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ const browserConfig = {
2424
use: [{
2525
loader: 'babel-loader',
2626
options: {
27+
babelrc: false,
2728
presets: [['@babel/preset-env', {
2829
targets: "> 0.25%, not dead"
29-
}]],
30-
babelrc: true
30+
}]]
3131
}
3232
}, 'ts-loader']
3333
}]

0 commit comments

Comments
 (0)