feat: use ursa-optional and add it as dependency
This commit is contained in:
parent
81f5961d8e
commit
5e1b014940
|
@ -1,6 +1,6 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var ursa = require('ursa');
|
var ursa = require('ursa-optional');
|
||||||
|
|
||||||
function notToJson() {
|
function notToJson() {
|
||||||
return undefined;
|
return undefined;
|
||||||
|
|
|
@ -39,7 +39,8 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://git.coolaj86.com/coolaj86/rsa-compat.js#readme",
|
"homepage": "https://git.coolaj86.com/coolaj86/rsa-compat.js#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"node-forge": "^0.6.41"
|
"node-forge": "^0.6.41",
|
||||||
|
"ursa-optional": "^0.9.4"
|
||||||
},
|
},
|
||||||
"trulyOptionalDependencies": {
|
"trulyOptionalDependencies": {
|
||||||
"buffer-v6-polyfill": "^1.0.3",
|
"buffer-v6-polyfill": "^1.0.3",
|
||||||
|
|
Loading…
Reference in New Issue