From dc8416a83f1dfbc35a1c26788b344c3876eb8196 Mon Sep 17 00:00:00 2001 From: Gerrit Birkeland Date: Sat, 1 May 2021 11:09:37 -0600 Subject: [PATCH] BREAKING CHANGE: Drop support for Node v10 It is no longer a supported LTS release! Finally. --- .eslintrc | 10 +--------- .github/workflows/ci.yml | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.eslintrc b/.eslintrc index ae4f22556..9f1ec340e 100644 --- a/.eslintrc +++ b/.eslintrc @@ -47,15 +47,7 @@ // Feel free to turn one of these back on and submit a PR! "@typescript-eslint/no-non-null-assertion": 0, - "@typescript-eslint/explicit-module-boundary-types": 0, - - "no-restricted-syntax": [ - "error", - { - "selector": "ImportDeclaration[source.value=/^node:/]", - "message": "This will break on Node 10" - } - ] + "@typescript-eslint/explicit-module-boundary-types": 0 }, "overrides": [ { diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd154f627..df6f42146 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: ["10", "12", "14"] + node: ["12", "14", "16"] name: Node ${{ matrix.node }} steps: - name: Checkout repository diff --git a/package.json b/package.json index 54cff97df..6ca87f76d 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "url": "https://github.com/TypeStrong/TypeDoc/issues" }, "engines": { - "node": ">= 10.8.0" + "node": ">= 12.20.0" }, "dependencies": { "handlebars": "^4.7.7",