0.1.0 • Published 5 months ago
@nullvoxpopuli/legacy-prototype-extensions v0.1.0
@nullvoxpopuli/legacy-prototype-extensions
Want to upgrade ember to v6? but your app have intense usage of array prototype extensions?
Now you can keep them alive with this addon.
(You should still consider getting rid of the prototype extensions tho).
This addon is not meant for new projects!!!!
Usage
// somewhere -- perhaps app/app.js
import '@nullvoxpopuli/legacy-prototype-extensions';
and that's it. This library re-patches the Array.prototype, but allows you to set
You can set EXTEND_PROTOTYPES: false
, just as the deprecation guide says, but you don't need to change any code.