qvdjs 1.0.0 → 1.0.1

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/dist/index.js CHANGED
@@ -736,7 +736,7 @@ function resolveDeepestExisting(target) {
736
736
  function isWithinDirectoryOnDisk(resolvedBaseDir, resolvedPath) {
737
737
  let baseStat;
738
738
  try {
739
- baseStat = fs.statSync(fs.realpathSync(resolvedBaseDir));
739
+ baseStat = fs.statSync(fs.realpathSync(resolvedBaseDir), { bigint: true });
740
740
  } catch {
741
741
  return null;
742
742
  }
@@ -747,7 +747,7 @@ function isWithinDirectoryOnDisk(resolvedBaseDir, resolvedPath) {
747
747
  for (; ; ) {
748
748
  let stat;
749
749
  try {
750
- stat = fs.statSync(current);
750
+ stat = fs.statSync(current, { bigint: true });
751
751
  } catch {
752
752
  return null;
753
753
  }