Socket
Socket
Sign inDemoInstall

@types/bcryptjs

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/bcryptjs - npm Package Compare versions

Comparing version 2.4.3 to 2.4.4

15

bcryptjs/index.d.ts

@@ -9,3 +9,2 @@ // Type definitions for bcryptjs v2.4.0

/**

@@ -69,3 +68,8 @@ * Sets the pseudo random number generator to use as a fallback if neither node's crypto module nor the Web Crypto API is available.

*/
export declare function hash(s: string, salt: number | string, callback?: (err: Error | null, hash: string) => void, progressCallback?: (percent: number) => void): void;
export declare function hash(
s: string,
salt: number | string,
callback?: (err: Error | null, hash: string) => void,
progressCallback?: (percent: number) => void,
): void;

@@ -95,3 +99,8 @@ /**

*/
export declare function compare(s: string, hash: string, callback?: (err: Error | null, success: boolean) => void, progressCallback?: (percent: number) => void): void;
export declare function compare(
s: string,
hash: string,
callback?: (err: Error | null, success: boolean) => void,
progressCallback?: (percent: number) => void,
): void;

@@ -98,0 +107,0 @@ /**

6

bcryptjs/package.json
{
"name": "@types/bcryptjs",
"version": "2.4.3",
"version": "2.4.4",
"description": "TypeScript definitions for bcryptjs",

@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/bcryptjs",

"dependencies": {},
"typesPublisherContentHash": "1a24b454b9a584615bb7d0425bc9cea7ee8356371edb2c2263066ea7120835c0",
"typeScriptVersion": "4.3"
"typesPublisherContentHash": "9e5f82cf72551f2df0a6c3a6b6af2b20d8875574d9fedbb34e26f0db4c83be8d",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Tue, 29 Aug 2023 20:03:01 GMT
* Last updated: Fri, 15 Sep 2023 19:06:48 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc