@willbooster/shared-lib 6.1.5 → 7.0.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
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("./error.cjs"),r=require("./humanize.cjs"),s=require("./mail.cjs"),n=require("./parseCommandLineArgs.cjs"),o=require("./shuffle.cjs"),i=require("./sleep.cjs"),a=require("./zenkaku.cjs");exports.errorify=e.errorify,exports.ignoreEnoent=e.ignoreEnoent,exports.ignoreEnoentAsync=e.ignoreEnoentAsync,exports.ignoreError=e.ignoreError,exports.ignoreErrorAsync=e.ignoreErrorAsync,exports.withRetry=e.withRetry,exports.humanizeNumber=r.humanizeNumber,exports.mailTemplates=s.mailTemplates,exports.parseCommandLineArgs=n.parseCommandLineArgs,exports.shuffle=o.shuffle,exports.sleep=i.sleep,exports.zenkakuAlphanumericalsToHankaku=a.zenkakuAlphanumericalsToHankaku;
1
+ "use strict";var e=require("./error.cjs"),r=require("./humanize.cjs"),s=require("./mail.cjs"),n=require("./parseCommandLineArgs.cjs"),o=require("./shuffle.cjs"),i=require("./sleep.cjs"),t=require("./sqlite.cjs"),a=require("./zenkaku.cjs");exports.errorify=e.errorify,exports.ignoreEnoent=e.ignoreEnoent,exports.ignoreEnoentAsync=e.ignoreEnoentAsync,exports.ignoreError=e.ignoreError,exports.ignoreErrorAsync=e.ignoreErrorAsync,exports.withRetry=e.withRetry,exports.humanizeNumber=r.humanizeNumber,exports.mailTemplates=s.mailTemplates,exports.parseCommandLineArgs=n.parseCommandLineArgs,exports.shuffle=o.shuffle,exports.sleep=i.sleep,exports.getConnectionLevelSqlitePragmas=t.getConnectionLevelSqlitePragmas,exports.getPersistentSqlitePragmas=t.getPersistentSqlitePragmas,exports.zenkakuAlphanumericalsToHankaku=a.zenkakuAlphanumericalsToHankaku;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.ts CHANGED
@@ -4,5 +4,6 @@ export { mailTemplates } from './mail.js';
4
4
  export { parseCommandLineArgs } from './parseCommandLineArgs.js';
5
5
  export { shuffle } from './shuffle.js';
6
6
  export { sleep } from './sleep.js';
7
+ export { getConnectionLevelSqlitePragmas, getPersistentSqlitePragmas } from './sqlite.js';
7
8
  export { zenkakuAlphanumericalsToHankaku } from './zenkaku.js';
8
9
  export type { RetryOptions } from './error.js';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export{errorify,ignoreEnoent,ignoreEnoentAsync,ignoreError,ignoreErrorAsync,withRetry}from"./error.js";export{humanizeNumber}from"./humanize.js";export{mailTemplates}from"./mail.js";export{parseCommandLineArgs}from"./parseCommandLineArgs.js";export{shuffle}from"./shuffle.js";export{sleep}from"./sleep.js";export{zenkakuAlphanumericalsToHankaku}from"./zenkaku.js";
1
+ export{errorify,ignoreEnoent,ignoreEnoentAsync,ignoreError,ignoreErrorAsync,withRetry}from"./error.js";export{humanizeNumber}from"./humanize.js";export{mailTemplates}from"./mail.js";export{parseCommandLineArgs}from"./parseCommandLineArgs.js";export{shuffle}from"./shuffle.js";export{sleep}from"./sleep.js";export{getConnectionLevelSqlitePragmas,getPersistentSqlitePragmas}from"./sqlite.js";export{zenkakuAlphanumericalsToHankaku}from"./zenkaku.js";
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";exports.getConnectionLevelSqlitePragmas=function(){return"PRAGMA busy_timeout = 5000; PRAGMA synchronous = NORMAL; PRAGMA wal_autocheckpoint = 0;"},exports.getPersistentSqlitePragmas=function(){return"PRAGMA journal_mode = WAL;"};
2
+ //# sourceMappingURL=sqlite.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlite.cjs","sources":["../src/sqlite.ts"],"sourcesContent":["export function getConnectionLevelSqlitePragmas(): string {\n return 'PRAGMA busy_timeout = 5000; PRAGMA synchronous = NORMAL; PRAGMA wal_autocheckpoint = 0;';\n}\n\nexport function getPersistentSqlitePragmas(): string {\n return 'PRAGMA journal_mode = WAL;';\n}\n"],"names":[],"mappings":"qDAAO,WACL,MAAO,yFACT,qCAEO,WACL,MAAO,4BACT"}
@@ -0,0 +1,2 @@
1
+ export declare function getConnectionLevelSqlitePragmas(): string;
2
+ export declare function getPersistentSqlitePragmas(): string;
package/dist/sqlite.js ADDED
@@ -0,0 +1,2 @@
1
+ function n(){return"PRAGMA busy_timeout = 5000; PRAGMA synchronous = NORMAL; PRAGMA wal_autocheckpoint = 0;"}function o(){return"PRAGMA journal_mode = WAL;"}export{n as getConnectionLevelSqlitePragmas,o as getPersistentSqlitePragmas};
2
+ //# sourceMappingURL=sqlite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sqlite.js","sources":["../src/sqlite.ts"],"sourcesContent":["export function getConnectionLevelSqlitePragmas(): string {\n return 'PRAGMA busy_timeout = 5000; PRAGMA synchronous = NORMAL; PRAGMA wal_autocheckpoint = 0;';\n}\n\nexport function getPersistentSqlitePragmas(): string {\n return 'PRAGMA journal_mode = WAL;';\n}\n"],"names":["getConnectionLevelSqlitePragmas","getPersistentSqlitePragmas"],"mappings":"AAAO,SAASA,IACd,MAAO,yFACT,CAEO,SAASC,IACd,MAAO,4BACT"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/shared-lib",
3
- "version": "6.1.5",
3
+ "version": "7.0.0",
4
4
  "description": "Shared library for WillBooster projects",
5
5
  "repository": {
6
6
  "type": "git",