cli: remove --no-experimental-global-webcrypto flag
This removes the --no-experimental-global-webcrypto
flag.
Originally posted by @aduh95 in https://github.com/nodejs/node/issues/46079#issuecomment-1375686152
I think we need to keep the flag as experimental and get rid of it in the near future, if we remove the experimental part of it, we would have to go through a full deprecation cycle.
While the WebCrypto implementation itself is robust, and deserves to be called stable, the
--eval
andglobalThis.crypto
as referring to WebCrypto but introduces a localcrypto
that refers tonode:crypto
) is much less so, and still quite new, I think we should leave an escape hatch for a little longer.I would do that for 21.x or 22.x, so in case the current implementation breaks someone's code, they have a full LTS cycle to adapt and can use the flag to unblock them in the mean time.