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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. 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: the lines it holds are the evidence for
276
- * whatever just happened, and the event that fills the log is very often the one worth reading.
277
- * One previous generation is kept, so a hostile page can cost at most one past million bytes.
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.107",
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",