From 15627ee18ee34a6382dd449be4093b08e548c133 Mon Sep 17 00:00:00 2001 From: Harsh Kumar Gupta Date: Thu, 19 Dec 2024 15:52:14 +0530 Subject: [PATCH] Bump version to 5.0.1 and update argument names for clarity in helper functions --- package-lock.json | 4 ++-- test/helpers/test.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index c92de879..55381341 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "openseadragon", - "version": "5.0.0", + "version": "5.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "openseadragon", - "version": "5.0.0", + "version": "5.0.1", "license": "BSD-3-Clause", "devDependencies": { "eslint-plugin-compat": "^4.1.2", diff --git a/test/helpers/test.js b/test/helpers/test.js index eb860cbf..7e34babd 100644 --- a/test/helpers/test.js +++ b/test/helpers/test.js @@ -59,8 +59,8 @@ }, // ---------- - equalsWithVariance: function (actual, expected, variance) { - return Math.abs(actual - expected) <= variance; + equalsWithVariance: function (value1, value2, variance) { + return Math.abs(value1 - value2) <= variance; }, // ----------