rsa-compat
Advanced tools
Comparing version 1.3.2 to 1.4.0
@@ -8,3 +8,7 @@ /*! | ||
require('buffer-v6-polyfill'); | ||
try { | ||
require('buffer-v6-polyfill'); | ||
} catch(e) { | ||
/* ignore */ | ||
} | ||
@@ -11,0 +15,0 @@ var RSA = {}; |
{ | ||
"name": "rsa-compat", | ||
"version": "1.3.2", | ||
"version": "1.4.0", | ||
"description": "RSA utils that work on Windows, Mac, and Linux with or without C compiler", | ||
@@ -42,8 +42,8 @@ "main": "node.js", | ||
"dependencies": { | ||
"buffer-v6-polyfill": "^1.0.3", | ||
"node-forge": "^0.6.41" | ||
}, | ||
"optionalDependencies": { | ||
"trulyOptionalDependencies": { | ||
"buffer-v6-polyfill": "^1.0.3", | ||
"ursa": "^0.9.4" | ||
} | ||
} |
@@ -17,7 +17,24 @@ # rsa-compat.js | ||
node.js | ||
```bash | ||
npm install --save rsa-compat | ||
``` | ||
# node.js | ||
npm install --save rsa-compat | ||
# CLI | ||
For **more efficient** RSA key generation: | ||
<small>(I dropped `ursa` as an "optional dependency" because the non-fatal error messages on unsupported platforms and node versions were confusing people, but I still recommend installing it)</small> | ||
```bash | ||
npm install --save ursa | ||
``` | ||
**Node < v6** support: | ||
```bash | ||
npm install --save buffer-v6-polyfill | ||
``` | ||
### CLI | ||
```bash | ||
npm install --global rsa-compat | ||
@@ -215,1 +232,7 @@ ``` | ||
``` | ||
ChangeLog: | ||
* v1.4.0 | ||
* remove ursa as dependency (just causes confusion), but note in docs | ||
* drop node < v6 support |
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
44239
1
951
237
- Removedbuffer-v6-polyfill@^1.0.3
- Removedbindings@1.5.0(transitive)
- Removedbuffer-v6-polyfill@1.0.5(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removednan@2.22.0(transitive)
- Removedursa@0.9.4(transitive)