Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Sep 3, 2024
1 parent f28cdf6 commit f4ce83e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 23 deletions.
2 changes: 2 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import { configPkg } from '@adonisjs/eslint-config'
export default configPkg()
38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"version": "npm run build",
"format": "prettier --write .",
"prepublishOnly": "npm run build",
"lint": "eslint . --ext=.ts",
"lint": "eslint .",
"sync-labels": "github-label-sync --labels .github/labels.json adonisjs/hash",
"quick:test": "node --loader=ts-node/esm bin/test.ts"
"quick:test": "node --import=ts-node-maintained/register/esm bin/test.ts"
},
"keywords": [
"hash",
Expand All @@ -46,37 +46,37 @@
"author": "adonisjs,virk",
"license": "MIT",
"devDependencies": {
"@adonisjs/eslint-config": "^1.3.0",
"@adonisjs/prettier-config": "^1.3.0",
"@adonisjs/tsconfig": "^1.3.0",
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@adonisjs/eslint-config": "^2.0.0-beta.6",
"@adonisjs/prettier-config": "^1.4.0",
"@adonisjs/tsconfig": "^1.4.0",
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@japa/assert": "^3.0.0",
"@japa/expect-type": "^2.0.2",
"@japa/runner": "^3.1.4",
"@swc/core": "^1.4.16",
"@swc/core": "^1.7.23",
"@types/bcrypt": "^5.0.2",
"@types/node": "^20.12.7",
"argon2": "^0.40.1",
"@types/node": "^22.5.2",
"argon2": "^0.41.1",
"bcrypt": "^5.1.1",
"c8": "^9.1.0",
"c8": "^10.1.2",
"cross-env": "^7.0.3",
"del-cli": "^5.1.0",
"eslint": "^8.57.0",
"eslint": "^9.9.1",
"github-label-sync": "^2.3.1",
"husky": "^9.0.11",
"prettier": "^3.2.5",
"release-it": "^17.2.0",
"ts-node": "^10.9.2",
"tsup": "^8.0.2",
"typescript": "^5.4.5"
"husky": "^9.1.5",
"prettier": "^3.3.3",
"release-it": "^17.6.0",
"ts-node-maintained": "^10.9.4",
"tsup": "^8.2.4",
"typescript": "^5.5.4"
},
"dependencies": {
"@phc/format": "^1.0.0",
"@poppinss/utils": "^6.7.3"
},
"peerDependencies": {
"argon2": "^0.31.2 || ^0.40.0",
"argon2": "^0.31.2 || ^0.41.0",
"bcrypt": "^5.1.1"
},
"peerDependenciesMeta": {
Expand Down
4 changes: 0 additions & 4 deletions src/legacy/bcrypt_base64.cjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* eslint-disable capitalized-comments,unicorn/number-literal-case,unicorn/no-abusive-eslint-disable */

/**
* Bcrypt does not use standard base64 encoding.
* https://hackernoon.com/the-bcrypt-protocol-is-kind-of-a-mess-4aace5eb31bd
Expand All @@ -10,7 +8,6 @@
**/
const BASE64_CODE = './ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'.split('')

/* eslint-disable prettier/prettier */
const BASE64_INDEX = [
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 54,
Expand All @@ -19,7 +16,6 @@ const BASE64_INDEX = [
30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53,
-1, -1, -1, -1, -1,
]
/* eslint-enable prettier/prettier */

/**
* Encodes a Buffer to base64 using the bcrypt's base64 dictionary.
Expand Down

0 comments on commit f4ce83e

Please sign in to comment.