caolan / caolan/highland

.pipe broken in browser due to process check

Open
#118 1 comment 0 reactions 0 assignees View on GitHub
browser bug
Dominant language
JavaScript
Stars
3.4k
Forks
145
PR merge metrics
No merged PRs in 30d

Description

https://github.com/caolan/highland/blob/master/lib/index.js#L769
This line assumes that process exists (it should have a typeof process !== 'undefined' check) as a variable and will break spectacularly if you use .pipe in a browser. :( If I comment out the line, piping works fine.

Contributor guide

Open the contributing guide

Research direction

Start at lib/index.js line 769 and reproduce the failure by using .pipe in a browser environment. Check the assumption that process exists there, then verify that browser piping works after the issue is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.