Update version of events bundled
See original GitHub issueBrowserify currently uses events@^2.0.0
, but events
has an updated version 3.0.0
to support the introduction of the off()
method introduced in Node v10. Is there a way to override the version of events
that browserify uses for bundling? I also think browserify should bump the version used on package.json
, but note that events@3.0.0
no longer supports ES5 shims out of the box.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
How to update a VamTam Theme and the bundled plugins?
Please go to updates in your main WP navigation menu and see the new theme version. Update. See the screenshot below:.
Read more >How to hook bundle create/read/update/delete events?
So here's the best I can find so far. It's not great. Create: There's hook_field_attach_create_bundle , but it doesn't automatically get ...
Read more >Event Marketing Bundle | The Events Calendar
Includes Events Calendar Pro, Event Tickets Plus, and Promoter. 1 Site. $229 Save $58. Includes updates & support for one year.
Read more >Upgrading MEC Bundled - Support - Themeco Forum
I need a solution to upgrade the bundled version of MEC. Can someone please guide me on what to do. Thank you.
Read more >Virtual Events Bundle - EventON
Power-up your virtual events to next level with all the necessary addons in one bundle. $355 $248.5 ... UPDATE: RSVP version 2.8.1 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you install events@3 with npm you can do
The
events/
bit forces browserify to use your locally installed version, and:events
aliases it to “events”, replacing it throughout the bundle.Node.js treated
.off
as a major version bump, so I did the same forevents
.There is a PR to update our dependency at https://github.com/browserify/browserify/pull/1839 that i’ve been meaning to batch with different changes, so we don’t churn through browserify major versions too much. I haven’t gotten around to those for a long time though so we should just go ahead with v17 soon with the PRs that are already there
I did switch to rollup, but I actually encountered the same issue there with the version of
events
thatrollup-plugin-node-builtins
uses, so I ended up revertingoff()
toremoveListener()
anyway. I’m glad to see at least this issue was not simply some stupidity on my part.