Skip to content

Commit 11cd9e1

Browse files
authored
Merge pull request #110 from manuelbieh/chores-mar-20
chore: update deps
2 parents 5e546e1 + 4cb8014 commit 11cd9e1

3 files changed

Lines changed: 694 additions & 1111 deletions

File tree

package.json

Lines changed: 42 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@
4141
"express-manifest-helpers": "^0.6.0",
4242
"glob": "^7.1.6",
4343
"history": "^4.10.1",
44-
"i18next": "^19.3.2",
44+
"i18next": "^19.3.3",
4545
"i18next-xhr-backend": "^3.2.2",
46-
"immer": "^6.0.0",
46+
"immer": "^6.0.2",
4747
"mkdirp": "^1.0.3",
48-
"react": "^16.13.0",
49-
"react-dom": "^16.13.0",
48+
"react": "^16.13.1",
49+
"react-dom": "^16.13.1",
5050
"react-helmet-async": "^1.0.4",
51-
"react-i18next": "^11.3.3",
51+
"react-i18next": "^11.3.4",
5252
"react-redux": "^7.2.0",
5353
"react-router": "^5.1.2",
5454
"react-router-dom": "^5.1.2",
@@ -60,56 +60,57 @@
6060
},
6161
"devDependencies": {
6262
"@babel/cli": "^7.8.4",
63-
"@babel/core": "^7.8.6",
63+
"@babel/core": "^7.9.0",
6464
"@babel/plugin-proposal-class-properties": "^7.8.3",
65-
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
66-
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
65+
"@babel/plugin-proposal-object-rest-spread": "^7.9.0",
66+
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
6767
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
68-
"@babel/plugin-transform-modules-commonjs": "^7.8.3",
69-
"@babel/plugin-transform-runtime": "^7.8.3",
70-
"@babel/preset-env": "^7.8.6",
71-
"@babel/preset-react": "^7.8.3",
72-
"@babel/preset-typescript": "^7.8.3",
73-
"@babel/register": "^7.8.6",
74-
"@svgr/webpack": "^5.2.0",
75-
"@testing-library/react": "^9.4.1",
68+
"@babel/plugin-transform-modules-commonjs": "^7.9.0",
69+
"@babel/plugin-transform-runtime": "^7.9.0",
70+
"@babel/preset-env": "^7.9.0",
71+
"@babel/preset-react": "^7.9.1",
72+
"@babel/preset-typescript": "^7.9.0",
73+
"@babel/register": "^7.9.0",
74+
"@svgr/webpack": "^5.3.0",
75+
"@testing-library/react": "^10.0.1",
7676
"@types/body-parser": "^1.19.0",
7777
"@types/case-sensitive-paths-webpack-plugin": "^2.1.4",
78-
"@types/classnames": "^2.2.9",
78+
"@types/classnames": "^2.2.10",
7979
"@types/copy-webpack-plugin": "^5.0.0",
8080
"@types/cors": "^2.8.6",
8181
"@types/decompress": "^4.2.3",
8282
"@types/dotenv": "^8.2.0",
8383
"@types/enzyme": "^3.10.5",
84-
"@types/express": "4.17.2",
85-
"@types/jest": "^25.1.3",
84+
"@types/express": "^4.17.3",
85+
"@types/express-serve-static-core": "^4.17.2",
86+
"@types/jest": "^25.1.4",
8687
"@types/mini-css-extract-plugin": "^0.9.1",
8788
"@types/mkdirp": "^1.0.0",
8889
"@types/nodemon": "^1.19.0",
89-
"@types/react": "^16.9.23",
90+
"@types/react": "^16.9.25",
9091
"@types/react-dev-utils": "^9.0.4",
9192
"@types/react-dom": "^16.9.5",
9293
"@types/react-helmet-async": "^1.0.3",
9394
"@types/react-i18next": "^8.1.0",
9495
"@types/react-redux": "^7.1.7",
9596
"@types/react-router": "^5.1.4",
9697
"@types/react-router-dom": "^5.1.3",
97-
"@types/rimraf": "^2.0.3",
98+
"@types/rimraf": "^3.0.0",
9899
"@types/terser-webpack-plugin": "^2.2.0",
99-
"@types/webpack": "^4.41.7",
100+
"@types/webpack": "^4.41.8",
100101
"@types/webpack-dev-middleware": "^3.7.0",
101102
"@types/webpack-env": "^1.15.1",
102103
"@types/webpack-hot-middleware": "^2.25.0",
103104
"@types/webpack-manifest-plugin": "^2.1.0",
104105
"@types/webpack-node-externals": "^1.7.1",
105-
"@typescript-eslint/eslint-plugin": "^2.22.0",
106-
"@typescript-eslint/parser": "^2.22.0",
106+
"@typescript-eslint/eslint-plugin": "^2.24.0",
107+
"@typescript-eslint/parser": "^2.24.0",
107108
"@werkzeugkiste/eslint-config": "^1.1.0",
108109
"@werkzeugkiste/prettier-config": "^1.1.0",
109110
"autoprefixer": "^9.7.4",
110111
"babel-eslint": "^10.1.0",
111112
"babel-jest": "^25.1.0",
112-
"babel-loader": "^8.0.5",
113+
"babel-loader": "^8.1.0",
113114
"babel-plugin-macros": "^2.8.0",
114115
"babel-plugin-named-asset-import": "^0.3.6",
115116
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
@@ -118,27 +119,27 @@
118119
"confusing-browser-globals": "1.0.9",
119120
"copy-webpack-plugin": "^5.1.1",
120121
"core-js": "^3.6.4",
121-
"cross-env": "^7.0.1",
122+
"cross-env": "^7.0.2",
122123
"cross-spawn": "^7.0.1",
123124
"css-hot-loader": "^1.4.4",
124125
"css-loader": "^3.4.2",
125126
"depcheck": "^0.9.2",
126-
"dependency-cruiser": "^8.0.0",
127+
"dependency-cruiser": "^8.0.2",
127128
"eslint": "^6.8.0",
128-
"eslint-config-prettier": "^6.10.0",
129+
"eslint-config-prettier": "^6.10.1",
129130
"eslint-import-resolver-typescript": "2.0.0",
130131
"eslint-plugin-babel": "5.3.0",
131132
"eslint-plugin-import": "^2.20.1",
132133
"eslint-plugin-prettier": "^3.1.2",
133-
"eslint-plugin-react": "^7.18.3",
134-
"eslint-plugin-react-hooks": "^2.5.0",
134+
"eslint-plugin-react": "^7.19.0",
135+
"eslint-plugin-react-hooks": "^2.5.1",
135136
"eslint-plugin-security": "1.4.0",
136-
"eslint-plugin-unicorn": "^16.1.1",
137-
"file-loader": "^5.1.0",
137+
"eslint-plugin-unicorn": "^17.2.0",
138+
"file-loader": "^6.0.0",
138139
"html-webpack-plugin": "^3.2.0",
139140
"husky": "^4.2.3",
140141
"i18next-parser": "^1.0.2",
141-
"i18next-scanner": "^2.10.3",
142+
"i18next-scanner": "^2.11.0",
142143
"install-deps-postmerge": "^1.0.5",
143144
"jest": "^25.1.0",
144145
"lint-staged": "^10.0.8",
@@ -155,24 +156,24 @@
155156
"postcss-loader": "^3.0.0",
156157
"postcss-nested": "^4.2.1",
157158
"postcss-normalize": "^8.0.1",
158-
"prettier": "1.19.1",
159+
"prettier": "^2.0.1",
159160
"promise": "^8.1.0",
160161
"puppeteer": "^2.1.1",
161-
"react-dev-utils": "^10.2.0",
162+
"react-dev-utils": "^10.2.1",
162163
"redux-mock-store": "^1.5.4",
163-
"regenerator-runtime": "^0.13.2",
164+
"regenerator-runtime": "^0.13.5",
164165
"stats-webpack-plugin": "^0.7.0",
165166
"style-loader": "^1.1.3",
166-
"stylelint": "^13.2.0",
167+
"stylelint": "^13.2.1",
167168
"stylelint-config-prettier": "^8.0.1",
168169
"stylelint-order": "^4.0.0",
169170
"stylelint-prettier": "^1.1.2",
170171
"terser-webpack-plugin": "^2.3.5",
171-
"ts-node": "^8.6.2",
172+
"ts-node": "^8.8.1",
172173
"typescript": "^3.8.3",
173-
"url-loader": "^3.0.0",
174+
"url-loader": "^4.0.0",
174175
"webpack": "^4.42.0",
175-
"webpack-bundle-analyzer": "^3.6.0",
176+
"webpack-bundle-analyzer": "^3.6.1",
176177
"webpack-cli": "^3.3.11",
177178
"webpack-dev-middleware": "^3.7.2",
178179
"webpack-dev-server": "^3.10.3",
@@ -183,6 +184,6 @@
183184
"yarn-or-npm": "^3.0.1"
184185
},
185186
"resolutions": {
186-
"caniuse-lite": "^1.0.30001031"
187+
"caniuse-lite": "^1.0.30001036"
187188
}
188189
}

src/server/middleware/errorHandler.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,7 @@ const errorHandler = (err: Error, _req: any, res: Response, _next: any) =>
1212
.split('\n')
1313
.map((line: string) => line.trim())
1414
.map((line: string) => line.split(path.sep).join('/'))
15-
.map((line: string) =>
16-
line.replace(
17-
process
18-
.cwd()
19-
.split(path.sep)
20-
.join('/'),
21-
'.'
22-
)
23-
),
15+
.map((line: string) => line.replace(process.cwd().split(path.sep).join('/'), '.')),
2416
});
2517

2618
export default errorHandler;

0 commit comments

Comments
 (0)