@clipboard-health/util-ts 0.5.1 → 0.5.3

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/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.5.3](https://github.com/ClipboardHealth/cbh-core/compare/util-ts-0.5.2...util-ts-0.5.3) (2023-05-16)
6
+
7
+ ## [0.5.2](https://github.com/ClipboardHealth/cbh-core/compare/util-ts-0.5.1...util-ts-0.5.2) (2023-05-15)
8
+
5
9
  ## [0.5.1](https://github.com/ClipboardHealth/cbh-core/compare/util-ts-0.5.0...util-ts-0.5.1) (2023-05-14)
6
10
 
7
11
  ## [0.5.0](https://github.com/ClipboardHealth/cbh-core/compare/util-ts-0.4.0...util-ts-0.5.0) (2023-05-09)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clipboard-health/util-ts",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "main": "./src/index.js",
5
5
  "scripts": {
6
6
  "build": "nx build util-ts",
package/src/index.js CHANGED
@@ -1,9 +1,22 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
2
16
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./lib/cbh-error"), exports);
5
- tslib_1.__exportStar(require("./lib/cbh-response"), exports);
6
- tslib_1.__exportStar(require("./lib/force-cast"), exports);
7
- tslib_1.__exportStar(require("./lib/is-null-or-undefined"), exports);
8
- tslib_1.__exportStar(require("./lib/non-empty-array"), exports);
17
+ __exportStar(require("./lib/cbh-error"), exports);
18
+ __exportStar(require("./lib/cbh-response"), exports);
19
+ __exportStar(require("./lib/force-cast"), exports);
20
+ __exportStar(require("./lib/is-null-or-undefined"), exports);
21
+ __exportStar(require("./lib/non-empty-array"), exports);
9
22
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/util-ts/src/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,6DAAmC;AACnC,2DAAiC;AACjC,qEAA2C;AAC3C,gEAAsC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/util-ts/src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,qDAAmC;AACnC,mDAAiC;AACjC,6DAA2C;AAC3C,wDAAsC"}
@@ -1,8 +1,8 @@
1
1
  import { type NonEmptyArray, type OneOrNonEmptyArray } from "./non-empty-array";
2
- export type CbhIssue = {
2
+ export interface CbhIssue {
3
3
  cause?: Error;
4
4
  message: string;
5
- };
5
+ }
6
6
  export declare class CbhError extends Error {
7
7
  readonly issues: NonEmptyArray<CbhIssue>;
8
8
  constructor(issues: OneOrNonEmptyArray<CbhIssue>);
@@ -1 +1 @@
1
- {"version":3,"file":"cbh-error.d.ts","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/cbh-error.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,kBAAkB,EAExB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,qBAAa,QAAS,SAAQ,KAAK;IACjC,SAAgB,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;gBAEpC,MAAM,EAAE,kBAAkB,CAAC,QAAQ,CAAC;CASjD"}
1
+ {"version":3,"file":"cbh-error.d.ts","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/cbh-error.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,kBAAkB,EAExB,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,QAAS,SAAQ,KAAK;IACjC,SAAgB,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;gBAEpC,MAAM,EAAE,kBAAkB,CAAC,QAAQ,CAAC;CASjD"}