bcryptjs-react
Advanced tools
Comparing version 2.4.5 to 2.4.6
@@ -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[]; | ||
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
224796
280
3000