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

if (process.env.NODE_ENV !== 'production') { #205

Open
Acrontum-Carmichael opened this issue Sep 16, 2020 · 6 comments
Open

if (process.env.NODE_ENV !== 'production') { #205

Acrontum-Carmichael opened this issue Sep 16, 2020 · 6 comments

Comments

@Acrontum-Carmichael
Copy link

What Is the issue?

There are many calls to the node process global which is not present in the browser.
EG:
https://github.com/dollarshaveclub/postmate/blob/master/src/postmate.js#L128

I cannot see anything about this in the readme but of course it break when i try to run things.

@Acrontum-Carmichael
Copy link
Author

Is project still being actively maintained by the maintainers?

There are a lot of outstanding issues and PRs that are not being addressed.

@aptran @funbunch @hlfcoding

@aiji42
Copy link

aiji42 commented Oct 28, 2020

@Acrontum-Carmichael
I have also created an Issue of the question before on another matter, but I haven't received a response to that one.
It's been 9 months since the last master merge, plus the release to npm has had no activity for over a year.
I have decided that this is not healthy and I have switched to another package that provides the same functionality.
https://github.com/krakenjs/post-robot

@Acrontum-Carmichael
Copy link
Author

Thanks for the tip @aiji42 👍

@Acrontum-Carmichael
Copy link
Author

Although true @aiji42 - the size of this repo is significantly smaller that post-robot..
postmate = 4.3kb minified
post-robot = 38.7kb minified

@Acrontum-Carmichael
Copy link
Author

https://www.npmjs.com/package/penpal

This guy seems to have a decent alternative - in the readme he give credit for inspiration to this lib.

.min version is around 6kb so still reasonably lightweight @aiji42

@j-d-carmichael
Copy link

j-d-carmichael commented Oct 29, 2020

https://www.npmjs.com/package/postmatex

until the new devs want it back.

open to anyone wanting to help keep it alive.

all outstanding prs merged in and deps updated.

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

No branches or pull requests

3 participants