mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-02-26 21:13:20 +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.