@cardenelabs/dragon 0.40.0 → 0.41.0

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.cjs CHANGED
@@ -3165,13 +3165,6 @@ function readDiagram(input, options = {}) {
3165
3165
  if (!checked.ok) return checked;
3166
3166
  return { ok: true, diagram: input, warnings: [] };
3167
3167
  }
3168
- async function migrateFile(path2) {
3169
- const { readFile } = await import('fs/promises');
3170
- const input = JSON.parse(await readFile(path2, "utf8"));
3171
- const read = readDiagram(input);
3172
- if (!read.ok) throw new Error(`${path2} \u3092\u79FB\u305B\u306A\u3044: ${read.errors.map((error) => `${error.pointer} ${error.message}`).join(" / ")}`);
3173
- return { changed: false, from: read.diagram.version, to: FORMAT_VERSION };
3174
- }
3175
3168
 
3176
3169
  // src/parser.ts
3177
3170
  var NotationError = class extends Error {
@@ -7413,7 +7406,6 @@ exports.chooseView = chooseView;
7413
7406
  exports.describeOverlap = describeOverlap;
7414
7407
  exports.extractDiagrams = extractDiagrams;
7415
7408
  exports.iconSvg = iconSvg;
7416
- exports.migrateFile = migrateFile;
7417
7409
  exports.mountDiagram = mountDiagram;
7418
7410
  exports.parseNotation = parseNotation;
7419
7411
  exports.printNotation = printNotation;