From 9614a1e9ca4bd7f06da3e386b96073266565f597 Mon Sep 17 00:00:00 2001 From: Valters Jansons Date: Fri, 15 Mar 2019 05:16:55 +0200 Subject: [PATCH] Fix `keypairs` module reference in `lib/rsa.js` Commit 2e7134dd8a3c33cc59f801ef48c4fb045ad555a6 introduced breakage and was subsequently released as v2.0.4. The breakage crashes the application using the module as it tries to `require` a module named `Keypairs` even though it should not be capitalized. --- lib/rsa.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rsa.js b/lib/rsa.js index ae1b515..daee557 100644 --- a/lib/rsa.js +++ b/lib/rsa.js @@ -13,7 +13,7 @@ try { /* ignore */ } -var Keypairs = require('Keypairs'); +var Keypairs = require('keypairs'); var RSACSR = require('./rsa-csr'); var NOBJ = {}; var DEFAULT_BITLEN = 2048; -- 2.38.5