From 1147566722bd344af1c4b0da87b51fcbfe0f5488 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 18 May 2019 21:39:38 -0400 Subject: [PATCH 01/90] build: eslint@5.16.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d74acbc..f372bec 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "mime-db": ">= 1.40.0 < 2" }, "devDependencies": { - "eslint": "5.15.2", + "eslint": "5.16.0", "eslint-config-standard": "12.0.0", "eslint-plugin-import": "2.16.0", "eslint-plugin-markdown": "1.0.0", From 47211f5b63f770d1bf035f774f7eebb69366a480 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 18 May 2019 21:42:36 -0400 Subject: [PATCH 02/90] build: nyc@14.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f372bec..a2c17c4 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "eslint-plugin-promise": "4.0.1", "eslint-plugin-standard": "4.0.0", "mocha": "6.1.4", - "nyc": "14.0.0" + "nyc": "14.1.1" }, "engines": { "node": ">= 0.6" From 626a608778dd4ebbc294c06d05dbbe6a05acf104 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 18 May 2019 21:43:32 -0400 Subject: [PATCH 03/90] build: Node.js@8.16 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7753777..ad85d30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ node_js: - "5.12" - "6.17" - "7.10" - - "8.15" + - "8.16" - "9.11" - "10.15" - "11.12" From f4b9161674ca5004f2570380c5920f70304b20dc Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 18 May 2019 21:47:26 -0400 Subject: [PATCH 04/90] build: Node.js@11.15 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ad85d30..2488491 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ node_js: - "8.16" - "9.11" - "10.15" - - "11.12" + - "11.15" - "12.0" sudo: false dist: trusty From 75f251386026af67652ea0d79678211b2a132b2c Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 19 May 2019 00:05:31 -0400 Subject: [PATCH 05/90] build: Node.js@12.2 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2488491..76c2b80 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ node_js: - "9.11" - "10.15" - "11.15" - - "12.0" + - "12.2" sudo: false dist: trusty env: From 3c6b80c72fbf10bf2ae83a5639897cbb7797ed39 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 19 May 2019 00:05:18 -0400 Subject: [PATCH 06/90] build: eslint-plugin-import@2.17.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a2c17c4..e927046 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "devDependencies": { "eslint": "5.16.0", "eslint-config-standard": "12.0.0", - "eslint-plugin-import": "2.16.0", + "eslint-plugin-import": "2.17.2", "eslint-plugin-markdown": "1.0.0", "eslint-plugin-node": "8.0.1", "eslint-plugin-promise": "4.0.1", From 25575071b11079a11fb215c6f23e8dedbda99abf Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 19 May 2019 00:05:58 -0400 Subject: [PATCH 07/90] build: eslint-plugin-promise@4.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e927046..e4d24dd 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "eslint-plugin-import": "2.17.2", "eslint-plugin-markdown": "1.0.0", "eslint-plugin-node": "8.0.1", - "eslint-plugin-promise": "4.0.1", + "eslint-plugin-promise": "4.1.1", "eslint-plugin-standard": "4.0.0", "mocha": "6.1.4", "nyc": "14.1.1" From 176be3131084f2139a684c9e4d85f45cbf2b2366 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 23 Jun 2019 20:38:01 -0400 Subject: [PATCH 08/90] build: Node.js@10.16 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 76c2b80..e26c7e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ node_js: - "7.10" - "8.16" - "9.11" - - "10.15" + - "10.16" - "11.15" - "12.2" sudo: false From c966e8dfd613cf3d130441a6aa6d7525c6798311 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 23 Jun 2019 20:39:40 -0400 Subject: [PATCH 09/90] build: Node.js@12.4 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e26c7e0..c99e77a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ node_js: - "9.11" - "10.16" - "11.15" - - "12.2" + - "12.4" sudo: false dist: trusty env: From 29c225e5792e4ad80e29faa4480a74546b493885 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 26 Jun 2019 00:31:04 -0400 Subject: [PATCH 10/90] build: eslint-plugin-import@2.18.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e4d24dd..3d53b53 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "devDependencies": { "eslint": "5.16.0", "eslint-config-standard": "12.0.0", - "eslint-plugin-import": "2.17.2", + "eslint-plugin-import": "2.18.0", "eslint-plugin-markdown": "1.0.0", "eslint-plugin-node": "8.0.1", "eslint-plugin-promise": "4.1.1", From 144b47959b9ed06b23b2c1fe75a1b93ed0db5183 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 26 Jun 2019 00:33:09 -0400 Subject: [PATCH 11/90] build: eslint-plugin-promise@4.2.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3d53b53..f42e0e7 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "eslint-plugin-import": "2.18.0", "eslint-plugin-markdown": "1.0.0", "eslint-plugin-node": "8.0.1", - "eslint-plugin-promise": "4.1.1", + "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.0", "mocha": "6.1.4", "nyc": "14.1.1" From 5ea7ba92be986b14b5f75e74ccdbd8e2cea262e6 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Tue, 30 Jul 2019 19:27:31 -0400 Subject: [PATCH 12/90] build: Node.js@12.7 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c99e77a..a66146f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ node_js: - "9.11" - "10.16" - "11.15" - - "12.4" + - "12.7" sudo: false dist: trusty env: From 95dc977e2884b979d00857e0b3298a783a6dd536 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Tue, 30 Jul 2019 19:34:36 -0400 Subject: [PATCH 13/90] lint: apply standard 13 style --- .travis.yml | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a66146f..6a69e88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,7 +65,7 @@ before_install: # Setup Node.js version-specific dependencies - | # Configure eslint for linting - if node_version_lt '6.0'; then npm_remove_module_re '^eslint(-|$)' + if node_version_lt '8.0'; then npm_remove_module_re '^eslint(-|$)' fi - | # Configure mocha for testing diff --git a/package.json b/package.json index f42e0e7..328593f 100644 --- a/package.json +++ b/package.json @@ -19,11 +19,11 @@ "mime-db": ">= 1.40.0 < 2" }, "devDependencies": { - "eslint": "5.16.0", - "eslint-config-standard": "12.0.0", + "eslint": "6.1.0", + "eslint-config-standard": "13.0.1", "eslint-plugin-import": "2.18.0", "eslint-plugin-markdown": "1.0.0", - "eslint-plugin-node": "8.0.1", + "eslint-plugin-node": "9.1.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.0", "mocha": "6.1.4", From fdb3a2833061bc5f6db8510ed0b7e315920f2248 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 31 Jul 2019 01:22:25 -0400 Subject: [PATCH 14/90] build: mocha@6.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 328593f..e5a2c4a 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "eslint-plugin-node": "9.1.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.0", - "mocha": "6.1.4", + "mocha": "6.2.0", "nyc": "14.1.1" }, "engines": { From b0dec6fc13037adca3d177a0f945d834eb3db42f Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 31 Jul 2019 01:24:57 -0400 Subject: [PATCH 15/90] build: eslint-plugin-import@2.18.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e5a2c4a..c4a35e1 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "devDependencies": { "eslint": "6.1.0", "eslint-config-standard": "13.0.1", - "eslint-plugin-import": "2.18.0", + "eslint-plugin-import": "2.18.2", "eslint-plugin-markdown": "1.0.0", "eslint-plugin-node": "9.1.0", "eslint-plugin-promise": "4.2.1", From a2d06781f06b2ba2773595db11ce2bcc6e51d7db Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 25 Aug 2019 17:21:28 -0400 Subject: [PATCH 16/90] build: Node.js@12.9 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6a69e88..4bdbe52 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ node_js: - "9.11" - "10.16" - "11.15" - - "12.7" + - "12.9" sudo: false dist: trusty env: From 9b22b990c144ca0ffb42b1d426fa38370df95ea9 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Tue, 27 Aug 2019 19:40:38 -0400 Subject: [PATCH 17/90] build: eslint@6.2.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c4a35e1..ee569dd 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "mime-db": ">= 1.40.0 < 2" }, "devDependencies": { - "eslint": "6.1.0", + "eslint": "6.2.2", "eslint-config-standard": "13.0.1", "eslint-plugin-import": "2.18.2", "eslint-plugin-markdown": "1.0.0", From e383b7c89e53ab8088317d608604d43dcefef135 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Tue, 27 Aug 2019 19:43:29 -0400 Subject: [PATCH 18/90] build: eslint-plugin-standard@4.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ee569dd..a59e196 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "eslint-plugin-markdown": "1.0.0", "eslint-plugin-node": "9.1.0", "eslint-plugin-promise": "4.2.1", - "eslint-plugin-standard": "4.0.0", + "eslint-plugin-standard": "4.0.1", "mocha": "6.2.0", "nyc": "14.1.1" }, From 5734614c071b12ee0ebde132a5fdd3fee043a8a0 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 30 Aug 2019 13:37:52 -0400 Subject: [PATCH 19/90] deps: mime-db@'>= 1.41.0 < 2' --- HISTORY.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index a93085b..7adfcfd 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,9 @@ +unreleased +========== + + * deps: mime-db@'>= 1.41.0 < 2' + - Mark `font/ttf` as compressible + 2.0.17 / 2019-04-24 =================== diff --git a/package.json b/package.json index a59e196..9f349db 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "content-type" ], "dependencies": { - "mime-db": ">= 1.40.0 < 2" + "mime-db": ">= 1.41.0 < 2" }, "devDependencies": { "eslint": "6.2.2", From c0d25f22b4f83c7ecc17ecd276319dd39cf2e421 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 30 Aug 2019 13:39:01 -0400 Subject: [PATCH 20/90] build: eslint-plugin-node@9.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9f349db..5eaedc0 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "eslint-config-standard": "13.0.1", "eslint-plugin-import": "2.18.2", "eslint-plugin-markdown": "1.0.0", - "eslint-plugin-node": "9.1.0", + "eslint-plugin-node": "9.2.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", "mocha": "6.2.0", From 5fde4a69631817be85c8f3706bd6fc115358fdcc Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 30 Aug 2019 13:40:36 -0400 Subject: [PATCH 21/90] lint: apply standard 14 style --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5eaedc0..684fde9 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "devDependencies": { "eslint": "6.2.2", - "eslint-config-standard": "13.0.1", + "eslint-config-standard": "14.1.0", "eslint-plugin-import": "2.18.2", "eslint-plugin-markdown": "1.0.0", "eslint-plugin-node": "9.2.0", From cbde938dce3745b553c879f3d26dec5e5256c8e8 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 18 Sep 2019 13:02:00 -0400 Subject: [PATCH 22/90] build: Node.js@12.10 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4bdbe52..f7ff4e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ node_js: - "9.11" - "10.16" - "11.15" - - "12.9" + - "12.10" sudo: false dist: trusty env: From 3b4f475da4542ad4a2e37f1ffb823f1b4fed03bc Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 18 Sep 2019 13:08:14 -0400 Subject: [PATCH 23/90] build: eslint@6.4.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 684fde9..751f36c 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "mime-db": ">= 1.41.0 < 2" }, "devDependencies": { - "eslint": "6.2.2", + "eslint": "6.4.0", "eslint-config-standard": "14.1.0", "eslint-plugin-import": "2.18.2", "eslint-plugin-markdown": "1.0.0", From 487450175dd6732e98c5e50c0d9b0a1604806e30 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Tue, 29 Oct 2019 23:52:25 -0400 Subject: [PATCH 24/90] build: eslint-plugin-markdown@1.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 751f36c..0868f47 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "eslint": "6.4.0", "eslint-config-standard": "14.1.0", "eslint-plugin-import": "2.18.2", - "eslint-plugin-markdown": "1.0.0", + "eslint-plugin-markdown": "1.0.1", "eslint-plugin-node": "9.2.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", From 3f0123fe6e5a2d8204db2a043add0ef46795feb3 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 30 Oct 2019 00:03:31 -0400 Subject: [PATCH 25/90] build: eslint-plugin-node@10.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0868f47..ee96858 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "eslint-config-standard": "14.1.0", "eslint-plugin-import": "2.18.2", "eslint-plugin-markdown": "1.0.1", - "eslint-plugin-node": "9.2.0", + "eslint-plugin-node": "10.0.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", "mocha": "6.2.0", From 49f84514c84f751bd68754e8c88154a71c10cfce Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 30 Oct 2019 00:08:03 -0400 Subject: [PATCH 26/90] build: mocha@6.2.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ee96858..5565cd3 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "eslint-plugin-node": "10.0.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", - "mocha": "6.2.0", + "mocha": "6.2.2", "nyc": "14.1.1" }, "engines": { From 7af9351c11e06705ac4a03f303c7b5fd09772ecc Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 30 Oct 2019 00:12:27 -0400 Subject: [PATCH 27/90] build: Node.js@10.17 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f7ff4e6..fcf78e0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ node_js: - "7.10" - "8.16" - "9.11" - - "10.16" + - "10.17" - "11.15" - "12.10" sudo: false From 9f17ebbcd3c9fbc2bc9037341eef6340a930dff1 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Thu, 31 Oct 2019 15:33:32 -0400 Subject: [PATCH 28/90] build: Node.js@12.13 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fcf78e0..e991954 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ node_js: - "9.11" - "10.17" - "11.15" - - "12.10" + - "12.13" sudo: false dist: trusty env: From 7297241854cd84c8709c2f051373943535c91b21 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Thu, 31 Oct 2019 18:02:10 -0400 Subject: [PATCH 29/90] build: eslint@6.6.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5565cd3..06497f6 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "mime-db": ">= 1.41.0 < 2" }, "devDependencies": { - "eslint": "6.4.0", + "eslint": "6.6.0", "eslint-config-standard": "14.1.0", "eslint-plugin-import": "2.18.2", "eslint-plugin-markdown": "1.0.1", From 546f05d3f2f50e10e685568526a2e00e32862ce5 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Thu, 31 Oct 2019 18:10:52 -0400 Subject: [PATCH 30/90] deps: mime-db@'>= 1.42.0 < 2' --- HISTORY.md | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 7adfcfd..ba04900 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,8 +1,9 @@ unreleased ========== - * deps: mime-db@'>= 1.41.0 < 2' + * deps: mime-db@'>= 1.42.0 < 2' - Mark `font/ttf` as compressible + - Remove compressible from `multipart/mixed` 2.0.17 / 2019-04-24 =================== diff --git a/package.json b/package.json index 06497f6..1812c23 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "content-type" ], "dependencies": { - "mime-db": ">= 1.41.0 < 2" + "mime-db": ">= 1.42.0 < 2" }, "devDependencies": { "eslint": "6.6.0", From 1e9041b8eab93560879cd68ba8cac2b127a8aada Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 29 Dec 2019 20:11:09 -0500 Subject: [PATCH 31/90] build: eslint@6.8.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1812c23..c4185f7 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "mime-db": ">= 1.42.0 < 2" }, "devDependencies": { - "eslint": "6.6.0", + "eslint": "6.8.0", "eslint-config-standard": "14.1.0", "eslint-plugin-import": "2.18.2", "eslint-plugin-markdown": "1.0.1", From e00b5e6d03b4894655a7958d72a3779c5c91b0f4 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 29 Dec 2019 20:13:53 -0500 Subject: [PATCH 32/90] build: eslint-plugin-import@2.19.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c4185f7..d751704 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "devDependencies": { "eslint": "6.8.0", "eslint-config-standard": "14.1.0", - "eslint-plugin-import": "2.18.2", + "eslint-plugin-import": "2.19.1", "eslint-plugin-markdown": "1.0.1", "eslint-plugin-node": "10.0.0", "eslint-plugin-promise": "4.2.1", From 33e728bbc769bca4366da256f6654a6aa45f70e4 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 29 Dec 2019 20:17:13 -0500 Subject: [PATCH 33/90] build: eslint-plugin-node@11.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d751704..893ba33 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "eslint-config-standard": "14.1.0", "eslint-plugin-import": "2.19.1", "eslint-plugin-markdown": "1.0.1", - "eslint-plugin-node": "10.0.0", + "eslint-plugin-node": "11.0.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", "mocha": "6.2.2", From 000b7f2b0ec406c707772d7b02af1dfb3f21469c Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 29 Dec 2019 20:19:07 -0500 Subject: [PATCH 34/90] build: Node.js@8.17 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e991954..19d0fbf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ node_js: - "5.12" - "6.17" - "7.10" - - "8.16" + - "8.17" - "9.11" - "10.17" - "11.15" From c90c0f394343577cf6553f915327978246ea3adc Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Mon, 30 Dec 2019 00:07:42 -0500 Subject: [PATCH 35/90] build: Node.js@10.18 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 19d0fbf..3517e30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ node_js: - "7.10" - "8.17" - "9.11" - - "10.17" + - "10.18" - "11.15" - "12.13" sudo: false From 87e038014b6f716f69a2318f24698336430e02f0 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 1 Jan 2020 10:32:50 -0500 Subject: [PATCH 36/90] build: Node.js@12.14 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 3517e30..a8dfa01 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ node_js: - "9.11" - "10.18" - "11.15" - - "12.13" + - "12.14" sudo: false dist: trusty env: From 5b4d6d5e8197c8c9502c9f14a2cb3c462363e3d6 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 1 Jan 2020 10:38:36 -0500 Subject: [PATCH 37/90] build: support Node.js 13.x --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index a8dfa01..5ffc84b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ node_js: - "10.18" - "11.15" - "12.14" + - "13.5" sudo: false dist: trusty env: From 88167b3de7023e907fad6a0fbd77e06ed0f5f35a Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 1 Jan 2020 10:43:58 -0500 Subject: [PATCH 38/90] build: nyc@15.0.0 --- .travis.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5ffc84b..10f976f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,6 +80,7 @@ before_install: if node_version_lt '0.10'; then npm_remove_module_re '^nyc$' elif node_version_lt '4.0' ; then npm_use_module 'nyc' '10.3.2' elif node_version_lt '6.0' ; then npm_use_module 'nyc' '11.9.0' + elif node_version_lt '8.0' ; then npm_use_module 'nyc' '14.1.1' fi # Update Node.js modules - | # Prune & rebuild node_modules diff --git a/package.json b/package.json index 893ba33..9aeb6d7 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", "mocha": "6.2.2", - "nyc": "14.1.1" + "nyc": "15.0.0" }, "engines": { "node": ">= 0.6" From 1b97cbe7387da355d245d18ae17f31f81efbf5fd Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 5 Jan 2020 23:15:50 -0500 Subject: [PATCH 39/90] build: mocha@7.0.0 --- .travis.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 10f976f..69c1921 100644 --- a/.travis.yml +++ b/.travis.yml @@ -74,6 +74,7 @@ before_install: elif node_version_lt '0.10'; then npm_use_module 'mocha' '2.5.3' elif node_version_lt '4.0' ; then npm_use_module 'mocha' '3.5.3' elif node_version_lt '6.0' ; then npm_use_module 'mocha' '5.2.0' + elif node_version_lt '8.0' ; then npm_use_module 'mocha' '6.2.2' fi - | # Configure nyc for testing diff --git a/package.json b/package.json index 9aeb6d7..9a38c71 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "eslint-plugin-node": "11.0.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", - "mocha": "6.2.2", + "mocha": "7.0.0", "nyc": "15.0.0" }, "engines": { From e7a15e6f6f04e8e46e3778614790c4b19d61f35a Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 5 Jan 2020 23:16:23 -0500 Subject: [PATCH 40/90] deps: mime-db@'>= 1.43.0 < 2' --- HISTORY.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index ba04900..4d27df7 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,7 +1,7 @@ unreleased ========== - * deps: mime-db@'>= 1.42.0 < 2' + * deps: mime-db@'>= 1.43.0 < 2' - Mark `font/ttf` as compressible - Remove compressible from `multipart/mixed` diff --git a/package.json b/package.json index 9a38c71..aee4dd6 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "content-type" ], "dependencies": { - "mime-db": ">= 1.42.0 < 2" + "mime-db": ">= 1.43.0 < 2" }, "devDependencies": { "eslint": "6.8.0", From f4b72172c155b692c8407730e1bc41d2ca81e000 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 5 Jan 2020 23:38:37 -0500 Subject: [PATCH 41/90] 2.0.18 --- HISTORY.md | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 4d27df7..f204ef3 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,5 @@ -unreleased -========== +2.0.18 / 2020-01-05 +=================== * deps: mime-db@'>= 1.43.0 < 2' - Mark `font/ttf` as compressible diff --git a/package.json b/package.json index aee4dd6..ab582cb 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "compressible", "description": "Compressible Content-Type / mime checking", - "version": "2.0.17", + "version": "2.0.18", "contributors": [ "Douglas Christopher Wilson ", "Jonathan Ong (http://jongleberry.com)", From 9e7e23b8bfc0e1292d71c849d5ccceee90798ef9 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 2 Feb 2020 21:44:33 -0500 Subject: [PATCH 42/90] build: eslint-plugin-import@2.20.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ab582cb..498976c 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "devDependencies": { "eslint": "6.8.0", "eslint-config-standard": "14.1.0", - "eslint-plugin-import": "2.19.1", + "eslint-plugin-import": "2.20.0", "eslint-plugin-markdown": "1.0.1", "eslint-plugin-node": "11.0.0", "eslint-plugin-promise": "4.2.1", From 0759c8d7edb92971b37a5a973e8bc435c55979e0 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Mon, 3 Feb 2020 00:21:42 -0500 Subject: [PATCH 43/90] build: Node.js@13.7 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 69c1921..cf933e7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ node_js: - "10.18" - "11.15" - "12.14" - - "13.5" + - "13.7" sudo: false dist: trusty env: From 2d5b68dda9570842d56efc3455d06661e720c9f6 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Tue, 11 Feb 2020 19:47:20 -0500 Subject: [PATCH 44/90] build: Node.js@10.19 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index cf933e7..0f8a9b2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ node_js: - "7.10" - "8.17" - "9.11" - - "10.18" + - "10.19" - "11.15" - "12.14" - "13.7" From 1c375fb1c648a997eda184e0b8a6816a4697875b Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 12 Feb 2020 20:51:53 -0500 Subject: [PATCH 45/90] build: Node.js@12.16 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0f8a9b2..0d379ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ node_js: - "9.11" - "10.19" - "11.15" - - "12.14" + - "12.16" - "13.7" sudo: false dist: trusty From db7b381f01263df6a9ffbf598bc99f0b17445efc Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Thu, 13 Feb 2020 21:40:34 -0500 Subject: [PATCH 46/90] build: Node.js@13.8 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0d379ee..5346da3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ node_js: - "10.19" - "11.15" - "12.16" - - "13.7" + - "13.8" sudo: false dist: trusty env: From 591c2b8a1be2fb8dfca96674f3880faec63f9737 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Mon, 2 Mar 2020 15:44:59 -0500 Subject: [PATCH 47/90] build: mocha@7.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 498976c..5a02b71 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "eslint-plugin-node": "11.0.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", - "mocha": "7.0.0", + "mocha": "7.1.0", "nyc": "15.0.0" }, "engines": { From daffc1afa1ac5d3008ba615d00e72f40b7eb510a Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Thu, 5 Mar 2020 21:22:55 -0500 Subject: [PATCH 48/90] build: eslint-plugin-markdown@1.0.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5a02b71..3cd9a90 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "eslint": "6.8.0", "eslint-config-standard": "14.1.0", "eslint-plugin-import": "2.20.0", - "eslint-plugin-markdown": "1.0.1", + "eslint-plugin-markdown": "1.0.2", "eslint-plugin-node": "11.0.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", From c2f62bd3f958dbf0435ecfea3d843b33cc56ae7d Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Mon, 27 Apr 2020 18:59:23 -0400 Subject: [PATCH 49/90] build: deps: mime-db@'>= 1.44.0 < 2' --- HISTORY.md | 5 +++++ package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index f204ef3..9740a9f 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,8 @@ +unreleased +========== + + * deps: mime-db@'>= 1.44.0 < 2' + 2.0.18 / 2020-01-05 =================== diff --git a/package.json b/package.json index 3cd9a90..826d044 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "content-type" ], "dependencies": { - "mime-db": ">= 1.43.0 < 2" + "mime-db": ">= 1.44.0 < 2" }, "devDependencies": { "eslint": "6.8.0", From f6cdf902ab3dc13dd1ad21459a715605c2490e32 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Tue, 28 Apr 2020 19:50:38 -0400 Subject: [PATCH 50/90] build: support Node.js 14.x --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 5346da3..9fbb36b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,7 @@ node_js: - "11.15" - "12.16" - "13.8" + - "14.0" sudo: false dist: trusty env: From 79851f758cc518ce4e9281786c637cad8722f7b6 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 8 May 2020 23:50:03 -0400 Subject: [PATCH 51/90] build: mocha@7.1.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 826d044..16a36d3 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "eslint-plugin-node": "11.0.0", "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", - "mocha": "7.1.0", + "mocha": "7.1.2", "nyc": "15.0.0" }, "engines": { From 15fca2f384992da4f15b643a188d8c3cf06df053 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 8 May 2020 23:58:15 -0400 Subject: [PATCH 52/90] build: remove deprecated Travis CI directive --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9fbb36b..8d2e30b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,6 @@ node_js: - "12.16" - "13.8" - "14.0" -sudo: false dist: trusty env: global: From ed86ac19dc8148a0d02b73177c5e64a68cf875da Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 9 May 2020 00:08:00 -0400 Subject: [PATCH 53/90] build: nyc@15.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 16a36d3..a5ce7e8 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "eslint-plugin-promise": "4.2.1", "eslint-plugin-standard": "4.0.1", "mocha": "7.1.2", - "nyc": "15.0.0" + "nyc": "15.0.1" }, "engines": { "node": ">= 0.6" From 5ed3f14fb90b5cec25ffbef9a98799d347b1e728 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 9 May 2020 00:12:24 -0400 Subject: [PATCH 54/90] build: eslint-config-standard@14.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a5ce7e8..8b216eb 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ }, "devDependencies": { "eslint": "6.8.0", - "eslint-config-standard": "14.1.0", + "eslint-config-standard": "14.1.1", "eslint-plugin-import": "2.20.0", "eslint-plugin-markdown": "1.0.2", "eslint-plugin-node": "11.0.0", From e8825e591ad796b6f995bcafadd55f81da7ed14a Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 6 Oct 2021 19:20:20 -0400 Subject: [PATCH 55/90] build: use GitHub Actions instead of Travis CI --- .github/workflows/ci.yml | 189 +++++++++++++++++++++++++++++++++++++++ .travis.yml | 112 ----------------------- README.md | 6 +- package.json | 2 +- 4 files changed, 193 insertions(+), 116 deletions(-) create mode 100644 .github/workflows/ci.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..68dcc3a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,189 @@ +name: ci + +on: +- pull_request +- push + +jobs: + test: + runs-on: ubuntu-18.04 + strategy: + matrix: + name: + - Node.js 0.6 + - Node.js 0.8 + - Node.js 0.10 + - Node.js 0.12 + - io.js 1.x + - io.js 2.x + - io.js 3.x + - Node.js 4.x + - Node.js 5.x + - Node.js 6.x + - Node.js 7.x + - Node.js 8.x + - Node.js 9.x + - Node.js 10.x + - Node.js 11.x + - Node.js 12.x + - Node.js 13.x + - Node.js 14.x + + include: + - name: Node.js 0.6 + node-version: "0.6" + npm-i: mocha@1.21.5 + npm-rm: nyc + + - name: Node.js 0.8 + node-version: "0.8" + npm-i: mocha@2.5.3 + npm-rm: nyc + + - name: Node.js 0.10 + node-version: "0.10" + npm-i: mocha@3.5.3 nyc@10.3.2 + + - name: Node.js 0.12 + node-version: "0.12" + npm-i: mocha@3.5.3 nyc@10.3.2 + + - name: io.js 1.x + node-version: "1.8" + npm-i: mocha@3.5.3 nyc@10.3.2 + + - name: io.js 2.x + node-version: "2.5" + npm-i: mocha@3.5.3 nyc@10.3.2 + + - name: io.js 3.x + node-version: "3.3" + npm-i: mocha@3.5.3 nyc@10.3.2 + + - name: Node.js 4.x + node-version: "4.9" + npm-i: mocha@5.2.0 nyc@11.9.0 + + - name: Node.js 5.x + node-version: "5.12" + npm-i: mocha@5.2.0 nyc@11.9.0 + + - name: Node.js 6.x + node-version: "6.17" + npm-i: mocha@6.2.2 nyc@14.1.1 + + - name: Node.js 7.x + node-version: "7.10" + npm-i: mocha@6.2.2 nyc@14.1.1 + + - name: Node.js 8.x + node-version: "8.17" + + - name: Node.js 9.x + node-version: "9.11" + + - name: Node.js 10.x + node-version: "10.19" + + - name: Node.js 11.x + node-version: "11.15" + + - name: Node.js 12.x + node-version: "12.16" + + - name: Node.js 13.x + node-version: "13.8" + + - name: Node.js 14.x + node-version: "14.0" + + steps: + - uses: actions/checkout@v2 + + - name: Install Node.js ${{ matrix.node-version }} + shell: bash -eo pipefail -l {0} + run: | + if [[ "${{ matrix.node-version }}" == 0.6* ]]; then + sudo apt-get install g++-4.8 gcc-4.8 libssl1.0-dev + export CC=/usr/bin/gcc-4.8 + export CXX=/usr/bin/g++-4.8 + fi + nvm install --default ${{ matrix.node-version }} + if [[ "${{ matrix.node-version }}" == 0.* && "$(cut -d. -f2 <<< "${{ matrix.node-version }}")" -lt 10 ]]; then + nvm install --alias=npm 0.10 + nvm use ${{ matrix.node-version }} + if [[ "$(npm -v)" == 1.1.* ]]; then + nvm exec npm npm install -g npm@1.1 + ln -fs "$(which npm)" "$(dirname "$(nvm which npm)")/npm" + else + sed -i '1s;^.*$;'"$(printf '#!%q' "$(nvm which npm)")"';' "$(readlink -f "$(which npm)")" + fi + npm config set strict-ssl false + fi + dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH" + + - name: Configure npm + run: npm config set shrinkwrap false + + - name: Remove npm module(s) ${{ matrix.npm-rm }} + run: npm rm --silent --save-dev ${{ matrix.npm-rm }} + if: matrix.npm-rm != '' + + - name: Install npm module(s) ${{ matrix.npm-i }} + run: npm install --save-dev ${{ matrix.npm-i }} + if: matrix.npm-i != '' + + - name: Setup Node.js version-specific dependencies + shell: bash + run: | + # eslint for linting + # - remove on Node.js < 8 + if [[ "$(cut -d. -f1 <<< "${{ matrix.node-version }}")" -lt 8 ]]; then + node -pe 'Object.keys(require("./package").devDependencies).join("\n")' | \ + grep -E '^eslint(-|$)' | \ + sort -r | \ + xargs -n1 npm rm --silent --save-dev + fi + + - name: Install Node.js dependencies + run: npm install + + - name: List environment + id: list_env + shell: bash + run: | + echo "node@$(node -v)" + echo "npm@$(npm -v)" + npm -s ls ||: + (npm -s ls --depth=0 ||:) | awk -F'[ @]' 'NR>1 && $2 { print "::set-output name=" $2 "::" $3 }' + + - name: Run tests + shell: bash + run: | + if npm -ps ls nyc | grep -q nyc; then + npm run test-ci + else + npm test + fi + + - name: Lint code + if: steps.list_env.outputs.eslint != '' + run: npm run lint + + - name: Collect code coverage + uses: coverallsapp/github-action@master + if: steps.list_env.outputs.nyc != '' + with: + github-token: ${{ secrets.github_token }} + flag-name: run-${{ matrix.test_number }} + parallel: true + + coverage: + needs: test + runs-on: ubuntu-latest + steps: + - name: Upload code coverage + uses: coverallsapp/github-action@master + with: + github-token: ${{ secrets.github_token }} + parallel-finished: true diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8d2e30b..0000000 --- a/.travis.yml +++ /dev/null @@ -1,112 +0,0 @@ -language: node_js -node_js: - - "0.6" - - "0.8" - - "0.10" - - "0.12" - - "1.8" - - "2.5" - - "3.3" - - "4.9" - - "5.12" - - "6.17" - - "7.10" - - "8.17" - - "9.11" - - "10.19" - - "11.15" - - "12.16" - - "13.8" - - "14.0" -dist: trusty -env: - global: - # Suppress Node.js 0.6 compile warnings - - "CXXCOM='$CXX -o $TARGET -c $CXXFLAGS $CCFLAGS -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-narrowing -Wno-strict-overflow $_CCCOMCOM $SOURCES'" -cache: - directories: - - node_modules -before_install: - - | - # Setup utility functions - function node_version_lt () { - [[ "$(v "$TRAVIS_NODE_VERSION")" -lt "$(v "${1}")" ]] - } - function npm_module_installed () { - npm -lsp ls | grep -Fq "$(pwd)/node_modules/${1}:${1}@" - } - function npm_remove_module_re () { - node -e ' - fs = require("fs"); - p = JSON.parse(fs.readFileSync("package.json", "utf8")); - r = RegExp(process.argv[1]); - for (k in p.devDependencies) { - if (r.test(k)) delete p.devDependencies[k]; - } - fs.writeFileSync("package.json", JSON.stringify(p, null, 2) + "\n"); - ' "$@" - } - function npm_use_module () { - node -e ' - fs = require("fs"); - p = JSON.parse(fs.readFileSync("package.json", "utf8")); - p.devDependencies[process.argv[1]] = process.argv[2]; - fs.writeFileSync("package.json", JSON.stringify(p, null, 2) + "\n"); - ' "$@" - } - function v () { - tr '.' '\n' <<< "${1}" \ - | awk '{ printf "%03d", $0 }' \ - | sed 's/^0*//' - } - # Configure npm - - | - # Skip updating shrinkwrap / lock - npm config set shrinkwrap false - # Setup Node.js version-specific dependencies - - | - # Configure eslint for linting - if node_version_lt '8.0'; then npm_remove_module_re '^eslint(-|$)' - fi - - | - # Configure mocha for testing - if node_version_lt '0.8' ; then npm_use_module 'mocha' '1.21.5' - elif node_version_lt '0.10'; then npm_use_module 'mocha' '2.5.3' - elif node_version_lt '4.0' ; then npm_use_module 'mocha' '3.5.3' - elif node_version_lt '6.0' ; then npm_use_module 'mocha' '5.2.0' - elif node_version_lt '8.0' ; then npm_use_module 'mocha' '6.2.2' - fi - - | - # Configure nyc for testing - if node_version_lt '0.10'; then npm_remove_module_re '^nyc$' - elif node_version_lt '4.0' ; then npm_use_module 'nyc' '10.3.2' - elif node_version_lt '6.0' ; then npm_use_module 'nyc' '11.9.0' - elif node_version_lt '8.0' ; then npm_use_module 'nyc' '14.1.1' - fi # Update Node.js modules - - | - # Prune & rebuild node_modules - if [[ -d node_modules ]]; then - npm prune - npm rebuild - fi -before_script: - - | - # Contents of node_modules - npm -s ls ||: -script: - - | - # Run test script - if npm_module_installed 'nyc'; then npm run-script test-travis - else npm test - fi - - | - # Run linting, if eslint exists - if npm_module_installed 'eslint'; then npm run-script lint - fi -after_script: - - | - # Upload coverage to coveralls, if exists - if [[ -d .nyc_output ]]; then - npm install --save-dev coveralls@2 - nyc report --reporter=text-lcov | coveralls - fi diff --git a/README.md b/README.md index dc86ec0..b7643a0 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![NPM Version][npm-version-image]][npm-url] [![NPM Downloads][npm-downloads-image]][npm-url] [![Node.js Version][node-version-image]][node-version-url] -[![Build Status][travis-image]][travis-url] +[![Build Status][ci-image]][ci-url] [![Test Coverage][coveralls-image]][coveralls-url] Compressible `Content-Type` / `mime` checking. @@ -50,6 +50,8 @@ compressible('image/png') // => false [MIT](LICENSE) +[ci-image]: https://badgen.net/github/checks/jshttp/compressible/master?label=ci +[ci-url]: https://github.com/jshttp/compressible/actions?query=workflow%3Aci [coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/compressible/master [coveralls-url]: https://coveralls.io/r/jshttp/compressible?branch=master [node-version-image]: https://badgen.net/npm/node/compressible @@ -57,5 +59,3 @@ compressible('image/png') // => false [npm-downloads-image]: https://badgen.net/npm/dm/compressible [npm-url]: https://npmjs.org/package/compressible [npm-version-image]: https://badgen.net/npm/v/compressible -[travis-image]: https://badgen.net/travis/jshttp/compressible/master -[travis-url]: https://travis-ci.org/jshttp/compressible diff --git a/package.json b/package.json index 8b216eb..125d625 100644 --- a/package.json +++ b/package.json @@ -41,8 +41,8 @@ "scripts": { "lint": "eslint --plugin markdown --ext js,md .", "test": "mocha --reporter spec --bail --check-leaks test/", + "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test", - "test-travis": "nyc --reporter=text npm test", "version": "node scripts/version-history.js && git add HISTORY.md" } } From cda5aa305726bd29ee1a004a81567f42db297e5e Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 6 Oct 2021 19:28:56 -0400 Subject: [PATCH 56/90] build: Node.js@10.24 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68dcc3a..963ae38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,7 +83,7 @@ jobs: node-version: "9.11" - name: Node.js 10.x - node-version: "10.19" + node-version: "10.24" - name: Node.js 11.x node-version: "11.15" From d72380a9182dbec47b0b11a4786c361d15602c1b Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 6 Oct 2021 19:33:21 -0400 Subject: [PATCH 57/90] build: Node.js@12.22 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 963ae38..7267f59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,7 +89,7 @@ jobs: node-version: "11.15" - name: Node.js 12.x - node-version: "12.16" + node-version: "12.22" - name: Node.js 13.x node-version: "13.8" From dd4e032d9b1b991f4eca2ab6fee058b480a19c4a Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Thu, 7 Oct 2021 00:12:14 -0400 Subject: [PATCH 58/90] build: Node.js@13.14 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7267f59..dec23ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,7 +92,7 @@ jobs: node-version: "12.22" - name: Node.js 13.x - node-version: "13.8" + node-version: "13.14" - name: Node.js 14.x node-version: "14.0" From 52f91e2cfbc8146c8d6386583a2c9b2e7dec9772 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 9 Oct 2021 21:44:37 -0400 Subject: [PATCH 59/90] build: eslint-plugin-import@2.24.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 125d625..eeb042f 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "devDependencies": { "eslint": "6.8.0", "eslint-config-standard": "14.1.1", - "eslint-plugin-import": "2.20.0", + "eslint-plugin-import": "2.24.2", "eslint-plugin-markdown": "1.0.2", "eslint-plugin-node": "11.0.0", "eslint-plugin-promise": "4.2.1", From a9f64c7fd939bbaed3e70edc7531523467cddde8 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 9 Oct 2021 21:46:42 -0400 Subject: [PATCH 60/90] build: eslint-plugin-promise@4.3.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index eeb042f..c28067c 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "eslint-plugin-import": "2.24.2", "eslint-plugin-markdown": "1.0.2", "eslint-plugin-node": "11.0.0", - "eslint-plugin-promise": "4.2.1", + "eslint-plugin-promise": "4.3.1", "eslint-plugin-standard": "4.0.1", "mocha": "7.1.2", "nyc": "15.0.1" From 9d007b23702295be2c4e1fcba6fed8b0179c0bda Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 9 Oct 2021 21:47:49 -0400 Subject: [PATCH 61/90] build: eslint-plugin-node@11.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c28067c..d2a21f9 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "eslint-config-standard": "14.1.1", "eslint-plugin-import": "2.24.2", "eslint-plugin-markdown": "1.0.2", - "eslint-plugin-node": "11.0.0", + "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "4.3.1", "eslint-plugin-standard": "4.0.1", "mocha": "7.1.2", From 67597b96bb8bf45d381dcc04f4b44eb34552d402 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 10 Oct 2021 00:32:13 -0400 Subject: [PATCH 62/90] build: support Node.js 15.x --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dec23ea..ac8fce6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,7 @@ jobs: - Node.js 12.x - Node.js 13.x - Node.js 14.x + - Node.js 15.x include: - name: Node.js 0.6 @@ -97,6 +98,9 @@ jobs: - name: Node.js 14.x node-version: "14.0" + - name: Node.js 15.x + node-version: "15.14" + steps: - uses: actions/checkout@v2 From 482788aff06154cceddc95043088652a41d6ff1b Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 10 Oct 2021 00:37:01 -0400 Subject: [PATCH 63/90] build: support Node.js 16.x --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac8fce6..b458289 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,6 +29,7 @@ jobs: - Node.js 13.x - Node.js 14.x - Node.js 15.x + - Node.js 16.x include: - name: Node.js 0.6 @@ -101,6 +102,9 @@ jobs: - name: Node.js 15.x node-version: "15.14" + - name: Node.js 16.x + node-version: "16.11" + steps: - uses: actions/checkout@v2 From 05376406801f9ce66f34a84c374f374a3e421c50 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sun, 10 Oct 2021 00:39:20 -0400 Subject: [PATCH 64/90] build: Node.js@14.18 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b458289..cb94c10 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -97,7 +97,7 @@ jobs: node-version: "13.14" - name: Node.js 14.x - node-version: "14.0" + node-version: "14.18" - name: Node.js 15.x node-version: "15.14" From 21846c65ebfe3cd73b024169cac80381d2334e02 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 15 Oct 2021 21:54:02 -0400 Subject: [PATCH 65/90] build: eslint@7.32.0 --- .github/workflows/ci.yml | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb94c10..2c1fe78 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -145,8 +145,8 @@ jobs: shell: bash run: | # eslint for linting - # - remove on Node.js < 8 - if [[ "$(cut -d. -f1 <<< "${{ matrix.node-version }}")" -lt 8 ]]; then + # - remove on Node.js < 10 + if [[ "$(cut -d. -f1 <<< "${{ matrix.node-version }}")" -lt 10 ]]; then node -pe 'Object.keys(require("./package").devDependencies).join("\n")' | \ grep -E '^eslint(-|$)' | \ sort -r | \ diff --git a/package.json b/package.json index d2a21f9..3f8510b 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "mime-db": ">= 1.44.0 < 2" }, "devDependencies": { - "eslint": "6.8.0", + "eslint": "7.32.0", "eslint-config-standard": "14.1.1", "eslint-plugin-import": "2.24.2", "eslint-plugin-markdown": "1.0.2", From 9187f523c127f24ed2d3fcf02cc9b3e00f4ea0ff Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 15 Oct 2021 21:58:04 -0400 Subject: [PATCH 66/90] build: eslint-plugin-markdown@2.2.1 --- .eslintrc.yml | 9 ++++++++- README.md | 4 ---- package.json | 4 ++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index 1eece14..cf3015f 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -1,2 +1,9 @@ root: true -extends: standard +extends: + - standard + - plugin:markdown/recommended +plugins: + - markdown +overrides: + - files: '**/*.md' + processor: 'markdown/markdown' diff --git a/README.md b/README.md index b7643a0..e2fa45d 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,6 @@ $ npm install compressible ## API - - ```js var compressible = require('compressible') ``` @@ -39,8 +37,6 @@ this module will fallback to `true` for the following types: If this module is not sure if a type is specifically compressible or specifically uncompressible, `undefined` is returned. - - ```js compressible('text/html') // => true compressible('image/png') // => false diff --git a/package.json b/package.json index 3f8510b..9e8838a 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "eslint": "7.32.0", "eslint-config-standard": "14.1.1", "eslint-plugin-import": "2.24.2", - "eslint-plugin-markdown": "1.0.2", + "eslint-plugin-markdown": "2.2.1", "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "4.3.1", "eslint-plugin-standard": "4.0.1", @@ -39,7 +39,7 @@ "index.js" ], "scripts": { - "lint": "eslint --plugin markdown --ext js,md .", + "lint": "eslint .", "test": "mocha --reporter spec --bail --check-leaks test/", "test-ci": "nyc --reporter=lcovonly --reporter=text npm test", "test-cov": "nyc --reporter=html --reporter=text npm test", From 1f94f0b2aad7902d77a71c69ea6e0a4eb351c646 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 16 Oct 2021 01:17:36 -0400 Subject: [PATCH 67/90] build: eslint-plugin-import@2.25.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9e8838a..d69041d 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", - "eslint-plugin-import": "2.24.2", + "eslint-plugin-import": "2.25.2", "eslint-plugin-markdown": "2.2.1", "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "4.3.1", From a049b92e27bf0e63d4d94927012ea9f082d0fb18 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 16 Oct 2021 01:19:01 -0400 Subject: [PATCH 68/90] build: eslint-plugin-standard@4.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d69041d..931afea 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "eslint-plugin-markdown": "2.2.1", "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "4.3.1", - "eslint-plugin-standard": "4.0.1", + "eslint-plugin-standard": "4.1.0", "mocha": "7.1.2", "nyc": "15.0.1" }, From 543bf77620db2b6a99fc5527a9551232a4796a0e Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Mon, 18 Oct 2021 19:54:17 -0400 Subject: [PATCH 69/90] build: nyc@15.1.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 931afea..97e1d36 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "eslint-plugin-promise": "4.3.1", "eslint-plugin-standard": "4.1.0", "mocha": "7.1.2", - "nyc": "15.0.1" + "nyc": "15.1.0" }, "engines": { "node": ">= 0.6" From 018afc551f997bb08a384c82af05ee8f51133946 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Mon, 18 Oct 2021 19:57:51 -0400 Subject: [PATCH 70/90] build: mocha@7.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 97e1d36..a175f0b 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "4.3.1", "eslint-plugin-standard": "4.1.0", - "mocha": "7.1.2", + "mocha": "7.2.0", "nyc": "15.1.0" }, "engines": { From 5d7d135668ca5148df990d928a5d384feea164f1 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Thu, 11 Nov 2021 22:43:37 -0500 Subject: [PATCH 71/90] deps: mime-db@'>= 1.45.0 < 2' --- HISTORY.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 9740a9f..8e5e6cc 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,7 +1,7 @@ unreleased ========== - * deps: mime-db@'>= 1.44.0 < 2' + * deps: mime-db@'>= 1.45.0 < 2' 2.0.18 / 2020-01-05 =================== diff --git a/package.json b/package.json index a175f0b..b3d0da6 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "content-type" ], "dependencies": { - "mime-db": ">= 1.44.0 < 2" + "mime-db": ">= 1.45.0 < 2" }, "devDependencies": { "eslint": "7.32.0", From 85623ff6dc8204f8525de2cf0a67cbf7fcdafecb Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Thu, 11 Nov 2021 22:49:00 -0500 Subject: [PATCH 72/90] build: mocha@8.4.0 --- .github/workflows/ci.yml | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2c1fe78..3e412df 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -80,9 +80,11 @@ jobs: - name: Node.js 8.x node-version: "8.17" + npm-i: mocha@7.2.0 - name: Node.js 9.x node-version: "9.11" + npm-i: mocha@7.2.0 - name: Node.js 10.x node-version: "10.24" diff --git a/package.json b/package.json index b3d0da6..41c8262 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "4.3.1", "eslint-plugin-standard": "4.1.0", - "mocha": "7.2.0", + "mocha": "8.4.0", "nyc": "15.1.0" }, "engines": { From 711da455579dde06edb9b212f56a01893bddd77b Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 19 Nov 2021 22:10:09 -0500 Subject: [PATCH 73/90] build: support Node.js 17.x --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e412df..6acbf08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: - Node.js 14.x - Node.js 15.x - Node.js 16.x + - Node.js 17.x include: - name: Node.js 0.6 @@ -107,6 +108,9 @@ jobs: - name: Node.js 16.x node-version: "16.11" + - name: Node.js 17.x + node-version: "17.1" + steps: - uses: actions/checkout@v2 From e198e2d55fe2f2a723e64feea9931f6a89d1ea09 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 19 Nov 2021 22:12:33 -0500 Subject: [PATCH 74/90] build: Node.js@16.13 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6acbf08..33e3436 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -106,7 +106,7 @@ jobs: node-version: "15.14" - name: Node.js 16.x - node-version: "16.11" + node-version: "16.13" - name: Node.js 17.x node-version: "17.1" From 8f867578a0b7fdedfff3e68fd13355d9b9d41d15 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 19 Nov 2021 22:14:08 -0500 Subject: [PATCH 75/90] deps: mime-db@'>= 1.46.0 < 2' --- HISTORY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 8e5e6cc..1dc54e1 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,7 +1,7 @@ unreleased ========== - * deps: mime-db@'>= 1.45.0 < 2' + * deps: mime-db@'>= 1.46.0 < 2' 2.0.18 / 2020-01-05 =================== From 82a3d42eda6039e105c8b0114d2ae6722b5af9cc Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Tue, 30 Nov 2021 00:31:01 -0500 Subject: [PATCH 76/90] build: eslint-plugin-import@2.25.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 41c8262..71463fd 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", - "eslint-plugin-import": "2.25.2", + "eslint-plugin-import": "2.25.3", "eslint-plugin-markdown": "2.2.1", "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "4.3.1", From 43b66b656b1dbf07c108fa35a6d529e2e7cad09f Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Tue, 30 Nov 2021 00:34:00 -0500 Subject: [PATCH 77/90] build: eslint-plugin-promise@5.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 71463fd..d192762 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "eslint-plugin-import": "2.25.3", "eslint-plugin-markdown": "2.2.1", "eslint-plugin-node": "11.1.0", - "eslint-plugin-promise": "4.3.1", + "eslint-plugin-promise": "5.1.1", "eslint-plugin-standard": "4.1.0", "mocha": "8.4.0", "nyc": "15.1.0" From ca02428ad187cee9600bf5fecbda9aef16d110f0 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 4 Dec 2021 18:55:51 -0500 Subject: [PATCH 78/90] deps: mime-db@'>= 1.47.0 < 2' --- HISTORY.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 1dc54e1..ebc50de 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,7 +1,7 @@ unreleased ========== - * deps: mime-db@'>= 1.46.0 < 2' + * deps: mime-db@'>= 1.47.0 < 2' 2.0.18 / 2020-01-05 =================== diff --git a/package.json b/package.json index d192762..c7309a2 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "content-type" ], "dependencies": { - "mime-db": ">= 1.45.0 < 2" + "mime-db": ">= 1.47.0 < 2" }, "devDependencies": { "eslint": "7.32.0", From f5367644f1ede22199d33a88ce79d836ec3a0055 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Sat, 4 Dec 2021 18:59:16 -0500 Subject: [PATCH 79/90] build: mocha@9.1.3 --- .github/workflows/ci.yml | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 33e3436..fec57fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,9 +89,11 @@ jobs: - name: Node.js 10.x node-version: "10.24" + npm-i: mocha@8.4.0 - name: Node.js 11.x node-version: "11.15" + npm-i: mocha@8.4.0 - name: Node.js 12.x node-version: "12.22" diff --git a/package.json b/package.json index c7309a2..80a22c7 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "5.1.1", "eslint-plugin-standard": "4.1.0", - "mocha": "8.4.0", + "mocha": "9.1.3", "nyc": "15.1.0" }, "engines": { From 51c5ffeeb5bf23c4fc585f459058e92829c65006 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 29 Dec 2021 21:40:05 -0500 Subject: [PATCH 80/90] build: Node.js@17.3 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fec57fd..4f63e96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,7 +111,7 @@ jobs: node-version: "16.13" - name: Node.js 17.x - node-version: "17.1" + node-version: "17.3" steps: - uses: actions/checkout@v2 From c2096295f53fc332e2bb41fb56e1b768b34bda4d Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 29 Dec 2021 21:42:17 -0500 Subject: [PATCH 81/90] build: eslint-plugin-promise@5.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 80a22c7..4c8a7cc 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "eslint-plugin-import": "2.25.3", "eslint-plugin-markdown": "2.2.1", "eslint-plugin-node": "11.1.0", - "eslint-plugin-promise": "5.1.1", + "eslint-plugin-promise": "5.2.0", "eslint-plugin-standard": "4.1.0", "mocha": "9.1.3", "nyc": "15.1.0" From ba9c01d1e34f3fb07ac17c64e0889b1caf98367c Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Wed, 29 Dec 2021 21:47:09 -0500 Subject: [PATCH 82/90] deps: mime-db@'>= 1.51.0 < 2' --- HISTORY.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index ebc50de..2e91ba4 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,7 +1,7 @@ unreleased ========== - * deps: mime-db@'>= 1.47.0 < 2' + * deps: mime-db@'>= 1.51.0 < 2' 2.0.18 / 2020-01-05 =================== diff --git a/package.json b/package.json index 4c8a7cc..25162df 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "content-type" ], "dependencies": { - "mime-db": ">= 1.47.0 < 2" + "mime-db": ">= 1.51.0 < 2" }, "devDependencies": { "eslint": "7.32.0", From 17fdd62bb841e7758621e3d4c4a3e42d1cab4408 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Thu, 6 Jan 2022 18:49:00 -0500 Subject: [PATCH 83/90] build: eslint-plugin-import@2.25.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 25162df..a865d3a 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "devDependencies": { "eslint": "7.32.0", "eslint-config-standard": "14.1.1", - "eslint-plugin-import": "2.25.3", + "eslint-plugin-import": "2.25.4", "eslint-plugin-markdown": "2.2.1", "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "5.2.0", From 414da0b3c7da6b1e5b1765a603f747b2222c9971 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Mon, 7 Feb 2022 21:50:00 -0500 Subject: [PATCH 84/90] build: Node.js@14.19 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f63e96..343f0e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -102,7 +102,7 @@ jobs: node-version: "13.14" - name: Node.js 14.x - node-version: "14.18" + node-version: "14.19" - name: Node.js 15.x node-version: "15.14" From c2efe90e9cd0a38056217dc8b2a3919c65202a3e Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Mon, 7 Feb 2022 21:52:00 -0500 Subject: [PATCH 85/90] build: Node.js@17.4 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 343f0e4..062d606 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,7 +111,7 @@ jobs: node-version: "16.13" - name: Node.js 17.x - node-version: "17.3" + node-version: "17.4" steps: - uses: actions/checkout@v2 From 3541c6b493cb0d7b3ed14deafdc57bf1aa28346e Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Mon, 7 Feb 2022 21:59:00 -0500 Subject: [PATCH 86/90] build: Node.js@16.14 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 062d606..8bcfc16 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,7 +108,7 @@ jobs: node-version: "15.14" - name: Node.js 16.x - node-version: "16.13" + node-version: "16.14" - name: Node.js 17.x node-version: "17.4" From 870fa0957cf742c2f4a168e4c68de1ee85134140 Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Tue, 15 Feb 2022 00:43:00 -0500 Subject: [PATCH 87/90] build: mocha@9.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a865d3a..d226f08 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "5.2.0", "eslint-plugin-standard": "4.1.0", - "mocha": "9.1.3", + "mocha": "9.2.0", "nyc": "15.1.0" }, "engines": { From 89b61014fb82f0c64b42acef12d161dee48fb58e Mon Sep 17 00:00:00 2001 From: Douglas Christopher Wilson Date: Fri, 18 Mar 2022 19:33:00 -0400 Subject: [PATCH 88/90] deps: mime-db@'>= 1.52.0 < 2' --- HISTORY.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 2e91ba4..f6889ca 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,7 +1,7 @@ unreleased ========== - * deps: mime-db@'>= 1.51.0 < 2' + * deps: mime-db@'>= 1.52.0 < 2' 2.0.18 / 2020-01-05 =================== diff --git a/package.json b/package.json index d226f08..106006f 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "content-type" ], "dependencies": { - "mime-db": ">= 1.51.0 < 2" + "mime-db": ">= 1.52.0 < 2" }, "devDependencies": { "eslint": "7.32.0", From 1a65b3af0316671aefc7c4310ed7aa385247d3c4 Mon Sep 17 00:00:00 2001 From: Carlos Serrano Date: Tue, 9 Apr 2024 11:51:41 +0200 Subject: [PATCH 89/90] build: update Node.js versions and pin dependencies (#20) * PR: https://github.com/jshttp/compressible/pull/20 * pin nyc versions for node 8 & 9 and fix npm config * remove node version 0.6 from ci gh action. It won't build on ubuntu 20 * add missing node versions to ci action --- .github/workflows/ci.yml | 48 +++++++++++++++++++++++++++------------- 1 file changed, 33 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8bcfc16..e8bd31f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,11 +6,10 @@ on: jobs: test: - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 strategy: matrix: name: - - Node.js 0.6 - Node.js 0.8 - Node.js 0.10 - Node.js 0.12 @@ -31,13 +30,12 @@ jobs: - Node.js 15.x - Node.js 16.x - Node.js 17.x + - Node.js 18.x + - Node.js 19.x + - Node.js 20.x + - Node.js 21.x include: - - name: Node.js 0.6 - node-version: "0.6" - npm-i: mocha@1.21.5 - npm-rm: nyc - - name: Node.js 0.8 node-version: "0.8" npm-i: mocha@2.5.3 @@ -73,19 +71,19 @@ jobs: - name: Node.js 6.x node-version: "6.17" - npm-i: mocha@6.2.2 nyc@14.1.1 + npm-i: mocha@6.2.3 nyc@14.1.1 - name: Node.js 7.x node-version: "7.10" - npm-i: mocha@6.2.2 nyc@14.1.1 + npm-i: mocha@6.2.3 nyc@14.1.1 - name: Node.js 8.x node-version: "8.17" - npm-i: mocha@7.2.0 + npm-i: mocha@7.2.0 nyc@14.1.1 - name: Node.js 9.x node-version: "9.11" - npm-i: mocha@7.2.0 + npm-i: mocha@7.2.0 nyc@14.1.1 - name: Node.js 10.x node-version: "10.24" @@ -108,11 +106,23 @@ jobs: node-version: "15.14" - name: Node.js 16.x - node-version: "16.14" + node-version: "16.13" - name: Node.js 17.x node-version: "17.4" + - name: Node.js 18.x + node-version: "18.20" + + - name: Node.js 19.x + node-version: "19.9" + + - name: Node.js 20.x + node-version: "20.12" + + - name: Node.js 21.x + node-version: "21.7" + steps: - uses: actions/checkout@v2 @@ -139,7 +149,15 @@ jobs: dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH" - name: Configure npm - run: npm config set shrinkwrap false + run: | + if [[ "$(npm config get package-lock)" == "true" ]]; then + npm config set package-lock false + else + npm config set shrinkwrap false + fi + + - name: Remove non-test npm modules + run: npm rm --silent --save-dev csv-parse raw-body stream-to-array - name: Remove npm module(s) ${{ matrix.npm-rm }} run: npm rm --silent --save-dev ${{ matrix.npm-rm }} @@ -190,7 +208,7 @@ jobs: uses: coverallsapp/github-action@master if: steps.list_env.outputs.nyc != '' with: - github-token: ${{ secrets.github_token }} + github-token: ${{ secrets.GITHUB_TOKEN }} flag-name: run-${{ matrix.test_number }} parallel: true @@ -201,5 +219,5 @@ jobs: - name: Upload code coverage uses: coverallsapp/github-action@master with: - github-token: ${{ secrets.github_token }} + github-token: ${{ secrets.GITHUB_TOKEN }} parallel-finished: true From 58478edd6d9b6556b6833b8bdd305fe85edaf74d Mon Sep 17 00:00:00 2001 From: Carlos Serrano Date: Tue, 9 Apr 2024 21:35:44 +0200 Subject: [PATCH 90/90] ci: add ossf scorecard pipeline (#21) PR: https://github.com/jshttp/compressible/pull/21 --- .github/workflows/scorecard.yml | 72 +++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .github/workflows/scorecard.yml diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml new file mode 100644 index 0000000..3bfd85a --- /dev/null +++ b/.github/workflows/scorecard.yml @@ -0,0 +1,72 @@ +# This workflow uses actions that are not certified by GitHub. They are provided +# by a third-party and are governed by separate terms of service, privacy +# policy, and support documentation. + +name: Scorecard supply-chain security +on: + # For Branch-Protection check. Only the default branch is supported. See + # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection + branch_protection_rule: + # To guarantee Maintained check is occasionally updated. See + # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained + schedule: + - cron: '16 21 * * 1' + push: + branches: [ "master" ] + +# Declare default permissions as read only. +permissions: read-all + +jobs: + analysis: + name: Scorecard analysis + runs-on: ubuntu-latest + permissions: + # Needed to upload the results to code-scanning dashboard. + security-events: write + # Needed to publish results and get a badge (see publish_results below). + id-token: write + # Uncomment the permissions below if installing in a private repository. + # contents: read + # actions: read + + steps: + - name: "Checkout code" + uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 + with: + persist-credentials: false + + - name: "Run analysis" + uses: ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d # v2.0.6 + with: + results_file: results.sarif + results_format: sarif + # (Optional) "write" PAT token. Uncomment the `repo_token` line below if: + # - you want to enable the Branch-Protection check on a *public* repository, or + # - you are installing Scorecard on a *private* repository + # To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat. + # repo_token: ${{ secrets.SCORECARD_TOKEN }} + + # Public repositories: + # - Publish results to OpenSSF REST API for easy access by consumers + # - Allows the repository to include the Scorecard badge. + # - See https://github.com/ossf/scorecard-action#publishing-results. + # For private repositories: + # - `publish_results` will always be set to `false`, regardless + # of the value entered here. + publish_results: true + + # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF + # format to the repository Actions tab. + - name: "Upload artifact" + uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + with: + name: SARIF file + path: results.sarif + retention-days: 5 + + # Upload the results to GitHub's code scanning dashboard. + - name: "Upload to code-scanning" + uses: github/codeql-action/upload-sarif@2f93e4319b2f04a2efc38fa7f78bd681bc3f7b2f # v2.23.2 + with: + sarif_file: results.sarif \ No newline at end of file