@xylabs/delay 5.0.84 → 5.0.86

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.
Files changed (2) hide show
  1. package/README.md +9 -7
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -15,6 +15,8 @@
15
15
 
16
16
  Base functionality used throughout XY Labs TypeScript/JavaScript libraries
17
17
 
18
+
19
+
18
20
  ## Reference
19
21
 
20
22
  **@xylabs/delay**
@@ -23,7 +25,9 @@ Base functionality used throughout XY Labs TypeScript/JavaScript libraries
23
25
 
24
26
  ## Functions
25
27
 
26
- - [delay](#functions/delay)
28
+ | Function | Description |
29
+ | ------ | ------ |
30
+ | [delay](#functions/delay) | Returns a promise that resolves after the specified number of milliseconds. |
27
31
 
28
32
  ### functions
29
33
 
@@ -34,18 +38,16 @@ Base functionality used throughout XY Labs TypeScript/JavaScript libraries
34
38
  ***
35
39
 
36
40
  ```ts
37
- function delay(ms): Promise<unknown>;
41
+ function delay(ms: number): Promise<unknown>;
38
42
  ```
39
43
 
40
44
  Returns a promise that resolves after the specified number of milliseconds.
41
45
 
42
46
  ## Parameters
43
47
 
44
- ### ms
45
-
46
- `number`
47
-
48
- The number of milliseconds to delay.
48
+ | Parameter | Type | Description |
49
+ | ------ | ------ | ------ |
50
+ | `ms` | `number` | The number of milliseconds to delay. |
49
51
 
50
52
  ## Returns
51
53
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/delay",
3
- "version": "5.0.84",
3
+ "version": "5.0.86",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "delay",
@@ -42,11 +42,11 @@
42
42
  "!**/*.test.*"
43
43
  ],
44
44
  "dependencies": {
45
- "@xylabs/timer": "~5.0.84"
45
+ "@xylabs/timer": "~5.0.86"
46
46
  },
47
47
  "devDependencies": {
48
- "@xylabs/ts-scripts-yarn3": "~7.4.13",
49
- "@xylabs/tsconfig": "~7.4.13",
48
+ "@xylabs/ts-scripts-yarn3": "~7.4.16",
49
+ "@xylabs/tsconfig": "~7.4.16",
50
50
  "typescript": "~5.9.3",
51
51
  "vitest": "~4.0.18"
52
52
  },