Skip to content

Commit

Permalink
feat: update deps, drop Nodejs12 support
Browse files Browse the repository at this point in the history
BREAKING CHANGE: meow@11 requires Nodejs@14
  • Loading branch information
antongolub committed Dec 1, 2022
1 parent ecf90bb commit df14521
Show file tree
Hide file tree
Showing 6 changed files with 168 additions and 105 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-20.04 ]
node-version: [ 12, 14, 16, 18 ]
node-version: [ 14, 16, 18 ]
name: Test (Node v${{ matrix.node-version }}, OS ${{ matrix.os }})
runs-on: ${{ matrix.os }}
steps:
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"ip": "^2.0.0",
"jsonschema": "^1.4.1",
"lodash-es": "^4.17.21",
"meow": "^10.1.3",
"meow": "^11.0.0",
"request": "^2.88.2",
"winston": "^3.8.2",
"winston-daily-rotate-file": "^4.7.1"
Expand All @@ -63,11 +63,11 @@
"chai-subset": "^1.6.0",
"coveralls": "^3.1.1",
"dirty-chai": "^2.0.1",
"mocha": "^9.2.2",
"mocha": "^10.1.0",
"mocha-lcov-reporter": "^1.3.0",
"mocha-sinon": "^2.1.2",
"reqresnext": "^1.7.0",
"sinon": "^14.0.0",
"sinon": "^15.0.0",
"sinon-chai": "^3.7.0",
"standard": "^17.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/js/log/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class Log {

static formatOptions ({ dir, filename, name, size, level = INFO, pattern }) {
return {
level: level,
level,
exitOnError: false,
format: createFormat(),
transports: [
Expand Down
2 changes: 1 addition & 1 deletion src/main/js/servlet/corsproxy/middlewares/memo.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default (req, res, next) => {
}
} else {
const entry = {
statusCode: statusCode,
statusCode,
body: content.toString('utf8'),
headers
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/js/servlet/corsproxy/middlewares/pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default (req, res, next) => {
res.piped = {
statusCode: response.statusCode,
headers: response.headers,
body: body // Buffer
body // Buffer
}
next()
})
Expand Down
Loading

0 comments on commit df14521

Please sign in to comment.