Skip to content

Commit 5493338

Browse files
authored
chore(deps): replacing node-uuid with uuid (#78)
1 parent cb63770 commit 5493338

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

lib/create-jwt-link.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const getReadmeData = require('./get-readme-data');
2-
const uuid = require('node-uuid');
2+
const { v4 } = require('uuid');
33
const jwt = require('jsonwebtoken');
44

55
module.exports = async (apiKey, user, redirectPath = '') => {
@@ -11,7 +11,7 @@ module.exports = async (apiKey, user, redirectPath = '') => {
1111
}
1212

1313
const jwtOptions = {
14-
jwtid: uuid.v4(),
14+
jwtid: v4(),
1515
};
1616

1717
let token = '';

package-lock.json

+17-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"content-type": "^1.0.4",
1010
"jsonwebtoken": "^8.3.0",
1111
"lodash": "^4.17.15",
12-
"node-uuid": "^1.4.8",
13-
"r2": "^2.0.1"
12+
"r2": "^2.0.1",
13+
"uuid": "^8.1.0"
1414
},
1515
"scripts": {
1616
"lint": "eslint .",

0 commit comments

Comments
 (0)