Skip to content

refactor(node:crypto): nullify create(de)Cipher (de)Cipher exports#515

Merged
pi0 merged 2 commits intomainfrom
refactor/crypto-exports
Aug 21, 2025
Merged

refactor(node:crypto): nullify create(de)Cipher (de)Cipher exports#515
pi0 merged 2 commits intomainfrom
refactor/crypto-exports

Conversation

@pi0
Copy link
Member

@pi0 pi0 commented Aug 7, 2025

resolves #514

exports set to undefined to match Node.js runtime behavior but kept as named ESM exports to avoid breaking bundling libs.

https://nodejs.org/docs/latest/api/deprecations.html#dep0106-cryptocreatecipher-and-cryptocreatedecipher

@pi0 pi0 requested a review from jasnell August 7, 2025 15:50
@pi0 pi0 changed the title refactor(node:crypto): nullify create{de}Cipher (de)Cipher exports refactor(node:crypto): nullify create(de)Cipher (de)Cipher exports Aug 7, 2025
@pi0 pi0 merged commit 3b90d65 into main Aug 21, 2025
2 checks passed
@pi0 pi0 deleted the refactor/crypto-exports branch August 21, 2025 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove crypto.Cipher and crypto.Decipher

1 participant