node-opcua-pki 4.8.1 → 4.10.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/LICENSE +1 -1
- package/dist/lib/ca/certificate_authority.js +5 -1
- package/dist/lib/ca/crypto_create_CA.js +5 -5
- package/dist/lib/index.js +1 -1
- package/dist/lib/misc/applicationurn.js +1 -1
- package/dist/lib/pki/certificate_manager.js +9 -1
- package/dist/lib/toolbox/common.js +1 -1
- package/dist/lib/toolbox/common2.js +1 -1
- package/dist/lib/toolbox/config.js +1 -1
- package/dist/lib/toolbox/debug.js +1 -1
- package/dist/lib/toolbox/display.js +1 -1
- package/dist/lib/toolbox/index.js +1 -1
- package/dist/lib/toolbox/with_openssl/_create_random_file.js +1 -1
- package/dist/lib/toolbox/with_openssl/create_certificate_signing_request.js +1 -1
- package/dist/lib/toolbox/with_openssl/create_private_key.js +1 -1
- package/dist/lib/toolbox/with_openssl/create_self_signed_certificate.js +1 -1
- package/dist/lib/toolbox/with_openssl/execute_openssl.js +1 -1
- package/dist/lib/toolbox/with_openssl/install_prerequisite.js +1 -1
- package/dist/lib/toolbox/with_openssl/toolbox.js +1 -1
- package/dist/lib/toolbox/without_openssl/create_certificate_signing_request.js +1 -1
- package/dist/lib/toolbox/without_openssl/create_private_key.js +1 -1
- package/dist/lib/toolbox/without_openssl/create_self_signed_certificate.js +1 -1
- package/dist/lib/toolbox/without_openssl/index.js +1 -1
- package/package.json +16 -16
package/LICENSE
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
4
|
-
Copyright (c) 2022 - Sterfive.com
|
|
4
|
+
Copyright (c) 2022-2024 - Sterfive.com
|
|
5
5
|
|
|
6
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
7
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -8,7 +8,7 @@ exports.CertificateAuthority = exports.configurationFileTemplate = exports.defau
|
|
|
8
8
|
// node-opcua
|
|
9
9
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
10
10
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
11
|
-
// Copyright (c) 2022-
|
|
11
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
12
12
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
13
13
|
//
|
|
14
14
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -113,6 +113,7 @@ function construct_CertificateAuthority(certificateAuthority, callback) {
|
|
|
113
113
|
// tslint:disable:no-empty
|
|
114
114
|
(0, toolbox_1.displayTitle)("Create Certificate Authority (CA)", (_err) => {
|
|
115
115
|
/** */
|
|
116
|
+
_err;
|
|
116
117
|
});
|
|
117
118
|
const indexFileAttr = path_1.default.join(caRootDir, "index.txt.attr");
|
|
118
119
|
if (!fs_1.default.existsSync(indexFileAttr)) {
|
|
@@ -350,6 +351,8 @@ class CertificateAuthority {
|
|
|
350
351
|
q(n(this.caCertificate)) +
|
|
351
352
|
" -crl_check " +
|
|
352
353
|
q(n(certificate)), options, (err, output) => {
|
|
354
|
+
err;
|
|
355
|
+
output;
|
|
353
356
|
callback();
|
|
354
357
|
});
|
|
355
358
|
},
|
|
@@ -469,6 +472,7 @@ class CertificateAuthority {
|
|
|
469
472
|
const configFile = (0, with_openssl_1.generateStaticConfig)("conf/caconfig.cnf", options);
|
|
470
473
|
(0, with_openssl_1.setEnv)("OPENSSL_CONF", (0, toolbox_1.make_path)(configFile));
|
|
471
474
|
const configOption = " -config " + configFile;
|
|
475
|
+
configOption;
|
|
472
476
|
(0, with_openssl_1.execute_openssl_no_failure)("verify -verbose " + " -CAfile " + q(n(this.caCertificateWithCrl)) + " " + q(n(certificate)), options, (err) => {
|
|
473
477
|
callback(err ? err : undefined);
|
|
474
478
|
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// node-opcua
|
|
5
5
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
6
6
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
7
|
-
// Copyright (c) 2022-
|
|
7
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
8
8
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
9
9
|
//
|
|
10
10
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -62,7 +62,7 @@ const with_openssl_2 = require("../toolbox/with_openssl");
|
|
|
62
62
|
const { hideBin } = require("yargs/helpers");
|
|
63
63
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
64
64
|
const argv = require("yargs/yargs")(hideBin(process.argv));
|
|
65
|
-
const epilog = "Copyright (c) sterfive - node-opcua - 2017-
|
|
65
|
+
const epilog = "Copyright (c) sterfive - node-opcua - 2017-2024";
|
|
66
66
|
// ------------------------------------------------- some useful dates
|
|
67
67
|
function get_offset_date(date, nbDays) {
|
|
68
68
|
const d = new Date(date.getTime());
|
|
@@ -538,9 +538,9 @@ argv
|
|
|
538
538
|
(0, toolbox_1.displayTitle)("Cleaning old certificates");
|
|
539
539
|
(0, assert_1.default)(gLocalConfig);
|
|
540
540
|
const certificateDir = gLocalConfig.certificateDir || "";
|
|
541
|
-
yield (0,
|
|
542
|
-
yield (0,
|
|
543
|
-
yield (0,
|
|
541
|
+
yield (0, rimraf_1.default)(certificateDir + "/*.pem*");
|
|
542
|
+
yield (0, rimraf_1.default)(certificateDir + "/*.pub*");
|
|
543
|
+
yield (0, toolbox_1.mkdir)(certificateDir);
|
|
544
544
|
}
|
|
545
545
|
(0, toolbox_1.displayTitle)("create certificates");
|
|
546
546
|
yield createDefaultCertificates(local_argv.dev);
|
package/dist/lib/index.js
CHANGED
|
@@ -19,7 +19,7 @@ exports.CertificateAuthority = void 0;
|
|
|
19
19
|
// node-opcua-pki
|
|
20
20
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
21
21
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
22
|
-
// Copyright (c) 2022-
|
|
22
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
23
23
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
24
24
|
//
|
|
25
25
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -8,7 +8,7 @@ exports.makeApplicationUrn = void 0;
|
|
|
8
8
|
// node-opcua-pki
|
|
9
9
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
10
10
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
11
|
-
// Copyright (c) 2022-
|
|
11
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
12
12
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
13
13
|
//
|
|
14
14
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// node-opcua
|
|
5
5
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
6
6
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
7
|
-
// Copyright (c) 2022-
|
|
7
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
8
8
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
9
9
|
//
|
|
10
10
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -292,6 +292,7 @@ class CertificateManager {
|
|
|
292
292
|
// let's first verify that certificate is valid ,as we don't want to write invalid data
|
|
293
293
|
try {
|
|
294
294
|
const certificateInfo = (0, node_opcua_crypto_1.exploreCertificateInfo)(certificate);
|
|
295
|
+
certificateInfo;
|
|
295
296
|
}
|
|
296
297
|
catch (err) {
|
|
297
298
|
return "BadCertificateInvalid";
|
|
@@ -410,6 +411,7 @@ class CertificateManager {
|
|
|
410
411
|
return VerificationStatus.BadCertificateUntrusted;
|
|
411
412
|
}
|
|
412
413
|
const c2 = chain[1] ? (0, node_opcua_crypto_1.exploreCertificateInfo)(chain[1]) : "non";
|
|
414
|
+
c2;
|
|
413
415
|
// Has SoftwareCertificate passed its issue date and has it not expired ?
|
|
414
416
|
// check dates
|
|
415
417
|
const certificateInfo = (0, node_opcua_crypto_1.exploreCertificateInfo)(certificate);
|
|
@@ -884,9 +886,12 @@ class CertificateManager {
|
|
|
884
886
|
function _walkCRLFiles(folder, index, _innerCallback) {
|
|
885
887
|
const w = chokidar_1.default.watch(folder, options);
|
|
886
888
|
w.on("unlink", (filename, stat) => {
|
|
889
|
+
filename;
|
|
890
|
+
stat;
|
|
887
891
|
// CRL never removed
|
|
888
892
|
});
|
|
889
893
|
w.on("add", (filename, stat) => {
|
|
894
|
+
stat;
|
|
890
895
|
this._on_crl_file_added(index, filename);
|
|
891
896
|
});
|
|
892
897
|
w.on("change", (path, stat) => {
|
|
@@ -900,6 +905,7 @@ class CertificateManager {
|
|
|
900
905
|
function _walkAllFiles(folder, index, _innerCallback) {
|
|
901
906
|
const w = chokidar_1.default.watch(folder, options);
|
|
902
907
|
w.on("unlink", (filename, stat) => {
|
|
908
|
+
stat;
|
|
903
909
|
(0, debug_1.debugLog)(chalk_1.default.cyan("unlink in folder " + folder), filename);
|
|
904
910
|
const h = this._filenameToHash[filename];
|
|
905
911
|
if (h && index[h]) {
|
|
@@ -908,6 +914,7 @@ class CertificateManager {
|
|
|
908
914
|
});
|
|
909
915
|
w.on("add", (filename, stat) => {
|
|
910
916
|
var _a, _b;
|
|
917
|
+
stat;
|
|
911
918
|
(0, debug_1.debugLog)(chalk_1.default.cyan("add in folder " + folder), filename); // stat);
|
|
912
919
|
try {
|
|
913
920
|
const certificate = (0, node_opcua_crypto_1.readCertificate)(filename);
|
|
@@ -926,6 +933,7 @@ class CertificateManager {
|
|
|
926
933
|
}
|
|
927
934
|
});
|
|
928
935
|
w.on("change", (path, stat) => {
|
|
936
|
+
stat;
|
|
929
937
|
(0, debug_1.debugLog)("change in folder ", folder, path);
|
|
930
938
|
});
|
|
931
939
|
this._watchers.push(w);
|
|
@@ -5,7 +5,7 @@ exports.adjustApplicationUri = exports.adjustDate = exports.quote = void 0;
|
|
|
5
5
|
// node-opcua-pki
|
|
6
6
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
7
7
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
8
|
-
// Copyright (c) 2022-
|
|
8
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
9
9
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
10
10
|
//
|
|
11
11
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -8,7 +8,7 @@ exports.make_path = exports.mkdir = exports.certificateFileExist = void 0;
|
|
|
8
8
|
// node-opcua-pki
|
|
9
9
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
10
10
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
11
|
-
// Copyright (c) 2022-
|
|
11
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
12
12
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
13
13
|
//
|
|
14
14
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -5,7 +5,7 @@ exports.g_config = void 0;
|
|
|
5
5
|
// node-opcua-pki
|
|
6
6
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
7
7
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
8
|
-
// Copyright (c) 2022-
|
|
8
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
9
9
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
10
10
|
//
|
|
11
11
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -5,7 +5,7 @@ exports.warningLog = exports.debugLog = exports.displayDebug = exports.displayEr
|
|
|
5
5
|
// node-opcua-pki
|
|
6
6
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
7
7
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
8
|
-
// Copyright (c) 2022-
|
|
8
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
9
9
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
10
10
|
//
|
|
11
11
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -8,7 +8,7 @@ exports.display = exports.displaySubtitle = exports.displayTitle = exports.displ
|
|
|
8
8
|
// node-opcua-pki
|
|
9
9
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
10
10
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
11
|
-
// Copyright (c) 2022-
|
|
11
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
12
12
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
13
13
|
//
|
|
14
14
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
// node-opcua-pki
|
|
19
19
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
20
20
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
21
|
-
// Copyright (c) 2022-
|
|
21
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
22
22
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
23
23
|
//
|
|
24
24
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -8,7 +8,7 @@ exports.useRandFile = exports.createRandomFileIfNotExist = exports.createRandomF
|
|
|
8
8
|
// node-opcua-pki
|
|
9
9
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
10
10
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
11
|
-
// Copyright (c) 2022-
|
|
11
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
12
12
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
13
13
|
//
|
|
14
14
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// node-opcua-pki
|
|
5
5
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
6
6
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
7
|
-
// Copyright (c) 2022-
|
|
7
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
8
8
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
9
9
|
//
|
|
10
10
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -8,7 +8,7 @@ exports.createPrivateKeyOld = void 0;
|
|
|
8
8
|
// node-opcua-pki
|
|
9
9
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
10
10
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
11
|
-
// Copyright (c) 2022-
|
|
11
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
12
12
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
13
13
|
//
|
|
14
14
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// node-opcua-pki
|
|
5
5
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
6
6
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
7
|
-
// Copyright (c) 2022-
|
|
7
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
8
8
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
9
9
|
//
|
|
10
10
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// node-opcua-pki
|
|
5
5
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
6
6
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
7
|
-
// Copyright (c) 2022-
|
|
7
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
8
8
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
9
9
|
//
|
|
10
10
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// node-opcua-pki
|
|
4
4
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
5
5
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
6
|
-
// Copyright (c) 2022-
|
|
6
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
7
7
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
8
8
|
//
|
|
9
9
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// node-opcua-pki
|
|
5
5
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
6
6
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
7
|
-
// Copyright (c) 2022-
|
|
7
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
8
8
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
9
9
|
//
|
|
10
10
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -16,7 +16,7 @@ exports.createCertificateSigningRequest = exports.createCertificateSigningReques
|
|
|
16
16
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
17
17
|
// node-opcua-pki
|
|
18
18
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
19
|
-
// Copyright (c) 2022-
|
|
19
|
+
// Copyright (c) 2022-2024 Sterfive.com
|
|
20
20
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
21
21
|
//
|
|
22
22
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -4,7 +4,7 @@ exports.generatePrivateKeyFileCallback = void 0;
|
|
|
4
4
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
5
5
|
// node-opcua-pki
|
|
6
6
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
7
|
-
// Copyright (c) 2022-
|
|
7
|
+
// Copyright (c) 2022-2024 Sterfive.com
|
|
8
8
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
9
9
|
//
|
|
10
10
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -13,7 +13,7 @@ exports.createSelfSignedCertificate = exports.createSelfSignedCertificateAsync =
|
|
|
13
13
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
14
14
|
// node-opcua-pki
|
|
15
15
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
16
|
-
// Copyright (c) 2022-
|
|
16
|
+
// Copyright (c) 2022-2024 Sterfive.com
|
|
17
17
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
18
18
|
//
|
|
19
19
|
// This project is licensed under the terms of the MIT license.
|
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
// node-opcua-pki
|
|
19
19
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
20
20
|
// Copyright (c) 2014-2022 - Etienne Rossignon - etienne.rossignon (at) gadz.org
|
|
21
|
-
// Copyright (c) 2022-
|
|
21
|
+
// Copyright (c) 2022-2024 - Sterfive.com
|
|
22
22
|
// ---------------------------------------------------------------------------------------------------------------------
|
|
23
23
|
//
|
|
24
24
|
// This project is licensed under the terms of the MIT license.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-pki",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0",
|
|
4
4
|
"description": "PKI management for node-opcua",
|
|
5
5
|
"main": "./dist/lib/index.js",
|
|
6
6
|
"types": "./dist/lib/index.d.ts",
|
|
@@ -46,38 +46,38 @@
|
|
|
46
46
|
"async": "^3.2.5",
|
|
47
47
|
"byline": "^5.0.0",
|
|
48
48
|
"chalk": "4.1.2",
|
|
49
|
-
"chokidar": "^3.
|
|
49
|
+
"chokidar": "^3.6.0",
|
|
50
50
|
"cli-table": "^0.3.11",
|
|
51
|
-
"node-opcua-crypto": "4.
|
|
51
|
+
"node-opcua-crypto": "4.8.0",
|
|
52
52
|
"progress": "^2.0.3",
|
|
53
|
-
"rimraf": "
|
|
53
|
+
"rimraf": "4.4.1",
|
|
54
54
|
"thenify": "^3.3.1",
|
|
55
55
|
"wget-improved-2": "^3.3.0",
|
|
56
56
|
"yargs": "17.7.2",
|
|
57
|
-
"yauzl": "^
|
|
57
|
+
"yauzl": "^3.1.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@types/async": "^3.2.
|
|
60
|
+
"@types/async": "^3.2.24",
|
|
61
61
|
"@types/byline": "^4.2.36",
|
|
62
62
|
"@types/cli-table": "^0.3.4",
|
|
63
|
-
"@types/mocha": "^10.0.
|
|
64
|
-
"@types/node": "^20.
|
|
63
|
+
"@types/mocha": "^10.0.6",
|
|
64
|
+
"@types/node": "^20.11.20",
|
|
65
65
|
"@types/node-dir": "0.0.37",
|
|
66
66
|
"@types/progress": "^2.0.7",
|
|
67
67
|
"@types/rimraf": "^3.0.2",
|
|
68
|
-
"@types/sinon": "^17.0.
|
|
69
|
-
"@types/yargs": "^17.0.
|
|
68
|
+
"@types/sinon": "^17.0.3",
|
|
69
|
+
"@types/yargs": "^17.0.32",
|
|
70
70
|
"@types/yauzl": "^2.10.3",
|
|
71
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
72
|
-
"@typescript-eslint/parser": "^
|
|
73
|
-
"eslint": "^8.
|
|
74
|
-
"mocha": "^10.
|
|
71
|
+
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
|
72
|
+
"@typescript-eslint/parser": "^7.0.2",
|
|
73
|
+
"eslint": "^8.57.0",
|
|
74
|
+
"mocha": "^10.3.0",
|
|
75
75
|
"node-dir": "^0.1.17",
|
|
76
76
|
"should": "^13.2.3",
|
|
77
77
|
"sinon": "^17.0.1",
|
|
78
78
|
"source-map-support": "^0.5.21",
|
|
79
|
-
"ts-node": "^10.9.
|
|
80
|
-
"typescript": "^5.
|
|
79
|
+
"ts-node": "^10.9.2",
|
|
80
|
+
"typescript": "^5.3.3"
|
|
81
81
|
},
|
|
82
82
|
"bin": {
|
|
83
83
|
"pki": "./bin/crypto_create_CA.js"
|