Skip to content

Commit

Permalink
chore: bump deps, fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Dec 14, 2023
1 parent ffbde43 commit 27cec4f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
3 changes: 1 addition & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const process = require('node:process');

const Boom = require('@hapi/boom');
const auth = require('basic-auth');
const isSANB = require('is-string-and-not-blank');
Expand Down Expand Up @@ -212,7 +211,7 @@ class Policies {
const credentials = auth(ctx.req);

if (
typeof credentials === 'undefined' ||
credentials === undefined ||
typeof credentials.name !== 'string' ||
!credentials.name
)
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@
"shadowgate15 (https://github.com/shadowgate15)"
],
"dependencies": {
"@hapi/boom": "^10.0.0",
"@hapi/boom": "^10.0.1",
"basic-auth": "^2.0.1",
"boolean": "^3.2.0",
"is-string-and-not-blank": "^0.0.2"
},
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"ava": "^5.1.0",
"cross-env": "^7.0.3",
"eslint": "^8.31.0",
"eslint": "^8.55.0",
"eslint-config-xo-lass": "^2.0.1",
"fixpack": "^4.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"lint-staged": "^15.2.0",
"nyc": "^15.1.0",
"remark-cli": "^11.0.0",
"remark-cli": "11",
"remark-preset-github": "^4.0.4",
"undici": "^5.20.0",
"xo": "^0.53.1"
"undici": "^6.0.1",
"xo": "^0.56.0"
},
"engines": {
"node": ">=14"
Expand Down
2 changes: 0 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
const process = require('node:process');

const test = require('ava');

const Policies = require('..');

test.beforeEach((t) => {
Expand Down

0 comments on commit 27cec4f

Please sign in to comment.