mehdi
|
cd16711c89
|
2.1.0-4
|
3 years ago |
tex0l
|
5bba11e535
|
Merge pull request #10 from seald/jsdoc-detail
jsdoc details + timeout
|
3 years ago |
mehdi
|
2230f6c1e4
|
jsdoc details + timeout
|
3 years ago |
tex0l
|
b53f651b9c
|
Merge pull request #8 from seald/github-actions
GitHub actions
|
3 years ago |
mehdi
|
1e71d253f9
|
remove obsolete gitlab-ci.yml
|
3 years ago |
mehdi
|
238369c306
|
try some undocumented syntax found in forums
|
3 years ago |
mehdi
|
b2f2f0e563
|
publish action
|
3 years ago |
mehdi
|
a400f87466
|
add browser tests
|
3 years ago |
mehdi
|
501fd7e4e7
|
fix action trigger
|
3 years ago |
mehdi
|
0b82e59845
|
node tests
|
3 years ago |
mehdi
|
d431b245dd
|
test github actions
|
3 years ago |
tex0l
|
1d8c88842b
|
Merge pull request #5 from eliot-akira/stream-files-by-line
Stream database file line by line to avoid string length limit in Node.js
|
3 years ago |
mehdi
|
84e19ea94e
|
2.1.0-3
|
3 years ago |
mehdi
|
8b984f1274
|
extract writeFileLines into its own function
|
3 years ago |
mehdi
|
69604244d4
|
2.1.0-2
|
3 years ago |
mehdi
|
3d42f30e34
|
changelog
|
3 years ago |
Timothée Rebours
|
3fe1df29af
|
fix package.json browser field & update changelog
|
3 years ago |
Timothée Rebours
|
cbfd31fdf4
|
changelog and contributors
|
3 years ago |
mehdi
|
148d7c8215
|
fix error callbacks
|
3 years ago |
mehdi
|
8c4f56a04a
|
streaming write with `Readable.from`
|
3 years ago |
eliot-akira
|
7404ee1bc2
|
Stream lines using setImmediate to ensure it doesn't block event loop
|
3 years ago |
eliot-akira
|
ba14f11949
|
Add final new line to align behavior with Node.js version
|
3 years ago |
eliot-akira
|
437a841e72
|
Lint
|
3 years ago |
eliot-akira
|
af1d64f6c2
|
Write new line separately, instead of adding to line string
|
3 years ago |
eliot-akira
|
fc1d0e0aa3
|
Write file line by line when persisting cached database
|
3 years ago |
eliot-akira
|
823db2a17e
|
assert.deepStrictEqual instead of deepEqual
|
3 years ago |
eliot-akira
|
a610cf8cff
|
treatRawData and treatRawStream: Get values more efficiently with Object.values
|
3 years ago |
eliot-akira
|
0af674de2c
|
Tests: Simplify getting local paths for test files
|
3 years ago |
eliot-akira
|
225fe0fa3b
|
Adapt tests from byline: Lint; Use assert from chai; Local paths for test files
|
3 years ago |
eliot-akira
|
575f46c6ce
|
Include tests for byline
|
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
|
af5c5d7611
|
Remove dependency on byline
|
3 years ago |
eliot-akira
|
1cd3381c20
|
Handle error: For this test, it is expected to be *not* null
|
3 years ago |
eliot-akira
|
6884f235dd
|
Lint byline: Use strict equal; const instead of var; arrow function for this; Buffer.from instead of new Buffer
|
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
|
143a08edde
|
Remove console.log from test
|
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
|
e6388c2782
|
Test: Assert error is null
|
3 years ago |
eliot-akira
|
84eee58c5a
|
Use regular expression literal instead of RegExp
|
3 years ago |
eliot-akira
|
842f3e9f2b
|
Lint: Formatting
|
3 years ago |
eliot-akira
|
f3f625276b
|
Restore original tests for non-streaming method treatRawData
|
3 years ago |
eliot-akira
|
a7ce6a7239
|
Remove unused library "util" for browser side
|
3 years ago |
eliot-akira
|
b7e7f2bfe9
|
Optimize browser build by replacing "byline" with empty object
|
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
|
a8ef3487bd
|
2.0.4
|
3 years ago |
Timothée Rebours
|
f68464d5c4
|
switch back to an AVLTree instead of a BinarySearchTree like the original nedb & updated vulnerable dev dependency
|
3 years ago |