@willbooster/shared-lib 1.4.0 → 1.6.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.
@@ -0,0 +1,2 @@
1
+ declare function ignoreError<T>(fn: () => T): T | undefined;
2
+ export { ignoreError };
@@ -0,0 +1,2 @@
1
+ "use strict";exports.ignoreError=function(r){try{return r()}catch(r){}};
2
+ //# sourceMappingURL=error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export { shuffle } from "./shuffle";
2
+ export { ignoreError } from "./error";
2
3
  export { zenkakuAlphanumericalsToHankaku } from "./zenkaku";
package/dist/cjs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";var e=require("./shuffle.js"),u=require("./zenkaku.js");exports.shuffle=e.shuffle,exports.zenkakuAlphanumericalsToHankaku=u.zenkakuAlphanumericalsToHankaku;
1
+ "use strict";var r=require("./shuffle.js"),e=require("./error.js"),u=require("./zenkaku.js");exports.shuffle=r.shuffle,exports.ignoreError=e.ignoreError,exports.zenkakuAlphanumericalsToHankaku=u.zenkakuAlphanumericalsToHankaku;
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ declare function ignoreError<T>(fn: () => T): T | undefined;
2
+ export { ignoreError };
@@ -0,0 +1,2 @@
1
+ function t(t){try{return t()}catch(t){}}export{t as ignoreError};
2
+ //# sourceMappingURL=error.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"error.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export { shuffle } from "./shuffle";
2
+ export { ignoreError } from "./error";
2
3
  export { zenkakuAlphanumericalsToHankaku } from "./zenkaku";
package/dist/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export{shuffle}from"./shuffle.js";export{zenkakuAlphanumericalsToHankaku}from"./zenkaku.js";
1
+ export{shuffle}from"./shuffle.js";export{ignoreError}from"./error.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": "1.4.0",
3
+ "version": "1.6.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": "WillBooster Inc.",
6
6
  "type": "module",
@@ -29,7 +29,7 @@
29
29
  "@typescript-eslint/parser": "5.47.1",
30
30
  "@willbooster/eslint-config-ts": "10.0.8",
31
31
  "@willbooster/prettier-config": "9.1.1",
32
- "build-ts": "3.1.2",
32
+ "build-ts": "3.1.3",
33
33
  "eslint": "8.30.0",
34
34
  "eslint-config-prettier": "8.5.0",
35
35
  "eslint-import-resolver-typescript": "3.5.2",