Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bcryptjs-react

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bcryptjs-react - npm Package Compare versions

Comparing version 2.4.5 to 2.4.6

1

dist/bcrypt.js

@@ -68,3 +68,2 @@ /*

function random(len) {
/* node */ if (typeof module !== 'undefined' && module && module['exports'])

@@ -71,0 +70,0 @@ /* WCA */ try {

@@ -124,2 +124,1 @@ // Type definitions for bcryptjs v2.4.0

export declare function decodeBase64(s: string, len: number): number[];

2

package.json
{
"name": "bcryptjs-react",
"description": "Webpack v5 - Optimized bcrypt in plain JavaScript with zero dependencies. Compatible to 'bcrypt'.",
"version": "2.4.5",
"version": "2.4.6",
"author": "Daniel Wirtz <dcode@dcode.io>",

@@ -6,0 +6,0 @@ "contributors": [

@@ -0,1 +1,29 @@

bcrypt.js-react
=========
fixed for webpack v5
```
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
This is no longer the case. Verify if you need this module and configure a polyfill for it.
If you want to include a polyfill, you need to:
- add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }'
- install 'crypto-browserify'
If you don't want to include a polyfill, you can use an empty module like this:
resolve.fallback: { "crypto": false }
```
Optimized bcrypt in JavaScript with zero dependencies. Compatible to the C++ [bcrypt](https://npmjs.org/package/bcrypt)
binding on node.js and also working in the browser.
Installation
-----------------------
`npm i bcryptjs-react`
Usage
-----------------------
`import bcrypt from "bcryptjs-react";`
---
bcrypt.js

@@ -2,0 +30,0 @@ =========

Sorry, the diff of this file is not supported yet

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