-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
Support for browserify 5? #78
Comments
+1, I got the issue this morning. |
+1 for this. |
@diwalak Actually you can, the error is more a warning, everything is installed. ^^ |
We can update the peer dependency in the package.json in order to remove this warning. I'll do that some time today. |
I tried to upgrade browserify to If anyone wants to have a look and get the tests to pass, I'd appreciate it. Until then I cannot publish the new version. I pushed the updated version to browserify-5.8 branch. |
Have you had time to look any more into this @thlorenz? |
No, seems like browserify broke backwards compatibility. |
This commit may be helpful: browserify/browserify@d6fc91b |
Thanks @feross I will try to have a look as soon as I come free, but in the meantime if anyone wants to take this on I'd greatly appreciated it :) |
+11111 :) |
Yup, would be very nice, if anyone can look into this. I tried to get browserify/watchify with browserify-shim working, but watchify now requires browserify 5.5+ |
Just to be clear all you get is a warning during I just am trying to refrain from upgrading the peer dep before all the tests are passing with the new browserify version. |
This is the warning I get (having installed browserify in version 5.9.1 (current) already):
|
Yeah, but that doesn't prevent you from finishing the install, i.e. no one should be blocked on this. |
@thlorenz, actually there are some side-effects, that I think are caused by upgrading browserify to v5.9.1 which I discovered while experiencing a similar issue to #40. you can see a repro of the problem by using @jkymarsh's repo that he provided in #40 as a proof of a working example, but unfortunately it doesn't work right now with browserify v5.9.1 |
After much thinking and twiddling with code and tests, no source code changes are needed for browserify-shim to work. The current issue is the tests are failing as a result of inspecting the internals of browserify (that have changed); or using a no longer supported feature. Also wrapping the browserify function / bundle does not work as it use to; but using it just as a transform works perfectly. |
That's good news although @osama-lionheart was reporting regressions, so not sure what to think. As long as it's still useful as a transform that shouldn't be a problem. |
Fixed in |
Hi!
The current
package.json
prevents browserify-shim to work with browserify 5:"browserify": ">= 2.3.0 < 5"
.But now the latest stable is 5.1.0 (5.0.0 is less than a day old).
Is browserify-shim compatible with browserify 5?
The text was updated successfully, but these errors were encountered: