@logtape/file 1.0.0-dev.258 → 1.0.0-dev.262

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/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logtape/file",
3
- "version": "1.0.0-dev.258+b30f4857",
3
+ "version": "1.0.0-dev.262+96c86667",
4
4
  "license": "MIT",
5
5
  "exports": "./mod.ts",
6
6
  "imports": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logtape/file",
3
- "version": "1.0.0-dev.258+b30f4857",
3
+ "version": "1.0.0-dev.262+96c86667",
4
4
  "description": "File sink and rotating file sink for LogTape",
5
5
  "keywords": [
6
6
  "logging",
@@ -57,7 +57,7 @@
57
57
  },
58
58
  "sideEffects": false,
59
59
  "peerDependencies": {
60
- "@logtape/logtape": "1.0.0-dev.258+b30f4857"
60
+ "@logtape/logtape": "1.0.0-dev.262+96c86667"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@alinea/suite": "^0.6.3",
@@ -6,7 +6,7 @@ import { assertEquals } from "@std/assert/equals";
6
6
  import { delay } from "@std/async/delay";
7
7
  import { join } from "@std/path/join";
8
8
  import fs from "node:fs";
9
- import { tmpdir } from "node:os";
9
+ import { platform, tmpdir } from "node:os";
10
10
  import { debug, error, fatal, info, warning } from "../logtape/fixtures.ts";
11
11
 
12
12
  const test = suite(import.meta);
@@ -265,7 +265,7 @@ test("getStreamFileSink() memory efficiency", async () => {
265
265
  }
266
266
 
267
267
  sink[Symbol.dispose]();
268
- await delay(200);
268
+ await delay(platform() === "win32" ? 1000 : 200);
269
269
 
270
270
  const content = fs.readFileSync(path, { encoding: "utf-8" });
271
271
  const lines = content.split("\n").filter((line) => line.length > 0);