[js/node/hebe-node] Update dependencies

This commit is contained in:
Mikołaj Pich 2022-05-03 11:39:22 +02:00
parent 96b2b51f64
commit b1283f1199
4 changed files with 6 additions and 7 deletions

View file

@ -23,7 +23,7 @@
},
"homepage": "https://github.com/wulkanowy/uonet-request-signer/tree/master/hebe-node#readme",
"devDependencies": {
"mocha": "^7.1.1",
"chai": "^4.2.0"
"mocha": "^10.0.0",
"chai": "^4.3.6"
}
}

View file

@ -20,6 +20,6 @@
},
"homepage": "https://github.com/wulkanowy/uonet-request-signer/tree/master/js#readme",
"dependencies": {
"node-forge": "^0.10.0"
"node-forge": "^1.3.1"
}
}

View file

@ -1,7 +1,7 @@
const signer = require("@wulkanowy/uonet-request-signer/signer");
forge = require('node-forge');
crypto = new (require('node-webcrypto-ossl'));
crypto = require('crypto');
function signContent(password, certificate, content) {
return signer.signContent(password, certificate, content);

View file

@ -24,10 +24,9 @@
"homepage": "https://github.com/wulkanowy/uonet-request-signer/tree/master/node#readme",
"dependencies": {
"@wulkanowy/uonet-request-signer": "^0.2.1",
"node-forge": "^0.10.0",
"node-webcrypto-ossl": "^1.0.48"
"node-forge": "^1.3.1"
},
"devDependencies": {
"mocha": "^6.2.2"
"mocha": "^10.0.0"
}
}