From 873b9e1db2efe30fdda64206ff1221fb514f10a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20K=C3=BCng?= Date: Wed, 14 Aug 2019 10:38:20 +0200 Subject: [PATCH 1/3] change logic do display minibars as option --- routes/option-availability.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/routes/option-availability.js b/routes/option-availability.js index 8d0acbb1..9a52f9fc 100644 --- a/routes/option-availability.js +++ b/routes/option-availability.js @@ -30,7 +30,8 @@ module.exports = { if (item.data.table.length !== 0) { if ( !item.options.cardLayout && - getNumericColumns(item.data.table).length >= 2 + item.data.table[0].length >= 3 && + getNumericColumns(item.data.table).length >= 1 ) { isAvailable = true; } From 0ec268f287308fd9edef00b313cbf1d965429b6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20K=C3=BCng?= Date: Wed, 14 Aug 2019 10:45:05 +0200 Subject: [PATCH 2/3] release-3.1.6 --- 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 d56785ca..00ac04e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "q-table", - "version": "3.1.5", + "version": "3.1.6", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2613b614..62174b55 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "q-table", - "version": "3.1.5", + "version": "3.1.6", "description": "", "main": "index.js", "scripts": { From 31523f3cf6193854a87177ed6aa7ee86bab89967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20K=C3=BCng?= Date: Wed, 14 Aug 2019 10:46:06 +0200 Subject: [PATCH 3/3] update npm packages --- package-lock.json | 27 +++++++++++++++++---------- package.json | 6 +++--- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index 00ac04e8..8e196861 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,11 +55,18 @@ } }, "@hapi/boom": { - "version": "7.4.2", - "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.2.tgz", - "integrity": "sha512-T2CYcTI0AqSvC6YC7keu/fh9LVSMzfoMLharBnPbOwmc+Cexj9joIc5yNDKunaxYq9LPuOwMS0f2B3S1tFQUNw==", + "version": "7.4.3", + "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.3.tgz", + "integrity": "sha512-3di+R+BcGS7HKy67Zi6mIga8orf67GdR0ubDEVBG1oqz3y9B70LewsuCMCSvWWLKlI6V1+266zqhYzjMrPGvZw==", "requires": { - "@hapi/hoek": "6.x.x" + "@hapi/hoek": "8.x.x" + }, + "dependencies": { + "@hapi/hoek": { + "version": "8.2.1", + "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-8.2.1.tgz", + "integrity": "sha512-JPiBy+oSmsq3St7XlipfN5pNA6bDJ1kpa73PrK/zR29CVClDVqy04AanM/M/qx5bSF+I61DdCfAvRrujau+zRg==" + } } }, "@hapi/bossy": { @@ -525,9 +532,9 @@ "dev": true }, "ajv": { - "version": "6.10.1", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.1.tgz", - "integrity": "sha512-w1YQaVGNC6t2UCPjEawK/vo/dG8OOrVtUmhBT1uJJYxbl5kU2Tj3v6LGqBcsysN1yhuCStJCCA3GqdvKY8sqXQ==", + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.10.2.tgz", + "integrity": "sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==", "requires": { "fast-deep-equal": "^2.0.1", "fast-json-stable-stringify": "^2.0.0", @@ -4519,9 +4526,9 @@ "dev": true }, "sass": { - "version": "1.22.3", - "resolved": "https://registry.npmjs.org/sass/-/sass-1.22.3.tgz", - "integrity": "sha512-9ECcSAEgGStxZkpOCT+Z8F6jEJq+jjPonxgX52QVNeJbRL1CmrjN9qcoO78gob6M1bY4ocGVwPWjGDNMeOgvbg==", + "version": "1.22.9", + "resolved": "https://registry.npmjs.org/sass/-/sass-1.22.9.tgz", + "integrity": "sha512-FzU1X2V8DlnqabrL4u7OBwD2vcOzNMongEJEx3xMEhWY/v26FFR3aG0hyeu2T965sfR0E9ufJwmG+Qjz78vFPQ==", "dev": true, "requires": { "chokidar": ">=2.0.0 <4.0.0" diff --git a/package.json b/package.json index 62174b55..5078508f 100644 --- a/package.json +++ b/package.json @@ -11,11 +11,11 @@ "author": "Beni Buess ", "license": "MIT", "dependencies": { - "@hapi/boom": "^7.4.2", + "@hapi/boom": "^7.4.3", "@hapi/hapi": "^18.3.1", "@hapi/inert": "^5.2.1", "@hapi/joi": "^15.1.0", - "ajv": "^6.10.1", + "ajv": "^6.10.2", "array2d": "0.0.5", "clone": "^2.1.2", "d3-format": "^1.3.2", @@ -31,6 +31,6 @@ "jsdom": "^15.1.1", "postcss": "^7.0.17", "postcss-import": "^12.0.1", - "sass": "^1.22.3" + "sass": "^1.22.9" } }