@muhgholy/next-drive 4.17.0 → 4.17.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.
@@ -1620,7 +1620,7 @@ var driveUpload = async (source, key, options) => {
1620
1620
  }
1621
1621
  const isRootMode = config.mode === "ROOT";
1622
1622
  if (!options.enforce && !isRootMode) {
1623
- const quota = await provider.getQuota(key, accountId, void 0);
1623
+ const quota = await provider.getQuota(key, accountId, Number.MAX_SAFE_INTEGER);
1624
1624
  if (quota.usedInBytes + fileSize > quota.quotaInBytes) {
1625
1625
  throw new Error("Storage quota exceeded");
1626
1626
  }
@@ -2425,5 +2425,5 @@ exports.driveReadFile = driveReadFile;
2425
2425
  exports.driveUpload = driveUpload;
2426
2426
  exports.getDriveConfig = getDriveConfig;
2427
2427
  exports.getDriveInformation = getDriveInformation;
2428
- //# sourceMappingURL=chunk-XIUFYDVE.cjs.map
2429
- //# sourceMappingURL=chunk-XIUFYDVE.cjs.map
2428
+ //# sourceMappingURL=chunk-ZYDFFRK3.cjs.map
2429
+ //# sourceMappingURL=chunk-ZYDFFRK3.cjs.map