Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix path.posix not being available in browsers #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix path.posix not being available in browsers #5

wants to merge 1 commit into from

Conversation

t-mullen
Copy link

@t-mullen t-mullen commented Dec 8, 2019

path-browserify does not provide a .posix implementation.

Environments without a posix implementation should just use the native implementation.

@ghost
Copy link

ghost commented Oct 22, 2021

hyperdrive works in the browser when this patch is applied

@ralphtheninja
Copy link

ralphtheninja commented Feb 18, 2022

@andrewosh Any reason for not getting this merged?

@ralphtheninja
Copy link

ralphtheninja commented Feb 19, 2022

I just had a look at path-browserify and now it has a .posix property added, see https://github.com/browserify/path-browserify/blob/master/index.js#L527

So this PR can be closed. Solution is to update your browserify version to at least version 17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants