mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-20 13:16:38 +00:00

This change allows us to only load the `ReadableStream` polyfill when needed without behaving inconsistently in the external API. Users of the library should use the global `ReadableStream` or Node.js `stream.Readable` instead, or import a polyfill if needed. This patch loosens the detection criteria such that polyfilled streams are better detected.