@willwade/aac-processors 0.2.9 → 0.2.11

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.
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WordFormGenerator = exports.Grid3VerbsParser = exports.MorphologyEngine = void 0;
3
+ exports.WordFormGenerator = exports.MorphologyEngine = void 0;
4
4
  var engine_1 = require("./engine");
5
5
  Object.defineProperty(exports, "MorphologyEngine", { enumerable: true, get: function () { return engine_1.MorphologyEngine; } });
6
- var grid3VerbsParser_1 = require("./grid3VerbsParser");
7
- Object.defineProperty(exports, "Grid3VerbsParser", { enumerable: true, get: function () { return grid3VerbsParser_1.Grid3VerbsParser; } });
8
6
  var wordFormGenerator_1 = require("./wordFormGenerator");
9
7
  Object.defineProperty(exports, "WordFormGenerator", { enumerable: true, get: function () { return wordFormGenerator_1.WordFormGenerator; } });
@@ -85,7 +85,9 @@ async function openSqliteDatabase(input, options = {}) {
85
85
  throw new Error('SQLite file paths are not supported in browser environments.');
86
86
  }
87
87
  const Database = getBetterSqlite3();
88
- const db = new Database(input, { readonly: options.readonly ?? true });
88
+ const db = new Database(input, {
89
+ readonly: options.readonly ?? true,
90
+ });
89
91
  return { db };
90
92
  }
91
93
  const data = await readBinaryFromInput(input);
@@ -98,7 +100,9 @@ async function openSqliteDatabase(input, options = {}) {
98
100
  const dbPath = join(tempDir, 'input.sqlite');
99
101
  await writeBinaryToPath(dbPath, data);
100
102
  const Database = getBetterSqlite3();
101
- const db = new Database(dbPath, { readonly: options.readonly ?? true });
103
+ const db = new Database(dbPath, {
104
+ readonly: options.readonly ?? true,
105
+ });
102
106
  const cleanup = async () => {
103
107
  try {
104
108
  db.close();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willwade/aac-processors",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
4
4
  "description": "A comprehensive TypeScript library for processing AAC (Augmentative and Alternative Communication) file formats with translation support",
5
5
  "main": "dist/index.js",
6
6
  "browser": "dist/browser/index.browser.js",