Skip to content

remove isNode check from getReadableFromProtocolStream and other similar usages #7861

Closed

Description

@tiholic

as the PR is now landed: nodejs/node#39062 (nodejs/node#39062 (comment))

async function getReadableFromProtocolStream(
client: CDPSession,
handle: string
): Promise<Readable> {
// TODO:
// This restriction can be lifted once https://github.com/nodejs/node/pull/39062 has landed
if (!isNode) {
throw new Error('Cannot create a stream outside of Node.js environment.');
}

Activity

  1. changed the title [-]I think the `isNode` check can be removed from `getReadableFromProtocolStream` and other similar usages[/-] [+]remove `isNode` check from `getReadableFromProtocolStream` and other similar usages[/+] on Dec 21, 2021
  2. stale commented on Aug 6, 2022

    @stale

    We're marking this issue as unconfirmed because it has not had recent activity and we weren't able to confirm it yet. It will be closed if no further activity occurs within the next 30 days.

  3. OrKoN commented on Mar 23, 2024

    @OrKoN
    Collaborator

    I believe this has happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions