@willbooster/shared-lib 7.1.1 → 7.1.2

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("./assert.cjs"),r=require("./error.cjs"),s=require("./env.cjs"),n=require("./humanize.cjs"),t=require("./mail.cjs"),i=require("./parseCommandLineArgs.cjs"),o=require("./shuffle.cjs"),a=require("./sleep.cjs"),u=require("./sqlite.cjs"),p=require("./zenkaku.cjs");exports.ensureTruthy=e.ensureTruthy,exports.errorify=r.errorify,exports.ignoreEnoent=r.ignoreEnoent,exports.ignoreEnoentAsync=r.ignoreEnoentAsync,exports.ignoreError=r.ignoreError,exports.ignoreErrorAsync=r.ignoreErrorAsync,exports.withRetry=r.withRetry,exports.getRequiredEnvValue=s.getRequiredEnvValue,exports.humanizeNumber=n.humanizeNumber,exports.mailTemplates=t.mailTemplates,exports.parseCommandLineArgs=i.parseCommandLineArgs,exports.shuffle=o.shuffle,exports.sleep=a.sleep,exports.getConnectionLevelSqlitePragmas=u.getConnectionLevelSqlitePragmas,exports.getPersistentSqlitePragmas=u.getPersistentSqlitePragmas,exports.zenkakuAlphanumericalsToHankaku=p.zenkakuAlphanumericalsToHankaku;
1
+ "use strict";var e=require("./assert.cjs"),r=require("./error.cjs"),s=require("./humanize.cjs"),n=require("./mail.cjs"),t=require("./parseCommandLineArgs.cjs"),o=require("./shuffle.cjs"),i=require("./sleep.cjs"),a=require("./sqlite.cjs"),u=require("./zenkaku.cjs");exports.ensureTruthy=e.ensureTruthy,exports.errorify=r.errorify,exports.ignoreEnoent=r.ignoreEnoent,exports.ignoreEnoentAsync=r.ignoreEnoentAsync,exports.ignoreError=r.ignoreError,exports.ignoreErrorAsync=r.ignoreErrorAsync,exports.withRetry=r.withRetry,exports.humanizeNumber=s.humanizeNumber,exports.mailTemplates=n.mailTemplates,exports.parseCommandLineArgs=t.parseCommandLineArgs,exports.shuffle=o.shuffle,exports.sleep=i.sleep,exports.getConnectionLevelSqlitePragmas=a.getConnectionLevelSqlitePragmas,exports.getPersistentSqlitePragmas=a.getPersistentSqlitePragmas,exports.zenkakuAlphanumericalsToHankaku=u.zenkakuAlphanumericalsToHankaku;
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export { ensureTruthy } from './assert.js';
2
2
  export { errorify, ignoreError, ignoreEnoent, ignoreErrorAsync, ignoreEnoentAsync, withRetry } from './error.js';
3
- export { getRequiredEnvValue } from './env.js';
4
3
  export { humanizeNumber } from './humanize.js';
5
4
  export { mailTemplates } from './mail.js';
6
5
  export { parseCommandLineArgs } from './parseCommandLineArgs.js';
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export{ensureTruthy}from"./assert.js";export{errorify,ignoreEnoent,ignoreEnoentAsync,ignoreError,ignoreErrorAsync,withRetry}from"./error.js";export{getRequiredEnvValue}from"./env.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";
1
+ export{ensureTruthy}from"./assert.js";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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/shared-lib",
3
- "version": "7.1.1",
3
+ "version": "7.1.2",
4
4
  "description": "Shared library for WillBooster projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -58,14 +58,14 @@
58
58
  "eslint-plugin-sort-destructure-keys": "2.0.0",
59
59
  "eslint-plugin-unicorn": "62.0.0",
60
60
  "eslint-plugin-unused-imports": "4.3.0",
61
- "globals": "16.5.0",
61
+ "globals": "17.0.0",
62
62
  "lint-staged": "16.2.7",
63
63
  "micromatch": "4.0.8",
64
64
  "prettier": "3.8.0",
65
65
  "prettier-plugin-java": "2.8.1",
66
66
  "sort-package-json": "3.6.0",
67
67
  "typescript": "5.9.3",
68
- "typescript-eslint": "8.53.0",
68
+ "typescript-eslint": "8.53.1",
69
69
  "vitest": "4.0.17"
70
70
  },
71
71
  "publishConfig": {
package/dist/env.cjs DELETED
@@ -1,2 +0,0 @@
1
- "use strict";exports.getRequiredEnvValue=function(e){const r=process.env[e];if(!r)throw new Error(`${e} environment variable is required.`);return r};
2
- //# sourceMappingURL=env.cjs.map
package/dist/env.cjs.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"env.cjs","sources":["../src/env.ts"],"sourcesContent":["export function getRequiredEnvValue(key: string): string {\n const value = process.env[key];\n if (!value) {\n throw new Error(`${key} environment variable is required.`);\n }\n return value;\n}\n"],"names":["key","value","process","env","Error"],"mappings":"yCAAO,SAA6BA,GAClC,MAAMC,EAAQC,QAAQC,IAAIH,GAC1B,IAAKC,EACH,MAAM,IAAIG,MAAM,GAAGJ,uCAErB,OAAOC,CACT"}
package/dist/env.d.ts DELETED
@@ -1 +0,0 @@
1
- export declare function getRequiredEnvValue(key: string): string;
package/dist/env.js DELETED
@@ -1,2 +0,0 @@
1
- function r(r){const e=process.env[r];if(!e)throw new Error(`${r} environment variable is required.`);return e}export{r as getRequiredEnvValue};
2
- //# sourceMappingURL=env.js.map
package/dist/env.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"env.js","sources":["../src/env.ts"],"sourcesContent":["export function getRequiredEnvValue(key: string): string {\n const value = process.env[key];\n if (!value) {\n throw new Error(`${key} environment variable is required.`);\n }\n return value;\n}\n"],"names":["getRequiredEnvValue","key","value","process","env","Error"],"mappings":"AAAO,SAASA,EAAoBC,GAClC,MAAMC,EAAQC,QAAQC,IAAIH,GAC1B,IAAKC,EACH,MAAM,IAAIG,MAAM,GAAGJ,uCAErB,OAAOC,CACT"}