4
23
Fork
You've already forked jsdb
3

Strip the leading newline from the change sent to persist event listeners #16

Closed
opened 2024年05月23日 17:02:24 +02:00 by aral · 1 comment
Owner
Copy link

The newline is not important outside of the context of the table file and makes console.log() leave and extra empty line.

The newline is not important outside of the context of the table file and makes `console.log()` leave and extra empty line.
Author
Owner
Copy link

The new JSTable.PERSIST event makes this irrelevant as keypath, value, etc., are separated out anyway and can be used in place of change. For the sake of performance, leaving change as is.

The new `JSTable.PERSIST` event makes this irrelevant as `keypath`, `value`, etc., are separated out anyway and can be used in place of change. For the sake of performance, leaving `change` as is.
Sign in to join this conversation.
No Branch/Tag specified
main
types
set-support
better-custom-objects
typed-arrays
cjs
7.0.1
7.0.0
5.1.0
3.0.0
2.0.7
1.2.3
1.2.2
2.0.6
2.0.5
1.2.1
1.2.0
2.0.4
2.0.3
2.0.1
2.0.0
1.1.5
1.1.4
1.1.3
1.1.2
1.1.0
1.1.1
1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
small-tech/jsdb#16
Reference in a new issue
small-tech/jsdb
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?