mirror of
https://github.com/samsonjs/mit-license.git
synced 2026-04-27 15:07:42 +00:00
chore: Update deps
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
parent
97163ea75c
commit
1540af2fb9
3 changed files with 7 additions and 7 deletions
12
package.json
12
package.json
|
|
@ -30,7 +30,7 @@
|
|||
},
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@octokit/rest": "^16.30.1",
|
||||
"@octokit/rest": "^16.33.1",
|
||||
"btoa": "^1.2.1",
|
||||
"ejs": "^2.7.1",
|
||||
"express": "^4.17.1",
|
||||
|
|
@ -47,15 +47,15 @@
|
|||
"@types/express": "^4.17.1",
|
||||
"@types/express-minify": "^0.1.34",
|
||||
"@types/md5": "^2.1.33",
|
||||
"@types/node": "^12.7.8",
|
||||
"@types/node": "^12.11.1",
|
||||
"css": "^2.2.4",
|
||||
"eslint": "^6.5.0",
|
||||
"eslint-config-prettier": "^6.3.0",
|
||||
"eslint": "^6.5.1",
|
||||
"eslint-config-prettier": "^6.4.0",
|
||||
"eslint-plugin-node": "^10.0.0",
|
||||
"eslint-plugin-prettier": "^3.1.1",
|
||||
"has-flag": "^4.0.0",
|
||||
"husky": "^3.0.7",
|
||||
"nodemon": "^1.19.3",
|
||||
"husky": "^3.0.9",
|
||||
"nodemon": "^1.19.4",
|
||||
"prettier": "^1.18.2"
|
||||
},
|
||||
"resolutions": {
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ module.exports = async (req, res) => {
|
|||
try {
|
||||
const fileContent = JSON.stringify(userData, 0, 2);
|
||||
|
||||
await github.repos.createFile({
|
||||
await github.repos.createOrUpdateFile({
|
||||
owner: 'remy',
|
||||
repo: 'mit-license',
|
||||
path: `users/${id}.json`,
|
||||
|
|
|
|||
BIN
yarn.lock
BIN
yarn.lock
Binary file not shown.
Loading…
Reference in a new issue