@oliversalzburg/js-utils 0.0.57 → 0.0.58-dev.1
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/async.d.ts +1 -1
- package/data/array.d.ts +1 -1
- package/device/shake.d.ts +0 -2
- package/dom/core.d.ts +0 -1
- package/error/console.d.ts +0 -2
- package/error/index.d.ts +1 -1
- package/error/index.js +1 -1
- package/error/index.js.map +1 -1
- package/event.d.ts +0 -1
- package/graphics/canvas-sandbox-mp.d.ts +0 -3
- package/graphics/canvas-sandbox.d.ts +0 -1
- package/graphics/canvas.d.ts +0 -1
- package/graphics/canvas2d-headless.d.ts +0 -1
- package/graphics/canvas2d.d.ts +0 -1
- package/graphics/canvas3d.d.ts +0 -1
- package/graphics/palette-sampler.d.ts +0 -1
- package/graphics/shader.d.ts +0 -1
- package/package.json +2 -2
package/async.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { AnyAsyncFunction, AnyFunctionReturning, ConstructorOf } from "./core.js
|
|
|
10
10
|
* @returns A function returning nothing.
|
|
11
11
|
* @group Async
|
|
12
12
|
*/
|
|
13
|
-
export declare const prepareAsyncContext: <TArguments extends unknown
|
|
13
|
+
export declare const prepareAsyncContext: <TArguments extends Array<unknown>>(context: AnyAsyncFunction) => (...args: TArguments) => void;
|
|
14
14
|
/**
|
|
15
15
|
* Executes an asynchronous function and resolves with an alternative result
|
|
16
16
|
* in case the function failed.
|
package/data/array.d.ts
CHANGED
|
@@ -36,4 +36,4 @@ export declare const difference: <TElements>(a: Array<TElements>, b: Array<TElem
|
|
|
36
36
|
* @returns A new array with the filtered items.
|
|
37
37
|
* @group Array
|
|
38
38
|
*/
|
|
39
|
-
export declare const filterType: <TElements>(array: Array<unknown>, InstanceType: ConstructorOf<TElements>) => TElements
|
|
39
|
+
export declare const filterType: <TElements>(array: Array<unknown>, InstanceType: ConstructorOf<TElements>) => Array<TElements>;
|
package/device/shake.d.ts
CHANGED
package/dom/core.d.ts
CHANGED
package/error/console.d.ts
CHANGED
package/error/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AbstractError.js";
|
|
2
|
+
export * from "./console.js";
|
|
2
3
|
export * from "./InternalError.js";
|
|
3
4
|
export * from "./InvalidArgumentError.js";
|
|
4
5
|
export * from "./InvalidOperationError.js";
|
|
@@ -6,4 +7,3 @@ export * from "./NotImplementedError.js";
|
|
|
6
7
|
export * from "./PermissionViolationError.js";
|
|
7
8
|
export * from "./ResourceConflictError.js";
|
|
8
9
|
export * from "./UnknownError.js";
|
|
9
|
-
export * from "./console.js";
|
package/error/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AbstractError.js";
|
|
2
|
+
export * from "./console.js";
|
|
2
3
|
export * from "./InternalError.js";
|
|
3
4
|
export * from "./InvalidArgumentError.js";
|
|
4
5
|
export * from "./InvalidOperationError.js";
|
|
@@ -6,5 +7,4 @@ export * from "./NotImplementedError.js";
|
|
|
6
7
|
export * from "./PermissionViolationError.js";
|
|
7
8
|
export * from "./ResourceConflictError.js";
|
|
8
9
|
export * from "./UnknownError.js";
|
|
9
|
-
export * from "./console.js";
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
package/error/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../source/error/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../source/error/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,mBAAmB,CAAC"}
|
package/event.d.ts
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
/// <reference types="@types/web" />
|
|
2
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
3
|
-
/// <reference types="node" resolution-mode="require"/>
|
|
4
1
|
import { ConstructorOf } from "../core.js";
|
|
5
2
|
import { Random } from "../random.js";
|
|
6
3
|
import { CanvasSandboxApplication, CanvasSandboxExpectedOptions } from "./canvas-sandbox.js";
|
package/graphics/canvas.d.ts
CHANGED
package/graphics/canvas2d.d.ts
CHANGED
package/graphics/canvas3d.d.ts
CHANGED
package/graphics/shader.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@oliversalzburg/js-utils",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.58-dev.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Oliver Salzburg <oliver.salzburg@gmail.com>",
|
|
7
7
|
"repository": {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"prettier-plugin-organize-imports": "3.2.4",
|
|
60
60
|
"typedoc": "0.26.2",
|
|
61
61
|
"typedoc-plugin-mdn-links": "3.2.1",
|
|
62
|
-
"typescript": "5.
|
|
62
|
+
"typescript": "5.5.2",
|
|
63
63
|
"typescript-eslint": "8.0.0-alpha.33"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|