@ai-matrx/vault 0.1.0 → 0.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.1 — 2026-10-16
4
+
5
+ - zip.js is imported one way only (static). A static and a dynamic import of it in one bundle made
6
+ Next 16 Turbopack fail the host build (`ModuleId not found for ident … @zip.js/zip.js/lib/core/util/default-mime-type.js`).
7
+
8
+ ### Consumer action
9
+
10
+ - None; update to latest.
11
+
3
12
  ## 0.1.0 — 2026-10-16
4
13
 
5
14
  First release: the full Vault workspace replacing the web app's `features/secrets` screens, the
package/dist/index.cjs CHANGED
@@ -3835,6 +3835,7 @@ function countLines(lines, selected) {
3835
3835
  }
3836
3836
 
3837
3837
  // src/io/import-source.ts
3838
+ var import_zip = require("@zip.js/zip.js");
3838
3839
  var STRUCTURED = ["bitwarden_json", "1password_1pux", "proton_pass", "keepass_xml"];
3839
3840
  var isStructuredSource = (s) => STRUCTURED.includes(s);
3840
3841
  var SOURCE_OPTIONS = [
@@ -3905,8 +3906,7 @@ function sniffZip(names) {
3905
3906
  return names.some((n) => !n.includes("/") && n.toLowerCase().endsWith(".csv")) ? "dashlane" : "proton_pass";
3906
3907
  }
3907
3908
  async function zipNames(file) {
3908
- const { BlobReader: BlobReader2, ZipReader: ZipReader2 } = await import("@zip.js/zip.js");
3909
- const reader = new ZipReader2(new BlobReader2(file));
3909
+ const reader = new import_zip.ZipReader(new import_zip.BlobReader(file));
3910
3910
  try {
3911
3911
  return (await reader.getEntries()).map((e) => e.filename);
3912
3912
  } finally {
@@ -3956,7 +3956,7 @@ function closesQuote(rest, quote) {
3956
3956
  }
3957
3957
 
3958
3958
  // src/io/bounded-zip.ts
3959
- var import_zip = require("@zip.js/zip.js");
3959
+ var import_zip2 = require("@zip.js/zip.js");
3960
3960
  var safe = (value) => Number.isSafeInteger(value) && value >= 0;
3961
3961
  var unsafeName = (name) => /[\\\0-\x1F\x7F-\x9F]/.test(name);
3962
3962
  function stopIfCancelled(signal) {
@@ -4000,7 +4000,7 @@ async function directoryRange(entry, signal) {
4000
4000
  async function openBoundedZip(file, limits, signal) {
4001
4001
  if (file.size > limits.maxFileBytes)
4002
4002
  throw new Error("The archive exceeds the organization size limit.");
4003
- const reader = new import_zip.ZipReader(new import_zip.BlobReader(file), {
4003
+ const reader = new import_zip2.ZipReader(new import_zip2.BlobReader(file), {
4004
4004
  strictness: "strict",
4005
4005
  filenameValidation: "strict",
4006
4006
  checkAmbiguity: true