From 894f1665f6179d6da889eca226e1789ac8d539fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20K=C3=BCng?= Date: Tue, 2 Oct 2018 11:16:18 +0200 Subject: [PATCH 1/2] remove whitespace before checking if data is numeric --- helpers/data.js | 1 + 1 file changed, 1 insertion(+) diff --git a/helpers/data.js b/helpers/data.js index 9ad042ca..79250bc0 100644 --- a/helpers/data.js +++ b/helpers/data.js @@ -82,6 +82,7 @@ function isNumeric(cell) { if (!cell) { return false; } + cell = cell.trim(); // remove whitespaces if (cell.match(/^[+-]?\d+(\.\d+)?$/) === null) { return false; } From d56a2dafd1cf6ee4fdff5f5a7769868d726e36b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20K=C3=BCng?= Date: Wed, 10 Oct 2018 11:06:59 +0200 Subject: [PATCH 2/2] release-3.0.1 --- package-lock.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 724c0773..7603ae75 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "q-table", - "version": "3.0.0", + "version": "3.0.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 79c77fcb..c925bc1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "q-table", - "version": "3.0.0", + "version": "3.0.1", "description": "", "main": "index.js", "scripts": {