@supraio/client-daemon-js 0.0.1-mz-warmup.2 → 0.0.1-mz-webcodecs.2

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/daemon.js CHANGED
@@ -17233,14 +17233,14 @@
17233
17233
  return;
17234
17234
  }
17235
17235
  return origClose.call(this, ...args, function(err) {
17236
- return callback.call(this, err ?? null);
17236
+ return callback.call(this, err != null ? err : null);
17237
17237
  });
17238
17238
  };
17239
17239
  const origMkdir = fs.mkdir;
17240
17240
  fs.mkdir = function(...args) {
17241
17241
  const callback = args.pop();
17242
17242
  return origMkdir.call(this, ...args, function(err, path) {
17243
- return callback.call(this, err ?? null, path);
17243
+ return callback.call(this, err != null ? err : null, path);
17244
17244
  });
17245
17245
  };
17246
17246
  const origWrite = fs.write;