node-opcua-pki 3.0.0 → 3.0.2

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.
@@ -293,6 +293,9 @@ function install_and_check_win32_openssl_version(callback: (err: Error | null, o
293
293
  const download = wget.download(url, outputFilename, options);
294
294
  download.on("error", (err: Error) => {
295
295
  console.log(err);
296
+ setImmediate(() => {
297
+ callback(err);
298
+ });
296
299
  });
297
300
  download.on("end", (output: string) => {
298
301
  // istanbul ignore next
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-opcua-pki",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "PKI management for node-opcua",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -49,7 +49,7 @@
49
49
  "chokidar": "^3.5.3",
50
50
  "cli-table": "^0.3.11",
51
51
  "minimist": "^1.2.7",
52
- "node-opcua-crypto": "^2.1.0",
52
+ "node-opcua-crypto": "^2.1.2",
53
53
  "progress": "^2.0.3",
54
54
  "rimraf": "^3.0.2",
55
55
  "thenify": "^3.3.1",
@@ -59,29 +59,29 @@
59
59
  },
60
60
  "devDependencies": {
61
61
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
62
- "@types/async": "^3.2.15",
62
+ "@types/async": "^3.2.16",
63
63
  "@types/byline": "^4.2.33",
64
64
  "@types/cli-table": "^0.3.1",
65
- "@types/mocha": "^10.0.0",
66
- "@types/node": "^18.11.3",
65
+ "@types/mocha": "^10.0.1",
66
+ "@types/node": "^18.11.18",
67
67
  "@types/node-dir": "0.0.34",
68
68
  "@types/progress": "^2.0.5",
69
69
  "@types/rimraf": "^3.0.2",
70
70
  "@types/sinon": "^10.0.13",
71
71
  "@types/underscore": "^1.11.4",
72
- "@types/yargs": "^17.0.13",
72
+ "@types/yargs": "^17.0.19",
73
73
  "@types/yauzl": "^2.10.0",
74
- "@typescript-eslint/eslint-plugin": "^5.40.1",
75
- "@typescript-eslint/parser": "^5.40.1",
76
- "eslint": "^8.25.0",
77
- "mocha": "^10.1.0",
74
+ "@typescript-eslint/eslint-plugin": "^5.48.0",
75
+ "@typescript-eslint/parser": "^5.48.0",
76
+ "eslint": "^8.31.0",
77
+ "mocha": "^10.2.0",
78
78
  "node-dir": "^0.1.17",
79
79
  "nyc": "^15.1.0",
80
80
  "should": "^13.2.3",
81
- "sinon": "^14.0.1",
81
+ "sinon": "^15.0.1",
82
82
  "source-map-support": "^0.5.21",
83
83
  "ts-node": "^10.9.1",
84
- "typescript": "^4.8.4"
84
+ "typescript": "^4.9.4"
85
85
  },
86
86
  "bin": {
87
87
  "pki": "./bin/crypto_create_CA.js"