node-opcua-pki 2.15.0 → 2.15.3
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/dist/misc/subject.js
CHANGED
|
@@ -45,7 +45,7 @@ class Subject {
|
|
|
45
45
|
this.domainComponent = options.domainComponent;
|
|
46
46
|
}
|
|
47
47
|
static parse(str) {
|
|
48
|
-
const elements = str.split(/\/(?=[
|
|
48
|
+
const elements = str.split(/\/(?=[^/]*?=)/);
|
|
49
49
|
const options = {};
|
|
50
50
|
elements.forEach((element) => {
|
|
51
51
|
if (element.length === 0) {
|
|
@@ -57,7 +57,7 @@ declare interface WgetInterface {
|
|
|
57
57
|
|
|
58
58
|
// tslint:disable-next-line:no-var-requires
|
|
59
59
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
60
|
-
const wget = require("wget-improved") as WgetInterface;
|
|
60
|
+
const wget = require("wget-improved-2") as WgetInterface;
|
|
61
61
|
|
|
62
62
|
type CallbackFunc<T> = (err: Error | null, result?: T) => void;
|
|
63
63
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-pki",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.3",
|
|
4
4
|
"description": "PKI management for node-opcua",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -47,11 +47,12 @@
|
|
|
47
47
|
"chalk": "4.1.2",
|
|
48
48
|
"chokidar": "^3.5.3",
|
|
49
49
|
"cli-table": "^0.3.11",
|
|
50
|
+
"minimist": "^1.2.6",
|
|
50
51
|
"node-opcua-crypto": "^1.10.0",
|
|
51
52
|
"progress": "^2.0.3",
|
|
52
53
|
"thenify": "^3.3.1",
|
|
53
54
|
"update-notifier": "5.1.0",
|
|
54
|
-
"wget-improved": "^
|
|
55
|
+
"wget-improved-2": "^3.3.0",
|
|
55
56
|
"yargs": "17.4.0",
|
|
56
57
|
"yauzl": "^2.10.0"
|
|
57
58
|
},
|