Search
Items tagged with: nodejs
JSDB 5.0.1 published š
ā¢ Fixes #14: Crash if DataProxy getHandler() called on object with null prototype. (https://codeberg.org/small-tech/jsdb/issues/14)
To install update:
npm install @small-tech/jsdb@5.0.1
Learn more about JSDB:
https://codeberg.org/small-tech/jsdb#javascript-database-jsdb
#JavaScriptDatabase #JavaScript #database JSDB #JSDB5 #NodeJS #SmallTech #SmallWeb #web #dev
jsdb
A zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.Codeberg.org
To really drive home the above š point that 100% test coverage does not mean ābug freeā, just found a bug in JSDBĀ¹ 5.0.0 where running JSON.stringify() on a complex custom object (actually: the automatic Proxy of the custom object created by JSDB) results in an error.
Already have a failing test and about to implement fix.
(Itās at this point where the test harness is invaluable.)
Ā¹ https://codeberg.org/small-tech/jsdb
#JavaScriptDatabase #JavaScript #database #JSDB #JSDB5 #NodeJS #SmallWeb #SmallTech
jsdb
A zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.Codeberg.org
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
jsdb
A zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.Codeberg.org
Realised last night that JavaScript Database (JSDB) doesnāt run the constructor on persisted custom objects (https://codeberg.org/small-tech/jsdb#custom-data-types) when deserialising them because I didnāt know that you apparently have to define your constructor manually when using Object.create().
Will fix it today but itās something to watch out for if youāre using Object.create() directly.
For more info, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/create
#JSDB #customObjects #constructor #bug #JavaScript #NodeJS #SmallTech #SmallWeb
jsdb
A zero-dependency, transparent, in-memory, streaming write-on-update JavaScript database for the Small Web that persists to a JavaScript transaction log.Codeberg.org
Time for a #jobSearch post!
I'm looking for a #typeScript / #python / #RustLang 100% #remote #softwareDev position, both contract and permanent, GMT+2 timezone.
I previously worked as a Senior / Lead / Principal #fullStack developer with #cyberSecurity , #softwareArchitecture and #devOps experience.
I specialize in #react , #nodejs , #django , #fastAPI , #pandas , #postgresql , #docker , #kubernetes , #AWS and #digitalOcean .
Just improved the display of error messages in KittenĀ¹.
They should be far more robust now.
Run `kitten update` to get the latest.
š
Ā¹ https://codeberg.org/kitten/app
#Kitten #errorMessages #stackTrace #web #dev #JavaScript #nodeJS