@oliversalzburg/js-utils 0.2.8 → 0.2.9-dev-0f7d320
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/async.d.ts +5 -1
- package/package.json +8 -22
package/async/async.d.ts
CHANGED
|
@@ -8,7 +8,11 @@ import { AnyAsyncFunction, AnyFunctionReturning, ConstructorOf } from "../core.j
|
|
|
8
8
|
* @param context - The asynchronous function to execute.
|
|
9
9
|
* @returns A function returning nothing.
|
|
10
10
|
*/
|
|
11
|
-
export declare const prepareAsyncContext: (context: AnyAsyncFunction) => (
|
|
11
|
+
export declare const prepareAsyncContext: (context: AnyAsyncFunction) => (
|
|
12
|
+
/**
|
|
13
|
+
* The arguments that our new function was called with.
|
|
14
|
+
*/
|
|
15
|
+
...args: Array<unknown>) => void;
|
|
12
16
|
/**
|
|
13
17
|
* Executes an asynchronous function and resolves with an alternative result
|
|
14
18
|
* in case the function failed.
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@oliversalzburg/js-utils",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.9-dev-0f7d320",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Oliver Salzburg <oliver.salzburg@gmail.com>",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/oliversalzburg/js-utils.git"
|
|
9
|
+
"url": "git+https://github.com/oliversalzburg/js-utils.git"
|
|
10
10
|
},
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|
|
@@ -21,38 +21,24 @@
|
|
|
21
21
|
"./**/*.map"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
|
-
"
|
|
25
|
-
"build:docs": "./docs/build.sh",
|
|
26
|
-
"build:tsc": "tsc",
|
|
27
|
-
"build:tsc:watch": "tsc --watch",
|
|
28
|
-
"clean": "rm -rf ./_site ./coverage ./dist-area ./lib",
|
|
29
|
-
"lint": "yarn run lint:all",
|
|
30
|
-
"lint:all": "yarn run lint:biome && yarn run lint:tsc",
|
|
31
|
-
"lint:biome": "biome check .",
|
|
32
|
-
"lint:tsc": "tsc --noEmit",
|
|
33
|
-
"nextversion": "./.scripts/manifest-version.cjs",
|
|
34
|
-
"test": "node $(yarn bin mocha) --enable-source-maps",
|
|
35
|
-
"test:coverage": "c8 --reporter html-spa --reporter text node $(yarn bin mocha) --enable-source-maps",
|
|
36
|
-
"test:inspect": "node $(yarn bin mocha) --inspect",
|
|
37
|
-
"preversion": "yarn run lint && yarn run build && yarn run test",
|
|
24
|
+
"preversion": "make lint test",
|
|
38
25
|
"postversion": "git push"
|
|
39
26
|
},
|
|
40
27
|
"devDependencies": {
|
|
41
28
|
"@biomejs/biome": "1.9.4",
|
|
42
29
|
"@types/chai": "5.0.1",
|
|
43
30
|
"@types/mocha": "10.0.10",
|
|
44
|
-
"@types/node": "22.13.
|
|
45
|
-
"@types/web": "0.0.
|
|
31
|
+
"@types/node": "22.13.9",
|
|
32
|
+
"@types/web": "0.0.208",
|
|
46
33
|
"c8": "10.1.3",
|
|
47
34
|
"chai": "5.2.0",
|
|
48
|
-
"lint-staged": "15.4.3",
|
|
49
35
|
"mocha": "11.1.0",
|
|
50
36
|
"typedoc": "0.27.9",
|
|
51
|
-
"typedoc-plugin-mdn-links": "
|
|
52
|
-
"typescript": "5.
|
|
37
|
+
"typedoc-plugin-mdn-links": "5.0.1",
|
|
38
|
+
"typescript": "5.8.2"
|
|
53
39
|
},
|
|
54
40
|
"engines": {
|
|
55
41
|
"node": ">=18"
|
|
56
42
|
},
|
|
57
|
-
"packageManager": "yarn@4.
|
|
43
|
+
"packageManager": "yarn@4.7.0"
|
|
58
44
|
}
|