From 267dd4e17c93efc755e40a4645510fdf70b9ebb8 Mon Sep 17 00:00:00 2001 From: xamgore Date: Sat, 3 Apr 2021 22:38:29 +0300 Subject: [PATCH 1/3] Drop support for node.js engines below v10 It's a common practice to drop support for non-LTS Node versions, as it allows to reduce the maintenance burden. See more at: https://nodejs.org/en/about/releases/ --- Makefile | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cbebe656..e1393322 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ JSON=amqp-rabbitmq-0.9.1.json RABBITMQ_CODEGEN=https://raw.githubusercontent.com/rabbitmq/rabbitmq-codegen AMQP_JSON=$(RABBITMQ_CODEGEN)/$(RABBITMQ_SRC_VERSION)/$(JSON) -NODEJS_VERSIONS='0.8' '0.9' '0.10' '0.11' '0.12' '1.8.4' '2.5' '3.3' '4.9' '5.12' '6.17' '8.17' '9.11' '10.21' '11.15' '12.18' '13.14' '14.5' '15.8' +NODEJS_VERSIONS='10.21' '11.15' '12.18' '13.14' '14.5' '15.8' MOCHA=./node_modules/.bin/mocha _MOCHA=./node_modules/.bin/_mocha diff --git a/package.json b/package.json index 0b204642..2a652356 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/squaremo/amqp.node.git" }, "engines": { - "node": ">=0.8 <=15" + "node": ">=10 <=15" }, "dependencies": { "bitsyntax": "~0.1.0", From eff849c79342ba01737e11c0defc1322a1350766 Mon Sep 17 00:00:00 2001 From: Igor Strebezhev Date: Thu, 22 Apr 2021 13:53:52 +0300 Subject: [PATCH 2/3] Remove the upper bound of node engines --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2a652356..7126fbd3 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/squaremo/amqp.node.git" }, "engines": { - "node": ">=10 <=15" + "node": ">=10" }, "dependencies": { "bitsyntax": "~0.1.0", From bb752adf0792cd7e2f5b0ff44e573eb0133c41d7 Mon Sep 17 00:00:00 2001 From: Igor Strebezhev Date: Fri, 14 May 2021 23:19:41 +0300 Subject: [PATCH 3/3] Alter supported nodejs versions in readme --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index dbe09b02..fa3d659d 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,7 @@ * [API reference][gh-pages-apiref] * [Examples from RabbitMQ tutorials][tutes] -A library for making AMQP 0-9-1 clients for Node.JS, and an AMQP 0-9-1 -client for Node.JS v0.8-0.12, v4-v15, and the intervening io.js -releases. +A library for making AMQP 0-9-1 clients for Node.JS, and an AMQP 0-9-1 client for Node.JS v10+. This library does not implement [AMQP 1.0](https://github.com/squaremo/amqp.node/issues/63) or [AMQP