@thi.ng/bench 3.5.0 → 3.5.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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-03-13T14:04:31Z
3
+ - **Last updated**: 2024-03-27T09:53:45Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
9
9
  **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
10
  and/or version bumps of transitive dependencies.
11
11
 
12
+ ### [3.5.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/bench@3.5.1) (2024-03-27)
13
+
14
+ #### 🩹 Bug fixes
15
+
16
+ - fix optional arg type for timeDiff() ([29825ac](https://github.com/thi-ng/umbrella/commit/29825ac))
17
+
12
18
  ## [3.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/bench@3.5.0) (2024-03-13)
13
19
 
14
20
  #### 🚀 Features
package/now.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { Fn0, FnU2 } from "@thi.ng/api";
1
+ import type { Fn0 } from "@thi.ng/api";
2
2
  import type { Timestamp } from "./api.js";
3
3
  /**
4
4
  * If available, returns wrapper for `process.hrtime.bigint()` else falls back
@@ -13,7 +13,7 @@ export declare const now: Fn0<Timestamp>;
13
13
  * @param a
14
14
  * @param b
15
15
  */
16
- export declare const timeDiff: FnU2<Timestamp, number>;
16
+ export declare const timeDiff: (a: Timestamp, b?: Timestamp) => number;
17
17
  /**
18
18
  * Takes a duration (either a number or bigint) in nanosec-scale (see
19
19
  * {@link now}) and converts it to a JS number in milliseconds.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/bench",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "Benchmarking & profiling utilities w/ various statistics & formatters (CSV, JSON, Markdown etc.)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,17 +36,17 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.9.30"
39
+ "@thi.ng/api": "^8.9.31"
40
40
  },
41
41
  "devDependencies": {
42
- "@microsoft/api-extractor": "^7.42.3",
43
- "@thi.ng/testament": "^0.4.23",
44
- "@types/node": "^20.11.26",
45
- "esbuild": "^0.20.1",
42
+ "@microsoft/api-extractor": "^7.43.0",
43
+ "@thi.ng/testament": "^0.4.24",
44
+ "@types/node": "^20.11.30",
45
+ "esbuild": "^0.20.2",
46
46
  "rimraf": "^5.0.5",
47
47
  "tools": "^0.0.1",
48
48
  "typedoc": "^0.25.12",
49
- "typescript": "^5.4.2"
49
+ "typescript": "^5.4.3"
50
50
  },
51
51
  "keywords": [
52
52
  "benchmark",
@@ -120,5 +120,5 @@
120
120
  ],
121
121
  "year": 2018
122
122
  },
123
- "gitHead": "7f3fcbd6c0462b0ce45afa141fe163d1f297fd51\n"
123
+ "gitHead": "feb3b24654f2c931cd3c3308c1c0c807ee14d0e4\n"
124
124
  }