From 8465707936eeb71231ee22e0d4b86b6dd4df862e Mon Sep 17 00:00:00 2001 From: Bryan Ingle Date: Fri, 11 Feb 2022 10:33:07 -0700 Subject: [PATCH] Release. Bump version number --- package.json | 2 +- test/SpecRunner.js | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 5df0fe9..5c5d942 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@barchart/common-js", - "version": "4.19.0", + "version": "4.19.1", "description": "Library of common JavaScript utilities", "author": { "name": "Bryan Ingle", diff --git a/test/SpecRunner.js b/test/SpecRunner.js index 3240850..aa4c318 100644 --- a/test/SpecRunner.js +++ b/test/SpecRunner.js @@ -5185,8 +5185,8 @@ module.exports = (() => { * * @static * @param {*} variable - The value to check. - * @param {String} variableName - The name of the value (used for formatting an error message). - * @param {*} type - The expected type of the argument. + * @param {String=} variableName - The name of the value (used for formatting an error message). + * @param {*=} type - The expected type of the argument. * @param {String=} typeDescription - The description of the expected type (used for formatting an error message). */ argumentIsRequired(variable, variableName, type, typeDescription) { @@ -5199,8 +5199,8 @@ module.exports = (() => { * * @static * @param {*} variable - The value to check. - * @param {String} variableName - The name of the value (used for formatting an error message). - * @param {*} type - The expected type of the argument. + * @param {String=} variableName - The name of the value (used for formatting an error message). + * @param {*=} type - The expected type of the argument. * @param {String=} typeDescription - The description of the expected type (used for formatting an error message). */ argumentIsOptional(variable, variableName, type, typeDescription, predicate, predicateDescription) { @@ -5239,7 +5239,7 @@ module.exports = (() => { * * @static * @param {*} variable - The value to check. - * @param {String} variableName - The name of the value (used for formatting an error message). + * @param {String=} variableName - The name of the value (used for formatting an error message). * @param {Function=} predicate - A function used to validate the item (beyond type checking). * @param {String=} predicateDescription - A description of the assertion made by the predicate (e.g. "is an integer") that is used for formatting an error message. */