querysub 0.183.0 → 0.185.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "querysub",
3
- "version": "0.183.0",
3
+ "version": "0.185.0",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
6
  "note1": "note on node-forge fork, see https://github.com/digitalbazaar/forge/issues/744 for details",
@@ -22,8 +22,7 @@
22
22
  "js-sha512": "^0.9.0",
23
23
  "node-forge": "https://github.com/sliftist/forge#e618181b469b07bdc70b968b0391beb8ef5fecd6",
24
24
  "pako": "^2.1.0",
25
- "preact": "^10.11.3",
26
- "socket-function": "^0.130.0",
25
+ "socket-function": "^0.132.0",
27
26
  "terser": "^5.31.0",
28
27
  "typesafecss": "^0.22.0",
29
28
  "yaml": "^2.5.0",
@@ -116,9 +116,9 @@ export function createX509(
116
116
 
117
117
  measureBlock(function sign() {
118
118
  if (issuer === "self") {
119
- certObj.sign(keyPair.privateKey, forge.md.sha256.create());
119
+ certObj.sign(keyPair.privateKey as any, forge.md.sha256.create());
120
120
  } else {
121
- certObj.sign(privateKeyFromPem(issuer.key.toString()), forge.md.sha256.create());
121
+ certObj.sign(privateKeyFromPem(issuer.key.toString()) as any, forge.md.sha256.create());
122
122
  }
123
123
  });
124
124