node-opcua-crypto-web 6.1.2 → 6.1.4
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/index_web.d.ts +1 -0
- package/dist/index_web.js +2 -2
- package/package.json +3 -3
package/dist/index_web.d.ts
CHANGED
|
@@ -292,6 +292,7 @@ interface SubjectPublicKeyInfo {
|
|
|
292
292
|
interface BasicConstraints {
|
|
293
293
|
critical: boolean;
|
|
294
294
|
cA: boolean;
|
|
295
|
+
/** Maximum number of CA certificates below this one; undefined when the certificate sets no limit. */
|
|
295
296
|
pathLengthConstraint?: number;
|
|
296
297
|
}
|
|
297
298
|
interface AuthorityKeyIdentifier {
|
package/dist/index_web.js
CHANGED
|
@@ -47198,7 +47198,7 @@ function readBasicConstraint2_5_29_19(buffer, _block) {
|
|
|
47198
47198
|
const block_info = readTag(buffer, 0);
|
|
47199
47199
|
const inner_blocks = readStruct(buffer, block_info).slice(0, 2);
|
|
47200
47200
|
let cA = false;
|
|
47201
|
-
let pathLengthConstraint
|
|
47201
|
+
let pathLengthConstraint;
|
|
47202
47202
|
let breakControl = 0;
|
|
47203
47203
|
for (const inner_block of inner_blocks) {
|
|
47204
47204
|
switch (inner_block.tag) {
|
|
@@ -48191,7 +48191,7 @@ var Subject = class _Subject {
|
|
|
48191
48191
|
throw new Error(`Invalid field found in subject name ${s[0]}`);
|
|
48192
48192
|
}
|
|
48193
48193
|
const value = s[1];
|
|
48194
|
-
options[longName] = unquote(
|
|
48194
|
+
options[longName] = unquote(value);
|
|
48195
48195
|
});
|
|
48196
48196
|
return options;
|
|
48197
48197
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-crypto-web",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Pre-bundled, zero-config browser build of node-opcua-crypto",
|
|
6
6
|
"//why": "This package exists so node-opcua-crypto can stay lean for Node. The pre-bundled browser build inlines its polyfills (crypto-browserify, stream-browserify, ...) and weighs ~344 KB gzip - more than the entire node-opcua-crypto tarball. Shipping it there would make every Node consumer download a browser bundle they never import. Browser consumers install this package explicitly, or let node-opcua-crypto's \"browser\" export condition redirect to it (see node-opcua-crypto/browser/index.js).",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"crypto-browserify": "^3.12.1",
|
|
45
45
|
"esbuild": "^0.28.2",
|
|
46
46
|
"events": "^3.3.0",
|
|
47
|
-
"node-opcua-crypto": "^6.1.
|
|
47
|
+
"node-opcua-crypto": "^6.1.4",
|
|
48
48
|
"path-browserify": "^1.0.1",
|
|
49
49
|
"process": "^0.11.10",
|
|
50
50
|
"stream-browserify": "^3.0.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"LICENSE",
|
|
68
68
|
"README.md"
|
|
69
69
|
],
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "afb27e0ba268ffb019b2e40293d2fcf067f9452e"
|
|
71
71
|
}
|