@agimon-ai/po-file-edit 0.0.0-alpha.30 → 0.0.0-alpha.32

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.
@@ -869,6 +869,7 @@ var NodeSnapshotStoreAdapter = class {
869
869
  async capture(filePath) {
870
870
  let raw;
871
871
  try {
872
+ if ((await node_fs_promises.default.stat(filePath)).size > 1048576) return void 0;
872
873
  raw = await node_fs_promises.default.readFile(filePath);
873
874
  } catch (error) {
874
875
  if (hasCode$2(error, MISSING_CODES)) return void 0;