From 3f9153b3e5f6d87ec8f9d83bb0c986d705661402 Mon Sep 17 00:00:00 2001 From: tristen Date: Fri, 14 Sep 2018 15:44:47 -0400 Subject: [PATCH] Prepare v5.1.0 --- dist/sorts/tablesort.date.min.js | 7 +- dist/sorts/tablesort.dotsep.min.js | 7 +- dist/sorts/tablesort.filesize.min.js | 7 +- dist/sorts/tablesort.monthname.min.js | 7 +- dist/sorts/tablesort.number.min.js | 7 +- dist/tablesort.min.js | 7 +- package-lock.json | 836 +++++++++++++------------- package.json | 2 +- 8 files changed, 443 insertions(+), 437 deletions(-) diff --git a/dist/sorts/tablesort.date.min.js b/dist/sorts/tablesort.date.min.js index 03190fb..f705290 100644 --- a/dist/sorts/tablesort.date.min.js +++ b/dist/sorts/tablesort.date.min.js @@ -1,5 +1,6 @@ /*! - * tablesort v5.0.2 (2017-11-12) + * tablesort v5.1.0 (2018-09-14) * http://tristen.ca/tablesort/demo/ - * Copyright (c) 2017 ; Licensed MIT -*/!function(){var a=function(a){return a=a.replace(/\-/g,"/"),a=a.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2})/,"$1/$2/$3"),new Date(a).getTime()||-1};Tablesort.extend("date",function(b){return(b.search(/(Mon|Tue|Wed|Thu|Fri|Sat|Sun)\.?\,?\s*/i)!==-1||b.search(/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/)!==-1||b.search(/(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i)!==-1)&&!isNaN(a(b))},function(b,c){return b=b.toLowerCase(),c=c.toLowerCase(),a(c)-a(b)})}(); \ No newline at end of file + * Copyright (c) 2018 ; Licensed MIT +*/ +!function(){var a=function(a){return a=a.replace(/\-/g,"/"),a=a.replace(/(\d{1,2})[\/\-](\d{1,2})[\/\-](\d{2,4})/,"$3-$2-$1"),new Date(a).getTime()||-1};Tablesort.extend("date",function(b){return(-1!==b.search(/(Mon|Tue|Wed|Thu|Fri|Sat|Sun)\.?\,?\s*/i)||-1!==b.search(/\d{1,2}[\/\-]\d{1,2}[\/\-]\d{2,4}/)||-1!==b.search(/(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)/i))&&!isNaN(a(b))},function(b,c){return b=b.toLowerCase(),c=c.toLowerCase(),a(c)-a(b)})}(); \ No newline at end of file diff --git a/dist/sorts/tablesort.dotsep.min.js b/dist/sorts/tablesort.dotsep.min.js index 7aeb86a..30cb976 100644 --- a/dist/sorts/tablesort.dotsep.min.js +++ b/dist/sorts/tablesort.dotsep.min.js @@ -1,5 +1,6 @@ /*! - * tablesort v5.0.2 (2017-11-12) + * tablesort v5.1.0 (2018-09-14) * http://tristen.ca/tablesort/demo/ - * Copyright (c) 2017 ; Licensed MIT -*/Tablesort.extend("dotsep",function(a){return/^(\d+\.)+\d+$/.test(a)},function(a,b){a=a.split("."),b=b.split(".");for(var c,d,e=0,f=a.length;ed)return-1;if(cd)return-1;if(c0)if(a.tHead&&a.tHead.rows.length>0){for(e=0;e0&&l.push(k),m++;if(!l)return}for(m=0;m0)if(a.tHead&&a.tHead.rows.length>0){for(e=0;e0&&l.push(k),m++;if(!l)return}for(m=0;m=1.0.33-1 <1.1.0-0", + "xtend": ">=4.0.0 <4.1.0-0" }, "dependencies": { "readable-stream": { @@ -2979,10 +2979,10 @@ "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", "dev": true, "requires": { - "core-util-is": "1.0.2", - "inherits": "2.0.3", + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", "isarray": "0.0.1", - "string_decoder": "0.10.31" + "string_decoder": "~0.10.x" } } } @@ -2999,8 +2999,8 @@ "integrity": "sha1-KAS6vnEq0zeUWaz74kdGqywwP7w=", "dev": true, "requires": { - "spdx-correct": "1.0.2", - "spdx-expression-parse": "1.0.4" + "spdx-correct": "~1.0.0", + "spdx-expression-parse": "~1.0.0" } }, "xtend": { @@ -3017,13 +3017,13 @@ "integrity": "sha1-SJPdU+KApfWMDOswwsDrs7zVHh8=", "dev": true, "requires": { - "deep-equal": "0.2.2", - "defined": "0.0.0", - "glob": "3.2.11", - "inherits": "2.0.3", - "object-inspect": "0.4.0", - "resumer": "0.0.0", - "through": "2.3.8" + "deep-equal": "~0.2.0", + "defined": "~0.0.0", + "glob": "~3.2.9", + "inherits": "~2.0.1", + "object-inspect": "~0.4.0", + "resumer": "~0.0.0", + "through": "~2.3.4" }, "dependencies": { "deep-equal": { @@ -3044,8 +3044,8 @@ "integrity": "sha1-Spc/Y1uRkPcV0QmH1cAP0oFevj0=", "dev": true, "requires": { - "inherits": "2.0.3", - "minimatch": "0.3.0" + "inherits": "2", + "minimatch": "0.3" } }, "inherits": { @@ -3066,8 +3066,8 @@ "integrity": "sha1-J12O2qxPG7MyZHIInnlJyDlGmd0=", "dev": true, "requires": { - "lru-cache": "2.7.3", - "sigmund": "1.0.1" + "lru-cache": "2", + "sigmund": "~1.0.0" } }, "object-inspect": { @@ -3082,7 +3082,7 @@ "integrity": "sha1-8ej0YeQGS6Oegq883CqMiT0HZ1k=", "dev": true, "requires": { - "through": "2.3.8" + "through": "~2.3.4" } }, "sigmund": { @@ -3105,7 +3105,7 @@ "integrity": "sha1-C2GKVWW23qkL80JdBNVe3EdadWE=", "dev": true, "requires": { - "punycode": "1.4.1" + "punycode": "^1.4.1" }, "dependencies": { "punycode": { diff --git a/package.json b/package.json index bd82565..0e7bed1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tablesort", "description": "A sorting component for HTML tables", - "version": "5.0.2", + "version": "5.1.0", "author": "tristen", "license": "MIT", "main": "./src/tablesort.js",