Timothée Rebours
|
2a121faccc
|
add testSerializationHooks option
|
2 years ago |
Timothée Rebours
|
d3e201cac4
|
cleaner test for modes, avoid testing permissions on Windows, document that it will not work on Windows, add typings tests
|
3 years ago |
Timothée Rebours
|
ba0ee21c03
|
add a mode option
|
3 years ago |
Timothée Rebours
|
8c3aac5042
|
fix MR comments
|
3 years ago |
Timothée Rebours
|
ebda00b8d2
|
give the corruptionRate when there is an error
|
3 years ago |
Timothée Rebours
|
a17662a66b
|
update JSDoc, readme, remove jquery and jsdoc from dependencies, remove sources from jsdoc.conf.js which conflicts with --files from jsdoc2md, implement dropDatabase & tests
|
3 years ago |
Timothée Rebours
|
32cff9b921
|
huge cleanup
|
3 years ago |
Timothée Rebours
|
fab5b0336b
|
rewrite Readme
|
3 years ago |
Timothée Rebours
|
5d8b23a69d
|
cleanup JSDOC & generate md + html, md is pushed in the repo
|
3 years ago |
Timothée Rebours
|
8d628bfa6f
|
cleanup JSDoc
|
3 years ago |
Timothée Rebours
|
0e9e5c7f4d
|
massive update of the JSDoc, rewrite of the model & storage modules to clarify
|
3 years ago |
Timothée Rebours
|
0b8aab7346
|
add doc to model, fix persistence doc, fix error in cursor and unecessary async in executor
|
3 years ago |
Timothée Rebours
|
90f52e4cda
|
add docs for Cursor, customUtils, Executor, Persistence and utils
|
3 years ago |
Timothée Rebours
|
a2528ee45e
|
jsdoc
|
3 years ago |
Timothée Rebours
|
ba65fbe9b6
|
Added tests for async version of datastore
|
3 years ago |
Timothée Rebours
|
4d900da6fe
|
WIP: remove async from persistence module
|
3 years ago |
mehdi
|
7ed4d994da
|
fix nodeWebkitAppName type
|
3 years ago |
eliot-akira
|
437a841e72
|
Lint
|
3 years ago |
eliot-akira
|
fc1d0e0aa3
|
Write file line by line when persisting cached database
|
3 years ago |
eliot-akira
|
a610cf8cff
|
treatRawData and treatRawStream: Get values more efficiently with Object.values
|
3 years ago |
eliot-akira
|
a826a9c3e0
|
Align behavior of treatRawData and treatRawStream in handling last blank line; On error, result is null
|
3 years ago |
eliot-akira
|
ec5f3ffb13
|
Include fork of byline library
|
3 years ago |
eliot-akira
|
631d672af8
|
Return treated data even after corrupt threshold
|
3 years ago |
eliot-akira
|
5b37cff1e9
|
Use template literals for string interpolation
|
3 years ago |
eliot-akira
|
3729d4c86e
|
Use arrow functions to preserve this
|
3 years ago |
eliot-akira
|
24dd632042
|
On error, result is null; on result, error is null
|
3 years ago |
eliot-akira
|
842f3e9f2b
|
Lint: Formatting
|
3 years ago |
eliot-akira
|
2a3afcb7d8
|
Do not stream on browser side, since localforage returns entire database file content; Passes all browser tests
|
3 years ago |
eliot-akira
|
a67622dcf7
|
Stream files line by line when parsing to avoid memory limits
Based on https://github.com/louischatriot/nedb/pull/463
|
3 years ago |
Timothée Rebours
|
e8cba5273a
|
cleanup code
|
4 years ago |
Timothée Rebours
|
a4cd69f5c6
|
re-make the build process with webpack, swicth to Karma for the browser tests, bumps all dependencies except , remove bower.json, remove browser build from repo (will be published on npm though)
|
4 years ago |
Timothée Rebours
|
185ae680b8
|
standard everything except browser-version
|
4 years ago |
Louis Chatriot
|
20eceff265
|
Created event compaction.done fired by datastore after a compaction operation is complete
|
9 years ago |
James M. Greene
|
dab6fe24a5
|
Throw real Errors instead of strings and plain objects
|
9 years ago |
Louis Chatriot
|
3daa3b9457
|
Bump version
|
9 years ago |
Louis Chatriot
|
94f7caf0b8
|
Chmod
|
9 years ago |
Louis Chatriot
|
0b564ba674
|
Browser version works with local storage
|
9 years ago |
Louis Chatriot
|
d1e6d14b53
|
Moved all crash safe operations to storage
|
9 years ago |
Louis Chatriot
|
51ef65be17
|
Can now prevent loading of the database if too much data is corrupt
|
10 years ago |
Louis Chatriot
|
09c6309c1a
|
Tests for coherence of hooks done
|
10 years ago |
Louis Chatriot
|
3e67adc2bb
|
Check that if one hook is defined the other is too
|
10 years ago |
Louis Chatriot
|
64aa1808a9
|
persistNewState uses the serialization hook
|
10 years ago |
Louis Chatriot
|
d5958cce91
|
mkdirp put in storage module
|
10 years ago |
Louis Chatriot
|
ef9c238322
|
First successful test for browser persistence
|
10 years ago |
Louis Chatriot
|
857d89066f
|
Externalized ensureFileDoesntExist
|
10 years ago |
Louis Chatriot
|
b0e3ceb1a6
|
Forked storage.js
|
10 years ago |
Louis Chatriot
|
5c418952d5
|
Some styling
|
11 years ago |
Anatoly Pashin
|
790562c45f
|
fixed setAutocompactionInterval interval arg
if interval is undefined, then it's bigger than 5000
Test case in Chrome console:
```
> var interval
undefined
> (interval < 5000)
false
```
|
11 years ago |
Louis Chatriot
|
e6cc5242f4
|
Fixed EXDEV issue in NW apps
|
11 years ago |
Louis Chatriot
|
03f68398e6
|
Can remove an index
|
11 years ago |