bcrypt-ts
Advanced tools
Comparing version 4.0.0 to 4.0.1
{ | ||
"name": "bcrypt-ts", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "bcrypt written in typescript", | ||
@@ -9,2 +9,5 @@ "keywords": [ | ||
], | ||
"bugs": { | ||
"url": "https://github.com/Mister-Hope/bcrypt-ts/issues" | ||
}, | ||
"license": "MIT", | ||
@@ -46,12 +49,5 @@ "author": { | ||
], | ||
"bugs": { | ||
"url": "https://github.com/Mister-Hope/bcrypt-ts/issues" | ||
}, | ||
"nano-staged": { | ||
"*.{js,ts}": "eslint --fix", | ||
"*.{js,ts,json,yaml,yml,md}": "prettier --write", | ||
"*.wxss": "stylelint --fix", | ||
"*.wxml": "prettier --parser html --write", | ||
"*.wxs": "prettier --parser babel-flow --write", | ||
"package.json": "sort-package-json" | ||
"*.{js,ts,json,yml,md}": "prettier --write" | ||
}, | ||
@@ -63,38 +59,38 @@ "config": { | ||
}, | ||
"packageManager": "pnpm@8.6.5", | ||
"devDependencies": { | ||
"@commitlint/cli": "17.6.6", | ||
"@commitlint/config-conventional": "17.6.6", | ||
"@rollup/plugin-alias": "5.0.0", | ||
"@rollup/plugin-replace": "5.0.2", | ||
"@types/node": "20.3.2", | ||
"@typescript-eslint/eslint-plugin": "5.60.1", | ||
"@typescript-eslint/parser": "5.60.1", | ||
"@vitest/coverage-v8": "0.32.2", | ||
"commit-and-tag-version": "11.2.2", | ||
"@commitlint/cli": "17.7.2", | ||
"@commitlint/config-conventional": "17.7.0", | ||
"@rollup/plugin-alias": "5.0.1", | ||
"@rollup/plugin-replace": "5.0.3", | ||
"@types/node": "20.8.4", | ||
"@typescript-eslint/eslint-plugin": "6.7.5", | ||
"@typescript-eslint/parser": "6.7.5", | ||
"@vitest/coverage-v8": "0.34.6", | ||
"commit-and-tag-version": "11.3.0", | ||
"commitizen": "4.3.0", | ||
"cz-git": "1.6.1", | ||
"esbuild": "0.18.10", | ||
"eslint": "8.43.0", | ||
"eslint-config-prettier": "8.8.0", | ||
"eslint-plugin-prettier": "4.2.1", | ||
"cz-git": "1.7.1", | ||
"esbuild": "0.19.4", | ||
"eslint": "8.51.0", | ||
"eslint-config-prettier": "9.0.0", | ||
"eslint-plugin-prettier": "5.0.0", | ||
"husky": "8.0.3", | ||
"nano-staged": "0.8.0", | ||
"prettier": "2.8.8", | ||
"rimraf": "5.0.1", | ||
"rollup": "3.25.3", | ||
"rollup-plugin-dts": "5.3.0", | ||
"rollup-plugin-esbuild": "5.0.0", | ||
"tslib": "2.6.0", | ||
"typescript": "5.1.6", | ||
"vite": "4.3.9", | ||
"vitest": "0.32.2" | ||
"prettier": "3.0.3", | ||
"rimraf": "5.0.5", | ||
"rollup": "4.0.2", | ||
"rollup-plugin-dts": "6.1.0", | ||
"rollup-plugin-esbuild": "6.1.0", | ||
"tslib": "2.6.2", | ||
"typescript": "5.2.2", | ||
"vite": "4.4.11", | ||
"vitest": "0.34.6" | ||
}, | ||
"packageManager": "pnpm@8.9.0", | ||
"scripts": { | ||
"build": "rollup -c rollup.config.ts --configPlugin esbuild", | ||
"changelog": " commit-and-tag-version --skip.bump --skip.commit --skip.tag", | ||
"clean": "rimraf dist", | ||
"commit": "pnpm git-cz", | ||
"changelog": " commit-and-tag-version --skip.bump --skip.commit --skip.tag", | ||
"lint": "pnpm lint:eslint && pnpm lint:prettier", | ||
"lint:eslint": "eslint --ext .js,.ts src", | ||
"lint:eslint": "eslint --fix --ext .js,.ts src", | ||
"lint:prettier": "prettier --check --write .", | ||
@@ -101,0 +97,0 @@ "packages:check-update": "pnpm dlx npm-check-updates -u --timeout 600000", |
@@ -38,5 +38,5 @@ # bcrypt-ts | ||
- If you are using bundler like webpack and vite, then you will probably use the client bundle. | ||
- If you are using bundler like webpack and vite, then you will probably use the browser bundle. | ||
- If you meet any issues that a incorrect bundle is used, you can use `bcrypt-ts/node` and `bcrypt-ts/client` to force the correct bundle. | ||
- If you meet any issues that a incorrect bundle is used, you can use `bcrypt-ts/node` and `bcrypt-ts/browser` to force the correct bundle. | ||
@@ -136,3 +136,3 @@ ## Usage - Sync | ||
hash: string, | ||
progressCallback?: ((percent: number) => void) | undefined | ||
progressCallback?: ((percent: number) => void) | undefined, | ||
) => Promise<boolean>; | ||
@@ -149,3 +149,3 @@ | ||
contentString: string, | ||
salt?: string | number | ||
salt?: string | number, | ||
) => string; | ||
@@ -163,3 +163,3 @@ /** | ||
salt: number | string, | ||
progressCallback?: ((progress: number) => void) | undefined | ||
progressCallback?: ((progress: number) => void) | undefined, | ||
) => Promise<string>; | ||
@@ -166,0 +166,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
383223