@opendaw/lib-dom 0.0.23 → 0.0.25

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/README.md CHANGED
@@ -30,7 +30,6 @@ DOM utilities and web browser interaction helpers for TypeScript projects.
30
30
 
31
31
  * Browser detection and compatibility utilities **browser.ts**
32
32
  * Font loading and management **fonts.ts**
33
- * Error handling for DOM operations **errors.ts**
34
33
  * Console utility commands **console-commands.ts**
35
34
 
36
35
  ## Performance & Lifecycle
package/dist/index.d.ts CHANGED
@@ -6,7 +6,6 @@ export * from "./context-2d";
6
6
  export * from "./css-utils";
7
7
  export * from "./dragging";
8
8
  export * from "./events";
9
- export * from "./errors";
10
9
  export * from "./files";
11
10
  export * from "./fonts";
12
11
  export * from "./frames";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AASA,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,OAAO,CAAA;AACrB,cAAc,cAAc,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AASA,cAAc,WAAW,CAAA;AACzB,cAAc,eAAe,CAAA;AAC7B,cAAc,oBAAoB,CAAA;AAClC,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,OAAO,CAAA;AACrB,cAAc,cAAc,CAAA"}
package/dist/index.js CHANGED
@@ -14,7 +14,6 @@ export * from "./context-2d";
14
14
  export * from "./css-utils";
15
15
  export * from "./dragging";
16
16
  export * from "./events";
17
- export * from "./errors";
18
17
  export * from "./files";
19
18
  export * from "./fonts";
20
19
  export * from "./frames";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendaw/lib-dom",
3
- "version": "0.0.23",
3
+ "version": "0.0.25",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "LGPL-3.0-or-later",
@@ -22,13 +22,13 @@
22
22
  "test": "vitest run"
23
23
  },
24
24
  "dependencies": {
25
- "@opendaw/lib-runtime": "^0.0.23",
26
- "@opendaw/lib-std": "^0.0.23",
25
+ "@opendaw/lib-runtime": "^0.0.25",
26
+ "@opendaw/lib-std": "^0.0.25",
27
27
  "@types/wicg-file-system-access": "^2023.10.6"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@opendaw/eslint-config": "^0.0.18",
31
31
  "@opendaw/typescript-config": "^0.0.19"
32
32
  },
33
- "gitHead": "c6dfce6baac23b9367d284642791e924a248083f"
33
+ "gitHead": "3d8d12f0591ea2182072dcb77b6f34c97b18a7ff"
34
34
  }
package/dist/errors.d.ts DELETED
@@ -1,6 +0,0 @@
1
- export declare namespace Errors {
2
- const AbortError: number | Readonly<DOMException>;
3
- const isAbort: (error: unknown) => boolean;
4
- const CatchAbort: (error: unknown) => undefined;
5
- }
6
- //# sourceMappingURL=errors.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../src/errors.ts"],"names":[],"mappings":"AAEA,yBAAiB,MAAM,CAAC;IACb,MAAM,UAAU,iCACkC,CAAA;IAElD,MAAM,OAAO,GAAI,OAAO,OAAO,YACoD,CAAA;IAEnF,MAAM,UAAU,GAAI,OAAO,OAAO,cAAoD,CAAA;CAChG"}
package/dist/errors.js DELETED
@@ -1,8 +0,0 @@
1
- import { panic } from "@opendaw/lib-std";
2
- export var Errors;
3
- (function (Errors) {
4
- Errors.AbortError = typeof DOMException === "undefined"
5
- ? NaN : Object.freeze(new DOMException("AbortError"));
6
- Errors.isAbort = (error) => error === Errors.AbortError || (error instanceof DOMException && error.name === "AbortError");
7
- Errors.CatchAbort = (error) => error === Errors.AbortError ? undefined : panic(error);
8
- })(Errors || (Errors = {}));