Skip to content

Update nodejs data for SubtleCrypto & CryptoKey#24980

Merged
caugner merged 1 commit into
mdn:mainfrom
skyclouds2001:node-subtlecrypto-cryptokey
Nov 12, 2024
Merged

Update nodejs data for SubtleCrypto & CryptoKey#24980
caugner merged 1 commit into
mdn:mainfrom
skyclouds2001:node-subtlecrypto-cryptokey

Conversation

@skyclouds2001
Copy link
Copy Markdown
Contributor

@skyclouds2001 skyclouds2001 commented Nov 6, 2024

Summary

The support for the Web Crypto API is:

in v15.0.0, the API has been shipped, but can't access globally, access via the crypto module with the alternative name webcrypto via nodejs/node#35093

in v17.6.0, v16.15.0, the API can be available to global context, but need to be enabled with --experimental-global-webcrypto CLI flag via nodejs/node#41938

in v19.0.0, the API is available to global context without flags, but can be disabled with --no-experimental-global-webcrypto CLI flag via nodejs/node#42083

in v23.0.0, the API is marked as not experimental via nodejs/node#52564

See also:

https://nodejs.org/docs/latest/api/globals.html#cryptokey
https://nodejs.org/docs/latest/api/webcrypto.html#class-cryptokey
https://nodejs.org/docs/latest/api/globals.html#subtlecrypto
https://nodejs.org/docs/latest/api/webcrypto.html#class-subtlecrypto

Test results and supporting details

Related issues

@github-actions github-actions Bot added the data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Nov 6, 2024
@skyclouds2001 skyclouds2001 marked this pull request as ready for review November 6, 2024 21:38
@caugner caugner merged commit 6014461 into mdn:main Nov 12, 2024
@skyclouds2001 skyclouds2001 deleted the node-subtlecrypto-cryptokey branch November 12, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants