lody 0.63.2 → 0.64.0

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.
@@ -1,6 +1,6 @@
1
1
  import { spawnSync } from "node:child_process";
2
2
  import { mkdtempSync, writeFileSync, rmSync } from "node:fs";
3
- import os__default from "node:os";
3
+ import os from "node:os";
4
4
  import path__default from "node:path";
5
5
  function Diff() {
6
6
  }
@@ -617,7 +617,7 @@ function gitNumstatLineCounts(oldText, newText) {
617
617
  }
618
618
  let dir;
619
619
  try {
620
- dir = mkdtempSync(path__default.join(os__default.tmpdir(), "lody-diff-"));
620
+ dir = mkdtempSync(path__default.join(os.tmpdir(), "lody-diff-"));
621
621
  const oldPath = path__default.join(dir, "old");
622
622
  const newPath = path__default.join(dir, "new");
623
623
  writeFileSync(oldPath, oldText);