Skip to content

Commit 6f70de4

Browse files
flakey5panva
andauthored
fix: CryptoKey.algorithm type and other interfaces (#270)
* fix: CryptoKey.algorithm type and other interfaces Mirrors changes in nodejs/node#58294 Signed-off-by: flakey5 <73616808+flakey5@users.noreply.github.com> Co-authored-by: Filip Skokan <panva.ip@gmail.com> * Update src/utils/parser/constants.mjs Co-authored-by: Filip Skokan <panva.ip@gmail.com> --------- Co-authored-by: Filip Skokan <panva.ip@gmail.com>
1 parent a864d54 commit 6f70de4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/utils/parser/constants.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ export const DOC_TYPES_MAPPING_NODE_MODULES = {
113113
AbortController: 'globals.html#class-abortcontroller',
114114
AbortSignal: 'globals.html#class-abortsignal',
115115

116+
Algorithm: 'webcrypto.html#class-algorithm',
116117
AlgorithmIdentifier: 'webcrypto.html#class-algorithmidentifier',
117118
AsyncHook: 'async_hooks.html#async_hookscreatehookcallbacks',
118119
AsyncLocalStorage: 'async_context.html#class-asynclocalstorage',
@@ -121,6 +122,7 @@ export const DOC_TYPES_MAPPING_NODE_MODULES = {
121122
AesCbcParams: 'webcrypto.html#class-aescbcparams',
122123
AesCtrParams: 'webcrypto.html#class-aesctrparams',
123124
AesGcmParams: 'webcrypto.html#class-aesgcmparams',
125+
AesKeyAlgorithm: 'webcrypto.html#class-aeskeyalgorithm',
124126
AesKeyGenParams: 'webcrypto.html#class-aeskeygenparams',
125127

126128
Blob: 'buffer.html#class-blob',
@@ -154,6 +156,7 @@ export const DOC_TYPES_MAPPING_NODE_MODULES = {
154156
ECDH: 'crypto.html#class-ecdh',
155157
EcdhKeyDeriveParams: 'webcrypto.html#class-ecdhkeyderiveparams',
156158
EcdsaParams: 'webcrypto.html#class-ecdsaparams',
159+
EcKeyAlgorithm: 'webcrypto.html#class-eckeyalgorithm',
157160
EcKeyGenParams: 'webcrypto.html#class-eckeygenparams',
158161
EcKeyImportParams: 'webcrypto.html#class-eckeyimportparams',
159162
Ed448Params: 'webcrypto.html#class-ed448params',
@@ -172,6 +175,7 @@ export const DOC_TYPES_MAPPING_NODE_MODULES = {
172175
HkdfParams: 'webcrypto.html#class-hkdfparams',
173176
Hmac: 'crypto.html#class-hmac',
174177
HmacImportParams: 'webcrypto.html#class-hmacimportparams',
178+
HmacKeyAlgorithm: 'webcrypto.html#class-hmackeyalgorithm',
175179
HmacKeyGenParams: 'webcrypto.html#class-hmackeygenparams',
176180

177181
Http2SecureServer: 'http2.html#class-http2secureserver',
@@ -184,6 +188,7 @@ export const DOC_TYPES_MAPPING_NODE_MODULES = {
184188
IntervalHistogram:
185189
'perf_hooks.html#class-intervalhistogram-extends-histogram',
186190

191+
KeyAlgorithm: 'webcrypto.html#class-keyalgorithm',
187192
KeyObject: 'crypto.html#class-keyobject',
188193

189194
MIMEParams: 'util.html#class-utilmimeparams',
@@ -214,6 +219,7 @@ export const DOC_TYPES_MAPPING_NODE_MODULES = {
214219
RecordableHistogram:
215220
'perf_hooks.html#class-recordablehistogram-extends-histogram',
216221

222+
RsaHashedKeyAlgorithm: 'webcrypto.html#class-rsahashedkeyalgorithm',
217223
RsaHashedImportParams: 'webcrypto.html#class-rsahashedimportparams',
218224
RsaHashedKeyGenParams: 'webcrypto.html#class-rsahashedkeygenparams',
219225
RsaOaepParams: 'webcrypto.html#class-rsaoaepparams',

0 commit comments

Comments
 (0)