v1.9.2: move node-forge to optional dependency

This commit is contained in:
AJ ONeal 2018-12-16 20:01:01 -07:00
parent 7ee66b8ffc
commit fd8576b74e
2 changed files with 4 additions and 5 deletions

View File

@ -257,9 +257,10 @@ but it does matter.
# ChangeLog: # ChangeLog:
* v1.9.0 * v1.9
* consistently handle key generation across node crypto, ursa, and forge * consistently handle key generation across node crypto, ursa, and forge
* move all other operations to rasha.js and rsa-csr.js * move all other operations to rasha.js and rsa-csr.js
* move dependencies to optional
* v1.4.0 * v1.4.0
* remove ursa as dependency (just causes confusion), but note in docs * remove ursa as dependency (just causes confusion), but note in docs
* drop node < v6 support * drop node < v6 support

View File

@ -1,6 +1,6 @@
{ {
"name": "rsa-compat", "name": "rsa-compat",
"version": "1.9.1", "version": "1.9.2",
"description": "RSA utils that work on Windows, Mac, and Linux with or without C compiler", "description": "RSA utils that work on Windows, Mac, and Linux with or without C compiler",
"main": "index.js", "main": "index.js",
"bin": { "bin": {
@ -33,10 +33,8 @@
"url": "https://git.coolaj86.com/coolaj86/rsa-compat.js/issues" "url": "https://git.coolaj86.com/coolaj86/rsa-compat.js/issues"
}, },
"homepage": "https://git.coolaj86.com/coolaj86/rsa-compat.js#readme", "homepage": "https://git.coolaj86.com/coolaj86/rsa-compat.js#readme",
"dependencies": {
"node-forge": "^0.7.6"
},
"optionalDependencies": { "optionalDependencies": {
"node-forge": "^0.7.6",
"ursa-optional": "^0.9.10" "ursa-optional": "^0.9.10"
}, },
"trulyOptionalDependencies": { "trulyOptionalDependencies": {