@thi.ng/bench 3.1.4 → 3.1.7

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**: 2022-03-11T12:13:49Z
3
+ - **Last updated**: 2022-06-09T16:14:01Z
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.
package/benchmark.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { BenchmarkOpts, BenchmarkResult } from "./api.js";
2
2
  export declare const DEFAULT_OPTS: BenchmarkOpts;
3
- export declare const benchmark: (fn: () => void, opts?: Partial<BenchmarkOpts> | undefined) => BenchmarkResult;
3
+ export declare const benchmark: (fn: () => void, opts?: Partial<BenchmarkOpts>) => BenchmarkResult;
4
4
  /**
5
5
  * Only outputs non-empty strings to console.
6
6
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/bench",
3
- "version": "3.1.4",
3
+ "version": "3.1.7",
4
4
  "description": "Benchmarking utilities w/ various statistics & formatters (CSV, Markdown etc.)",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,16 +34,16 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.4"
37
+ "@thi.ng/api": "^8.3.7"
38
38
  },
39
39
  "devDependencies": {
40
- "@microsoft/api-extractor": "^7.19.4",
41
- "@thi.ng/testament": "^0.2.4",
42
- "@types/node": "^17.0.21",
40
+ "@microsoft/api-extractor": "^7.25.0",
41
+ "@thi.ng/testament": "^0.2.8",
42
+ "@types/node": "^17.0.41",
43
43
  "rimraf": "^3.0.2",
44
44
  "tools": "^0.0.1",
45
- "typedoc": "^0.22.13",
46
- "typescript": "^4.6.2"
45
+ "typedoc": "^0.22.17",
46
+ "typescript": "^4.7.3"
47
47
  },
48
48
  "keywords": [
49
49
  "benchmark",
@@ -77,34 +77,34 @@
77
77
  ],
78
78
  "exports": {
79
79
  ".": {
80
- "import": "./index.js"
80
+ "default": "./index.js"
81
81
  },
82
82
  "./api": {
83
- "import": "./api.js"
83
+ "default": "./api.js"
84
84
  },
85
85
  "./bench": {
86
- "import": "./bench.js"
86
+ "default": "./bench.js"
87
87
  },
88
88
  "./benchmark": {
89
- "import": "./benchmark.js"
89
+ "default": "./benchmark.js"
90
90
  },
91
91
  "./format/csv": {
92
- "import": "./format/csv.js"
92
+ "default": "./format/csv.js"
93
93
  },
94
94
  "./format/default": {
95
- "import": "./format/default.js"
95
+ "default": "./format/default.js"
96
96
  },
97
97
  "./format/markdown": {
98
- "import": "./format/markdown.js"
98
+ "default": "./format/markdown.js"
99
99
  },
100
100
  "./now": {
101
- "import": "./now.js"
101
+ "default": "./now.js"
102
102
  },
103
103
  "./suite": {
104
- "import": "./suite.js"
104
+ "default": "./suite.js"
105
105
  },
106
106
  "./timed": {
107
- "import": "./timed.js"
107
+ "default": "./timed.js"
108
108
  }
109
109
  },
110
110
  "thi.ng": {
@@ -114,5 +114,5 @@
114
114
  ],
115
115
  "year": 2018
116
116
  },
117
- "gitHead": "0fc692a3225c068aacafdc4cb6140cf603c67ad8\n"
117
+ "gitHead": "9e516d30a1a537e027a6b3d78bf9121bc5831d31\n"
118
118
  }
package/suite.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { Benchmark, BenchmarkResult, BenchmarkSuiteOpts } from "./api.js";
2
- export declare const suite: (cases: Benchmark[], opts?: Partial<BenchmarkSuiteOpts> | undefined) => BenchmarkResult[];
2
+ export declare const suite: (cases: Benchmark[], opts?: Partial<BenchmarkSuiteOpts>) => BenchmarkResult[];
3
3
  //# sourceMappingURL=suite.d.ts.map