dsh-unlag 1.9.107 → 1.9.109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +3 -3
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -272,9 +272,9 @@ function log(line) {
|
|
|
272
272
|
* can land between two periodic checks: the size is read before every write and the whole
|
|
273
273
|
* line has to fit, so the file never passes the cap even for one event.
|
|
274
274
|
*
|
|
275
|
-
* A full file is moved aside rather than emptied:
|
|
276
|
-
*
|
|
277
|
-
*
|
|
275
|
+
* A full file is moved aside rather than emptied: its lines are the evidence for what led up to
|
|
276
|
+
* the write that filled it, which is the event a reader wants. One previous generation is
|
|
277
|
+
* kept, so a page that floods the log can cost at most one past million bytes.
|
|
278
278
|
*/
|
|
279
279
|
try {
|
|
280
280
|
if (statSync(target).size + Buffer.byteLength(text) > LOG_MAX_BYTES) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-unlag",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.109",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A press applies plugin edits right away and brings a laggy interface back; automatic reloading stays off unless you turn it on, so the press is the only trigger, and nothing restarts.",
|
|
6
6
|
"license": "MIT",
|