From 385d59140f32ea61e59e203248edec584b834dc3 Mon Sep 17 00:00:00 2001 From: rektide de la faye Date: Fri, 23 Sep 2022 18:27:25 -0400 Subject: [PATCH 1/4] chore: bump eslint to ^6.8.0 for emcascriptVersion 2020 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bb93d2c8..573e05f6 100644 --- a/package.json +++ b/package.json @@ -124,7 +124,7 @@ "chai": "^4.2.0", "coveralls": "^3.0.3", "documentation": "^11.0.0", - "eslint": "^5.16.0", + "eslint": "^6.8.0", "eslint-config-prettier": "^4.3.0", "eslint-plugin-jsdoc": "^3.15.1", "eslint-plugin-prettier": "^3.1.0", From edf98822fb8f0019b73e10f2b7cab392adbf9e9e Mon Sep 17 00:00:00 2001 From: rektide de la faye Date: Fri, 23 Sep 2022 18:29:52 -0400 Subject: [PATCH 2/4] chore: drop support for node 10 and 12. resolves #1921. BREAKING CHANGE: drops support for node 10 and node 12 and updates lint rules --- .eslintrc.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 4a95582d..5879c03e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -12,7 +12,7 @@ var config = { es6: true }, parserOptions: { - ecmaVersion: 2018 + ecmaVersion: 2020 }, rules: {} }; diff --git a/package.json b/package.json index 573e05f6..370a7f56 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "report-latency": "./bin/report-latency" }, "engines": { - "node": ">=10.0.0" + "node": ">=14.0.0" }, "dependencies": { "assert-plus": "^1.0.0", From 1cc3e1afa92c7aa85d016c4195798273eb198faf Mon Sep 17 00:00:00 2001 From: rektide de la faye Date: Fri, 23 Sep 2022 18:35:56 -0400 Subject: [PATCH 3/4] chore: update supported Node versions in README. resolves #1882. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ba8ef22..09c37897 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,14 @@ $ npm install restify ## Supported Node Versions -Restify currently works on Node.js v14.x and v16.x. +Restify aims to support the Node.js LTS (Active and Maintenance) versions along with Node.js current stable version. + +| Node Release | Supported in Current Version | Notes | +| :--: | :---: | :---: | +| 18.x | **No** | Current stable. See [#1888](https://github.com/restify/node-restify/issues/1888) | +| 16.x | **Yes** | Active LTS | +| 14.x | **Yes** | Maintenance LTS | +| 12.x | **No** | Use restify v8.x, team will backport critical issues only | ## License From 82ec9c862e0771dd6d26b4ec1b2a95201fc6107f Mon Sep 17 00:00:00 2001 From: rektide de la faye Date: Fri, 23 Sep 2022 18:37:21 -0400 Subject: [PATCH 4/4] chore: update copyright year in README --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 09c37897..3a1c4768 100644 --- a/README.md +++ b/README.md @@ -89,16 +89,17 @@ Restify aims to support the Node.js LTS (Active and Maintenance) versions along | Node Release | Supported in Current Version | Notes | | :--: | :---: | :---: | -| 18.x | **No** | Current stable. See [#1888](https://github.com/restify/node-restify/issues/1888) | -| 16.x | **Yes** | Active LTS | -| 14.x | **Yes** | Maintenance LTS | +| 18.x | **Yes** | Restify v10.x required. | +| 16.x | **Yes** | | +| 14.x | **Yes** | | | 12.x | **No** | Use restify v8.x, team will backport critical issues only | +| 10.x | **No** | Use restify v8.x, team will backport critical issues only | ## License The MIT License (MIT) -Copyright (c) 2018 restify +Copyright (c) 2023 restify Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in