micro509 0.1.1 → 0.3.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/README.md +8 -8
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/internal/asn1/oids.js +1 -1
- package/dist/internal/asn1/oids.js.map +1 -1
- package/dist/internal/crypto/pbes2.js +1 -1
- package/dist/internal/crypto/pbes2.js.map +1 -1
- package/dist/internal/crypto/sig-verify.js +1 -1
- package/dist/internal/crypto/sig-verify.js.map +1 -1
- package/dist/keys/keys.d.ts +72 -100
- package/dist/keys/keys.js +3 -3
- package/dist/keys/keys.js.map +1 -1
- package/dist/keys.d.ts +2 -2
- package/dist/pkcs/pfx.d.ts +31 -5
- package/dist/pkcs/pfx.js +1 -1
- package/dist/pkcs/pfx.js.map +1 -1
- package/dist/pkcs/pkcs7.d.ts +111 -5
- package/dist/pkcs/pkcs7.js +1 -1
- package/dist/pkcs/pkcs7.js.map +1 -1
- package/dist/pkcs.d.ts +3 -3
- package/dist/pkcs.js +1 -1
- package/dist/result/result.d.ts +54 -1
- package/dist/result/result.js +1 -1
- package/dist/result/result.js.map +1 -1
- package/dist/result.d.ts +2 -2
- package/dist/result.js +1 -1
- package/dist/revocation/crl.js +1 -1
- package/dist/revocation/crl.js.map +1 -1
- package/dist/revocation/ocsp.js +1 -1
- package/dist/revocation/ocsp.js.map +1 -1
- package/dist/revocation/revocation.js +1 -1
- package/dist/revocation/revocation.js.map +1 -1
- package/dist/verify/identity.js +1 -1
- package/dist/verify/identity.js.map +1 -1
- package/dist/verify/verify.js +1 -1
- package/dist/verify/verify.js.map +1 -1
- package/dist/x509/parse.d.ts +35 -21
- package/dist/x509/parse.js +1 -1
- package/dist/x509/parse.js.map +1 -1
- package/dist/x509.d.ts +2 -2
- package/package.json +37 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "micro509",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "The zero-dependency TypeScript PKI toolkit for real certificate workflows.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"x509",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"der",
|
|
11
11
|
"jwk"
|
|
12
12
|
],
|
|
13
|
-
"homepage": "https://micro509.kjanat.
|
|
13
|
+
"homepage": "https://micro509.kjanat.dev",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/kjanat/
|
|
16
|
+
"url": "git+https://github.com/kjanat/micro509.git"
|
|
17
17
|
},
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"author": {
|
|
@@ -26,7 +26,10 @@
|
|
|
26
26
|
"imports": {
|
|
27
27
|
"#micro509": "./src/index.ts",
|
|
28
28
|
"#micro509/*": "./src/*",
|
|
29
|
-
"#micro509/internal/*": "./src/internal/*"
|
|
29
|
+
"#micro509/internal/*": "./src/internal/*",
|
|
30
|
+
"#pkg": "./package.json",
|
|
31
|
+
"#jsr": "./jsr.json",
|
|
32
|
+
"#typedoc-sidebar": "./site/api/typedoc-sidebar.json"
|
|
30
33
|
},
|
|
31
34
|
"exports": {
|
|
32
35
|
".": {
|
|
@@ -67,9 +70,13 @@
|
|
|
67
70
|
"files": [
|
|
68
71
|
"dist"
|
|
69
72
|
],
|
|
73
|
+
"workspaces": [
|
|
74
|
+
"site/.vitepress"
|
|
75
|
+
],
|
|
70
76
|
"scripts": {
|
|
71
77
|
"bd": "tsdown --no-attw --no-publint --no-unused --no-report",
|
|
72
78
|
"build": "tsdown",
|
|
79
|
+
"check": "biome check",
|
|
73
80
|
"docs:build": "rm -rf docs/deno 2>/dev/null; deno doc --html --output=docs/deno --name=micro509 src/**/index.ts",
|
|
74
81
|
"docs:lint": "rm -rf docs/deno 2>/dev/null; deno doc --html --output=docs/deno --name=micro509 --lint src/**/index.ts",
|
|
75
82
|
"fmt": "dprint fmt",
|
|
@@ -77,37 +84,42 @@
|
|
|
77
84
|
"lint:biome": "biome lint",
|
|
78
85
|
"lint:deno": "deno lint --rules-exclude=no-node-globals,require-await src",
|
|
79
86
|
"publish:jsr": "[[ -n $GITHUB_ACTIONS ]] && bunx --bun jsr publish || bunx --bun jsr publish --dry-run",
|
|
80
|
-
"site:api": "
|
|
81
|
-
"site:
|
|
82
|
-
"site:
|
|
83
|
-
"site:
|
|
87
|
+
"site:api": "bun scripts/site-env.ts typedoc",
|
|
88
|
+
"site:api:watch": "bun scripts/site-env.ts typedoc --watch",
|
|
89
|
+
"site:build": "run -s site:api site:vitepress",
|
|
90
|
+
"site:dev": "run -p site:api:watch site:vitepress:dev",
|
|
91
|
+
"site:preview": "run -s site:api site:vitepress:preview",
|
|
92
|
+
"site:typecheck": "bun scripts/site-env.ts vue-tsc --noEmit -p site/.vitepress/tsconfig.json",
|
|
93
|
+
"site:vitepress": "bun scripts/site-env.ts vitepress build site",
|
|
94
|
+
"site:vitepress:dev": "bun scripts/site-env.ts vitepress dev site --host",
|
|
95
|
+
"site:vitepress:preview": "bun scripts/site-env.ts vitepress preview site",
|
|
84
96
|
"test": "AGENT=1 bun test --coverage --concurrent",
|
|
85
97
|
"test:differential": "bun test test/differential.test.ts",
|
|
86
98
|
"test:pkits": "bun test test/pkits.test.ts",
|
|
87
99
|
"test:watch": "AGENT=1 bun test --watch --concurrent",
|
|
88
100
|
"typecheck": "tsgo --noEmit -p tsconfig.src.json && tsgo --noEmit -p tsconfig.other.json",
|
|
89
|
-
"typecheck:tsc": "tsc --noEmit -p tsconfig.src.json && tsc --noEmit -p tsconfig.other.json"
|
|
101
|
+
"typecheck:tsc": "tsc --noEmit -p tsconfig.src.json && tsc --noEmit -p tsconfig.other.json",
|
|
102
|
+
"wrangler:build": "wrangler build",
|
|
103
|
+
"wrangler:deploy": "wrangler deploy",
|
|
104
|
+
"wrangler:deploy:versions": "wrangler versions upload",
|
|
105
|
+
"wrangler:dev": "wrangler dev"
|
|
90
106
|
},
|
|
91
107
|
"devDependencies": {
|
|
92
108
|
"@arethetypeswrong/core": "^0.18.4",
|
|
93
109
|
"@biomejs/biome": "^2.5.1",
|
|
110
|
+
"@tsconfig/node24": "^24.0.4",
|
|
94
111
|
"@types/bun": "^1.3.14",
|
|
95
|
-
"@
|
|
112
|
+
"@types/node": "26.0.1",
|
|
113
|
+
"@typescript/native-preview": "^7.0.0-dev.20260630.1",
|
|
96
114
|
"dprint": "^0.55.1",
|
|
97
|
-
"
|
|
98
|
-
"oxc-minify": "^0.137.0",
|
|
115
|
+
"oxc-minify": "^0.138.0",
|
|
99
116
|
"publint": "^0.3.21",
|
|
117
|
+
"runner-run": "^0.15.0",
|
|
100
118
|
"tsdown": "^0.22.3",
|
|
101
|
-
"typedoc": "^0.28.19",
|
|
102
|
-
"typedoc-plugin-markdown": "^4.12.0",
|
|
103
|
-
"typedoc-vitepress-theme": "^1.1.3",
|
|
104
119
|
"typescript": "^6.0.3",
|
|
105
|
-
"unplugin-unused": "^0.5.7"
|
|
106
|
-
"vite-robots-txt": "^1.0.0",
|
|
107
|
-
"vite-svg-to-ico": "^3.1.6",
|
|
108
|
-
"vitepress": "1.6.4"
|
|
120
|
+
"unplugin-unused": "^0.5.7"
|
|
109
121
|
},
|
|
110
|
-
"packageManager": "bun@1.3.
|
|
122
|
+
"packageManager": "bun@1.3.14",
|
|
111
123
|
"devEngines": {
|
|
112
124
|
"packageManager": [
|
|
113
125
|
{
|
|
@@ -134,8 +146,8 @@
|
|
|
134
146
|
]
|
|
135
147
|
},
|
|
136
148
|
"volta": {
|
|
137
|
-
"node": "
|
|
138
|
-
"npm": "11.
|
|
149
|
+
"node": "26.4.0",
|
|
150
|
+
"npm": "11.17.0"
|
|
139
151
|
},
|
|
140
152
|
"publishConfig": {
|
|
141
153
|
"exports": {
|
|
@@ -149,5 +161,8 @@
|
|
|
149
161
|
"./x509": "./dist/x509.js",
|
|
150
162
|
"./package.json": "./package.json"
|
|
151
163
|
}
|
|
164
|
+
},
|
|
165
|
+
"typedocoptions": {
|
|
166
|
+
"extends": "./config/typedoc.config.mjs"
|
|
152
167
|
}
|
|
153
168
|
}
|