aral, JSDB 5.0.0 published 🎉
• Custom classes must have a
constructor
that accepts a parameter object as its only argument. Constructors are run during deserialisation.• Custom classes can now safely extend other classes (e.g.,
EventEmitter
).• Properties that begin with an underscore (
_
) are treated as private and ignored.• Objects with null prototypes are supported. i.e., objects created with
Object.create(null, …)
.Full details: https://codeberg.org/small-tech/jsdb#migrating-from-earlier-versions-of-jsdf