Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Nov 27, 2023
1 parent fc1a360 commit 6534a98
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 39 deletions.
68 changes: 34 additions & 34 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,45 +67,45 @@
"url": "https://github.com/adonisjs/auth/issues"
},
"devDependencies": {
"@adonisjs/assembler": "^6.1.3-25",
"@adonisjs/core": "^6.1.5-31",
"@adonisjs/eslint-config": "^1.1.8",
"@adonisjs/i18n": "^2.0.0-6",
"@adonisjs/lucid": "^19.0.0-3",
"@adonisjs/prettier-config": "^1.1.8",
"@adonisjs/session": "^7.0.0-13",
"@adonisjs/tsconfig": "^1.1.8",
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"@japa/api-client": "^2.0.0",
"@japa/assert": "^2.0.0",
"@japa/browser-client": "^2.0.0",
"@adonisjs/assembler": "^6.1.3-28",
"@adonisjs/core": "^6.1.5-32",
"@adonisjs/eslint-config": "^1.1.9",
"@adonisjs/i18n": "^2.0.0-8",
"@adonisjs/lucid": "^19.0.0-4",
"@adonisjs/prettier-config": "^1.1.9",
"@adonisjs/session": "^7.0.0-14",
"@adonisjs/tsconfig": "^1.1.9",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@japa/api-client": "^2.0.1",
"@japa/assert": "^2.0.1",
"@japa/browser-client": "^2.0.1",
"@japa/expect-type": "^2.0.0",
"@japa/file-system": "^2.0.0",
"@japa/plugin-adonisjs": "^2.0.0",
"@japa/runner": "^3.0.4",
"@japa/snapshot": "^2.0.0",
"@swc/core": "1.3.82",
"@types/basic-auth": "^1.1.5",
"@types/luxon": "^3.3.3",
"@types/node": "^20.8.7",
"@types/set-cookie-parser": "^2.4.5",
"@japa/file-system": "^2.0.1",
"@japa/plugin-adonisjs": "^2.0.1",
"@japa/runner": "^3.1.0",
"@japa/snapshot": "^2.0.3",
"@swc/core": "^1.3.99",
"@types/basic-auth": "^1.1.6",
"@types/luxon": "^3.3.5",
"@types/node": "^20.10.0",
"@types/set-cookie-parser": "^2.4.7",
"c8": "^8.0.1",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"del-cli": "^5.1.0",
"eslint": "^8.52.0",
"eslint": "^8.54.0",
"github-label-sync": "^2.3.1",
"husky": "^8.0.3",
"luxon": "^3.4.3",
"luxon": "^3.4.4",
"np": "^8.0.4",
"playwright": "^1.39.0",
"prettier": "^3.0.3",
"playwright": "^1.40.0",
"prettier": "^3.1.0",
"set-cookie-parser": "^2.6.0",
"sqlite3": "^5.1.6",
"timekeeper": "^2.3.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"typescript": "5.2.2"
},
"prettier": "@adonisjs/prettier-config",
"eslintConfig": {
Expand Down Expand Up @@ -137,16 +137,16 @@
]
},
"dependencies": {
"@poppinss/utils": "^6.5.0",
"@poppinss/utils": "^6.5.1",
"basic-auth": "^2.0.1"
},
"peerDependencies": {
"@adonisjs/core": "^6.1.5-31",
"@adonisjs/lucid": "^19.0.0-3",
"@adonisjs/session": "^7.0.0-13",
"@japa/api-client": "^2.0.0",
"@japa/browser-client": "^2.0.0",
"@japa/plugin-adonisjs": "^2.0.0"
"@adonisjs/core": "^6.1.5-32",
"@adonisjs/lucid": "^19.0.0-4",
"@adonisjs/session": "^7.0.0-14",
"@japa/api-client": "^2.0.1",
"@japa/browser-client": "^2.0.1",
"@japa/plugin-adonisjs": "^2.0.1"
},
"peerDependenciesMeta": {
"@adonisjs/lucid": {
Expand Down
4 changes: 1 addition & 3 deletions src/core/user_providers/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ class DatabaseUser<RealUser extends Record<string, any>> extends GuardUser<RealU

if (!password) {
throw new RuntimeException(
`Cannot verify password during login. The value of column "${
this.#options.passwordColumnName
}" is undefined or null`
`Cannot verify password during login. The value of column "${this.#options.passwordColumnName}" is undefined or null`
)
}

Expand Down
4 changes: 2 additions & 2 deletions tests/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,8 @@ export function defineCookies(
cookie.type === 'plain'
? client.encode(cookie.key, cookie.value)
: cookie.type === 'encrypted'
? client.encrypt(cookie.key, cookie.value)
: client.sign(cookie.key, cookie.value)
? client.encrypt(cookie.key, cookie.value)
: client.sign(cookie.key, cookie.value)

result.push(`${cookie.key}=${value}`)
return result
Expand Down

0 comments on commit 6534a98

Please sign in to comment.