Skip to content

Commit

Permalink
fix: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
valverdealbo committed Apr 18, 2021
1 parent 9b92b51 commit 154cf87
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
14 changes: 1 addition & 13 deletions package.json
Expand Up @@ -27,7 +27,6 @@
"@semantic-release/npm": "^7.0.10",
"@semantic-release/release-notes-generator": "^9.0.2",
"@types/basic-auth": "^1.1.3",
"@types/express": "4.x",
"@types/jest": "^26.0.21",
"@types/jsonwebtoken": "^8.5.1",
"@types/supertest": "^2.0.10",
Expand All @@ -53,23 +52,12 @@
"typescript": "^4.2.3"
},
"dependencies": {
"@types/express": "4.x",
"@valbo/async-middleware": "1.x",
"@valbo/http-errors": "1.x",
"basic-auth": "^2.0.1",
"jsonwebtoken": "^8.5.1"
},
"peerDependencies": {
"@types/express": "4.x",
"express": "4.x"
},
"peerDependenciesMeta": {
"@types/express": {
"optional": false
},
"express": {
"optional": false
}
},
"scripts": {
"build": "rimraf ./dist && tsc",
"lint": "eslint \"**/*.{js,ts}\"",
Expand Down
1 change: 1 addition & 0 deletions src/example.ts
@@ -1,3 +1,4 @@
// eslint-disable-next-line import/no-extraneous-dependencies
import express, { Request, Response } from 'express';
import {
askBasicAuth,
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/ban-types */
import { promisify } from 'util';
import { ErrorRequestHandler, Request, Response, RequestHandler } from 'express';
import type { ErrorRequestHandler, Request, Response, RequestHandler } from 'express';
import basicAuth from 'basic-auth';
import * as jwt from 'jsonwebtoken';
import { asyncMiddleware } from '@valbo/async-middleware';
Expand Down

0 comments on commit 154cf87

Please sign in to comment.