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

rsa-compat

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rsa-compat - npm Package Compare versions

Comparing version 1.3.2 to 1.4.0

6

node.js

@@ -8,3 +8,7 @@ /*!

require('buffer-v6-polyfill');
try {
require('buffer-v6-polyfill');
} catch(e) {
/* ignore */
}

@@ -11,0 +15,0 @@ var RSA = {};

6

package.json
{
"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 &lt; 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 &lt; v6 support
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