node-opcua-crypto 5.1.0 → 5.2.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/dist/{source/index.js → chunk-ERHE4VFS.cjs} +466 -484
- package/dist/chunk-ERHE4VFS.cjs.map +1 -0
- package/dist/{chunk-ULG5CYBT.mjs → chunk-KCVNMSLI.js} +330 -252
- package/dist/chunk-KCVNMSLI.js.map +1 -0
- package/dist/chunk-LCGIBEY5.cjs +168 -0
- package/dist/chunk-LCGIBEY5.cjs.map +1 -0
- package/dist/{chunk-UXPULF3W.mjs → chunk-WXGEXWZG.js} +2 -2
- package/dist/index.cjs +185 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +5 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +96 -6673
- package/dist/index.js.map +1 -1
- package/dist/source/index_web.cjs +155 -0
- package/dist/source/index_web.cjs.map +1 -0
- package/dist/source/{index_web.d.mts → index_web.d.cts} +184 -159
- package/dist/source/index_web.d.ts +183 -158
- package/dist/source/index_web.js +80 -6517
- package/dist/source/index_web.js.map +1 -1
- package/dist/source_nodejs/index.cjs +34 -0
- package/dist/source_nodejs/index.cjs.map +1 -0
- package/dist/source_nodejs/{index.d.mts → index.d.cts} +1 -1
- package/dist/source_nodejs/index.js +19 -4141
- package/dist/source_nodejs/index.js.map +1 -1
- package/package.json +35 -16
- package/dist/chunk-RQA4DO2Z.mjs +0 -1
- package/dist/chunk-RQA4DO2Z.mjs.map +0 -1
- package/dist/chunk-ULG5CYBT.mjs.map +0 -1
- package/dist/index.d.mts +0 -5
- package/dist/index.mjs +0 -184
- package/dist/index.mjs.map +0 -1
- package/dist/source/index.d.mts +0 -4
- package/dist/source/index.d.ts +0 -4
- package/dist/source/index.js.map +0 -1
- package/dist/source/index.mjs +0 -154
- package/dist/source/index.mjs.map +0 -1
- package/dist/source/index_web.mjs +0 -153
- package/dist/source/index_web.mjs.map +0 -1
- package/dist/source_nodejs/index.mjs +0 -35
- package/dist/source_nodejs/index.mjs.map +0 -1
- /package/dist/{chunk-UXPULF3W.mjs.map → chunk-WXGEXWZG.js.map} +0 -0
- /package/dist/{common-DxHkx4Pv.d.mts → common-DxHkx4Pv.d.cts} +0 -0
package/package.json
CHANGED
|
@@ -1,39 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "node-opcua-crypto",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "Crypto tools for Node-OPCUA",
|
|
5
6
|
"types": "./dist/index.d.ts",
|
|
6
7
|
"main": "./dist/index.js",
|
|
7
8
|
"exports": {
|
|
8
9
|
".": {
|
|
9
10
|
"types": "./dist/index.d.ts",
|
|
10
|
-
"import": "./dist/index.
|
|
11
|
-
"require": "./dist/index.
|
|
11
|
+
"import": "./dist/index.js",
|
|
12
|
+
"require": "./dist/index.cjs"
|
|
12
13
|
},
|
|
13
14
|
"./web": {
|
|
14
15
|
"types": "./dist/source/index_web.d.ts",
|
|
15
|
-
"import": "./dist/source/index_web.
|
|
16
|
-
"require": "./dist/source/index_web.
|
|
16
|
+
"import": "./dist/source/index_web.js",
|
|
17
|
+
"require": "./dist/source/index_web.cjs"
|
|
18
|
+
},
|
|
19
|
+
"./bundled-web": {
|
|
20
|
+
"types": "./dist/source/index_web.d.ts",
|
|
21
|
+
"import": "./dist-web-bundle/index_web.js"
|
|
17
22
|
},
|
|
18
23
|
"./node": {
|
|
19
24
|
"types": "./dist/source_nodejs/index.d.ts",
|
|
20
|
-
"import": "./dist/source_nodejs/index.
|
|
21
|
-
"require": "./dist/source_nodejs/index.
|
|
25
|
+
"import": "./dist/source_nodejs/index.js",
|
|
26
|
+
"require": "./dist/source_nodejs/index.cjs"
|
|
22
27
|
}
|
|
23
28
|
},
|
|
24
29
|
"scripts": {
|
|
25
|
-
"build:
|
|
30
|
+
"build:bundle": "tsup --config tsup.config.bundle.ts",
|
|
31
|
+
"build:web-bundle": "tsup --config tsup.config.web-bundle.ts",
|
|
32
|
+
"build:tsup": "tsup",
|
|
26
33
|
"build:clean": "npx rimraf ./dist ./dist-* *.tsbuildinfo",
|
|
27
34
|
"build:types": "tsc -p tsconfig.types.json",
|
|
28
35
|
"build:demo": "node web/esbuild.mjs",
|
|
29
36
|
"build": "npm run build:tsup",
|
|
30
37
|
"prepare": "npm run build",
|
|
31
|
-
"tslint": "
|
|
32
|
-
"lint": "
|
|
38
|
+
"tslint": "biome lint --fix",
|
|
39
|
+
"lint": "biome check",
|
|
33
40
|
"makedoc": "npx typedoc index.ts --excludeNotDocumented --exclude \"_*\" --excludePrivate --excludeProtected --excludeExternals -out doc",
|
|
34
|
-
"cost-of-modules": "npx
|
|
35
|
-
"
|
|
36
|
-
"ncu": "npx npm-check-updates -u -x env-paths,chalk",
|
|
41
|
+
"cost-of-modules": "npx -y slow-deps",
|
|
42
|
+
"format": "biome format --write",
|
|
37
43
|
"experiment": "tsc test/test_peculiar_edge_case.ts -t es2021 -m nodenext"
|
|
38
44
|
},
|
|
39
45
|
"keywords": [
|
|
@@ -51,9 +57,17 @@
|
|
|
51
57
|
"node": ">=18.0"
|
|
52
58
|
},
|
|
53
59
|
"devDependencies": {
|
|
54
|
-
"@types/node": "^24.
|
|
60
|
+
"@types/node": "^24.10.1",
|
|
55
61
|
"@types/sshpk": "^1.17.4",
|
|
56
|
-
"
|
|
62
|
+
"assert": "^2.1.0",
|
|
63
|
+
"buffer": "^6.0.3",
|
|
64
|
+
"constants-browserify": "^1.0.0",
|
|
65
|
+
"crypto-browserify": "^3.12.1",
|
|
66
|
+
"events": "^3.3.0",
|
|
67
|
+
"stream-browserify": "^3.0.0",
|
|
68
|
+
"string_decoder": "^1.1.1",
|
|
69
|
+
"util": "^0.12.5",
|
|
70
|
+
"vm-browserify": "^1.1.2"
|
|
57
71
|
},
|
|
58
72
|
"dependencies": {
|
|
59
73
|
"@peculiar/webcrypto": "^1.5.0",
|
|
@@ -67,5 +81,10 @@
|
|
|
67
81
|
"bugs": {
|
|
68
82
|
"url": "https://github.com/node-opcua/node-opcua-crypto/issues"
|
|
69
83
|
},
|
|
70
|
-
"
|
|
84
|
+
"files": [
|
|
85
|
+
"dist",
|
|
86
|
+
"LICENSE",
|
|
87
|
+
"README.md"
|
|
88
|
+
],
|
|
89
|
+
"gitHead": "9b61d55bb35c29b60522198eb98cf0e6eae94be0"
|
|
71
90
|
}
|
package/dist/chunk-RQA4DO2Z.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=chunk-RQA4DO2Z.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|