Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
puzpuzpuz committed May 23, 2023
1 parent ea11165 commit 3be6cb1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14, 16]
node-version: [16, 18, 20]
name: Build with Node ${{ matrix.node-version }}
steps:
- name: Checkout repository
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ These are the available config options for the middleware/plugin functions. All

## Advanced features

If you need something different from the default UUID v1 for id generation, you should use the `requestIdFactory` function available in the middleware/plugin config. Note that this function allows storing any object as the id, not only primitive values or strings.

In certain situations you may want to have an id available outside of the request handler scope, say, in a code that acts as a background job. In this case you may use the `runWithId()` function:

```js
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,20 +60,20 @@
"logging"
],
"dependencies": {
"uuid": "^8.3.2"
"uuid": "^9.0.0"
},
"devDependencies": {
"@hapi/hapi": "^20.2.2",
"@types/node": "^14.14.31",
"express": "^4.18.1",
"@hapi/hapi": "^21.3.2",
"@types/node": "^14.18.47",
"express": "^4.18.2",
"fastify": "^4.2.0",
"fastifyv2": "npm:fastify@^2.15.0",
"jest": "^28.1.2",
"koa": "^2.13.4",
"jest": "^29.5.0",
"koa": "^2.14.2",
"koav1": "npm:koa@^1.7.0",
"standard": "^17.0.0",
"supertest": "^6.2.4",
"typescript": "^4.7.4",
"winston": "^3.8.1"
"supertest": "^6.3.3",
"typescript": "^4.9.5",
"winston": "^3.8.2"
}
}

0 comments on commit 3be6cb1

Please sign in to comment.