-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
semver-majorimplementation requires increase of "major" version number; "breaking changes"implementation requires increase of "major" version number; "breaking changes"status: accepting prsMocha can use your help with this one!Mocha can use your help with this one!type: cleanupa refactora refactor
Milestone
Description
Is your feature request related to a problem or a nice-to-have?? Please describe.
It would be nice to get rid of some NodeJS specific things that makes it better suited for browsers.
one such thing could be the option to remove util.inherits and replacing it with classes that can extends things.
resulting in fewer dependencies and smaller code bundle that won't require the browserified version of util that has an additional of 20 modules and 12 kb
NodeJS docs have marked it as legacy and has this to say about util.inherits
Usage of util.inherits() is discouraged. Please use the ES6 class and extends keywords to get language level inheritance support
Describe the solution you'd like
Change prototype based classes into es-classes
voxpelli, JoshuaKGoldberg and samuelhnrq
Metadata
Metadata
Assignees
Labels
semver-majorimplementation requires increase of "major" version number; "breaking changes"implementation requires increase of "major" version number; "breaking changes"status: accepting prsMocha can use your help with this one!Mocha can use your help with this one!type: cleanupa refactora refactor
Type
Projects
Status
Up Next