Skip to content

Commit 2160804

Browse files
authored
Update to faceoff 1.1, fix breaking change. (#735)
1 parent d4d2dcb commit 2160804

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ project adheres to [Semantic Versioning](http://semver.org/).
3030
- ci: Run benchmarks for pull requests
3131
- ci: switch out deprecated benchmark-regression library for replacement
3232
- AggregatorRegistry renamed to ClusterRegistry, old name deprecated
33+
- chore: update faceoff to 1.1
3334

3435
### Added
3536

benchmarks/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ const debug = require('debug')('benchmark');
1212
* 2018, that situation is unlikely to change soon.
1313
*/
1414

15-
const currentClient = require('..');
1615
const benchmarks = new Benchmark({
1716
'prom-client@latest': 'prom-client@latest',
1817
'prom-client@trunk': 'git@github.com:siimon/prom-client',
19-
'prom-client@current': currentClient,
18+
'prom-client@current': { location: process.cwd() },
2019
});
2120

2221
benchmarks.suite('counter', require('./counter'));

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"eslint-plugin-n": "^17.20.0",
4343
"eslint-plugin-prettier": "^5.0.1",
4444
"express": "^5.1.0",
45-
"faceoff": "^0.10.0",
45+
"faceoff": "^1.1.0",
4646
"globals": "^16.2.0",
4747
"husky": "^9.0.0",
4848
"jest": "^30.0.2",

0 commit comments

Comments
 (0)