@ai-matrx/vault 0.1.7 → 0.1.8

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.
@@ -5054,7 +5054,7 @@ function assertNoDuplicateKeys(text) {
5054
5054
  i++;
5055
5055
  }
5056
5056
  }
5057
- var parse2 = (text, ...rest) => {
5057
+ var parseStrictJson = (text, ...rest) => {
5058
5058
  assertNoDuplicateKeys(text);
5059
5059
  return parse(text, ...rest);
5060
5060
  };
@@ -5534,7 +5534,7 @@ function parseProtonPassExport(text, limits, binaryNames) {
5534
5534
  );
5535
5535
  let root;
5536
5536
  try {
5537
- root = object2(parse2(text)) ?? {};
5537
+ root = object2(parseStrictJson(text)) ?? {};
5538
5538
  } catch {
5539
5539
  throw new Error("The Proton Pass export is invalid.");
5540
5540
  }