dsh-cost-meter 1.9.47 → 1.9.49

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.
@@ -151,7 +151,7 @@ export function readLedger(path) {
151
151
  }
152
152
 
153
153
  /** Flush the new file before replacement; never truncate the live copy. */
154
- function writeDurableJson(path, value) {
154
+ export function writeDurableJson(path, value) {
155
155
  const temp = `${path}.${process.pid}-${randomUUID()}.tmp`
156
156
  try {
157
157
  const fd = openSync(temp, 'wx', 0o600)