From b8ec60e335b3ce95be4f2507623d357f4a600331 Mon Sep 17 00:00:00 2001 From: Matheus Marchini Date: Tue, 10 Dec 2019 11:03:40 -0800 Subject: [PATCH] fix(benchmark): force latest restify version (#1810) `*` will match any stable release, which means if there's already a restify version installed in the benchmarks directory, npm won't try to update it. `latest` only matches the latest version, which means npm will always update to the latest stable version (unless it's already installed). This behavior can be checked with https://semver.npmjs.com/. --- benchmark/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark/package.json b/benchmark/package.json index 9d66526f7..4cc8b2619 100644 --- a/benchmark/package.json +++ b/benchmark/package.json @@ -9,7 +9,7 @@ "node": ">=0.10" }, "dependencies": { - "restify": "*" + "restify": "latest" }, "devDependencies": {}, "license": "MIT",