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/README.md b/README.md index 0ba8ef22..3a1c4768 100644 --- a/README.md +++ b/README.md @@ -85,13 +85,21 @@ $ 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 | **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 diff --git a/package.json b/package.json index bb93d2c8..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", @@ -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",