From 6fdbf0b0c4725c8d706160df60a1e4109f87080a Mon Sep 17 00:00:00 2001 From: Thomas Lindner <5178550+tclindner@users.noreply.github.com> Date: Sat, 5 Mar 2022 11:51:10 -0600 Subject: [PATCH] Drop support for node 12 (#309) * Drop node 12 support * Bump dep --- .github/workflows/ci.yml | 4 +- .github/workflows/prerelease.yml | 2 +- .github/workflows/release.yml | 2 +- CONTRIBUTING.md | 2 +- README.md | 2 +- package-lock.json | 114 ++----------------------------- package.json | 6 +- 7 files changed, 16 insertions(+), 116 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d4a98b4..f10b0036 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3.0.0 with: - node-version: '12.x' + node-version: '14.x' - run: npm ci --no-progress - run: npm run lint @@ -27,7 +27,7 @@ jobs: strategy: matrix: - node: [12, 14] + node: [14, 16] os: [ubuntu-latest, windows-latest] steps: diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index a8d16d0d..4cfcf9d2 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3.0.0 with: - node-version: '12.x' + node-version: '14.x' registry-url: 'https://registry.npmjs.org' - run: npm ci --no-progress --production - run: npm version --no-push --no-git-tag-version --yes ${{ github.event.release.tag_name }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7902c60b..001ab586 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3.0.0 with: - node-version: '12.x' + node-version: '14.x' registry-url: 'https://registry.npmjs.org' - run: npm ci --no-progress --production - run: npm version --no-push --no-git-tag-version --yes ${{ github.event.release.tag_name }} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 56aee5f2..26bb23ad 100755 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ ### Node -* [Node.js](https://nodejs.org/) - v12.0.0+ +* [Node.js](https://nodejs.org/) - v14.0.0+ * [npm](https://www.npmjs.com/) - v6.0.0+ ## Install project dependencies diff --git a/README.md b/README.md index d9025a79..8eb303b2 100755 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ First thing first, let's make sure you have the necessary pre-requisites. #### Node -* [Node.js](https://nodejs.org/) - v12.0.0+ +* [Node.js](https://nodejs.org/) - v14.0.0+ * [npm](http://npmjs.com) - v6.0.0+ ### Command diff --git a/package-lock.json b/package-lock.json index 6c45d85c..7baed271 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1665,28 +1665,6 @@ } } }, - "@typescript-eslint/experimental-utils": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-5.9.1.tgz", - "integrity": "sha512-cb1Njyss0mLL9kLXgS/eEY53SZQ9sT519wpX3i+U457l2UXRDuo87hgKfgRazmu9/tQb0x2sr3Y0yrU+Zz0y+w==", - "dev": true, - "requires": { - "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.9.1", - "@typescript-eslint/types": "5.9.1", - "@typescript-eslint/typescript-estree": "5.9.1", - "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0" - }, - "dependencies": { - "@types/json-schema": { - "version": "7.0.9", - "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.9.tgz", - "integrity": "sha512-qcUXuemtEu+E5wZSJHNxUXeCZhAfXKQ41D+duX+VYPde7xyEVZci+/oXKJL13tnRs9lR2pr4fod59GT6/X1/yQ==", - "dev": true - } - } - }, "@typescript-eslint/parser": { "version": "5.13.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.13.0.tgz", @@ -1766,16 +1744,6 @@ } } }, - "@typescript-eslint/scope-manager": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.9.1.tgz", - "integrity": "sha512-8BwvWkho3B/UOtzRyW07ffJXPaLSUKFBjpq8aqsRvu6HdEuzCY57+ffT7QoV4QXJXWSU1+7g3wE4AlgImmQ9pQ==", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.9.1", - "@typescript-eslint/visitor-keys": "5.9.1" - } - }, "@typescript-eslint/type-utils": { "version": "5.13.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.13.0.tgz", @@ -1798,56 +1766,6 @@ } } }, - "@typescript-eslint/types": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.9.1.tgz", - "integrity": "sha512-SsWegWudWpkZCwwYcKoDwuAjoZXnM1y2EbEerTHho19Hmm+bQ56QG4L4jrtCu0bI5STaRTvRTZmjprWlTw/5NQ==", - "dev": true - }, - "@typescript-eslint/typescript-estree": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.9.1.tgz", - "integrity": "sha512-gL1sP6A/KG0HwrahVXI9fZyeVTxEYV//6PmcOn1tD0rw8VhUWYeZeuWHwwhnewnvEMcHjhnJLOBhA9rK4vmb8A==", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.9.1", - "@typescript-eslint/visitor-keys": "5.9.1", - "debug": "^4.3.2", - "globby": "^11.0.4", - "is-glob": "^4.0.3", - "semver": "^7.3.5", - "tsutils": "^3.21.0" - }, - "dependencies": { - "debug": { - "version": "4.3.3", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz", - "integrity": "sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q==", - "dev": true, - "requires": { - "ms": "2.1.2" - } - }, - "is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "requires": { - "is-extglob": "^2.1.1" - } - }, - "semver": { - "version": "7.3.5", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", - "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==", - "dev": true, - "requires": { - "lru-cache": "^6.0.0" - } - } - } - }, "@typescript-eslint/utils": { "version": "5.13.0", "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.13.0.tgz", @@ -1944,24 +1862,6 @@ } } }, - "@typescript-eslint/visitor-keys": { - "version": "5.9.1", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.9.1.tgz", - "integrity": "sha512-Xh37pNz9e9ryW4TVdwiFzmr4hloty8cFj8GTWMXh3Z8swGwyQWeCcNgF0hm6t09iZd6eiZmIf4zHedQVP6TVtg==", - "dev": true, - "requires": { - "@typescript-eslint/types": "5.9.1", - "eslint-visitor-keys": "^3.0.0" - }, - "dependencies": { - "eslint-visitor-keys": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.2.0.tgz", - "integrity": "sha512-IOzT0X126zn7ALX0dwFiUQEdsfzrm4+ISsQS8nukaJXwEyYKRSnEIIDULYg1mCtGp7UUXgfGl7BIolXREQK+XQ==", - "dev": true - } - } - }, "abab": { "version": "2.0.5", "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", @@ -3315,12 +3215,12 @@ } }, "eslint-plugin-jest": { - "version": "25.7.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-25.7.0.tgz", - "integrity": "sha512-PWLUEXeeF7C9QGKqvdSbzLOiLTx+bno7/HC9eefePfEb257QFHg7ye3dh80AZVkaa/RQsBB1Q/ORQvg2X7F0NQ==", + "version": "26.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-26.1.1.tgz", + "integrity": "sha512-HRKOuPi5ADhza4ZBK5ufyNXy28bXXkib87w+pQqdvBhSTsamndh6sIAKPAUl8y0/n9jSWBdTPslrwtKWqkp8dA==", "dev": true, "requires": { - "@typescript-eslint/experimental-utils": "^5.0.0" + "@typescript-eslint/utils": "^5.10.0" } }, "eslint-plugin-prettier": { @@ -6978,9 +6878,9 @@ } }, "npm-package-json-lint-config-tc": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/npm-package-json-lint-config-tc/-/npm-package-json-lint-config-tc-4.1.0.tgz", - "integrity": "sha512-P33rs7G6tYxKZSRWhPwJ4qBJC3rNyVA5iaAwX62jO5BGBUlrpj71YsC3zjIx/smpFa7aAKvgzWUwSLY9MI2Psw==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/npm-package-json-lint-config-tc/-/npm-package-json-lint-config-tc-5.0.0.tgz", + "integrity": "sha512-VCjjhFSWHQbQsvIVOPcRoC32ftP1fPIL10pXFTnN+rZ84fH6LlR1UsHaTCdbLK+OIFf5+JfmiKYt8cI22+KM4w==", "dev": true }, "npm-run-path": { diff --git a/package.json b/package.json index f97fa624..303a4902 100644 --- a/package.json +++ b/package.json @@ -43,13 +43,13 @@ "eslint-formatter-pretty": "^4.1.0", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-import": "^2.25.4", - "eslint-plugin-jest": "^25.7.0", + "eslint-plugin-jest": "^26.1.1", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-unicorn": "^41.0.0", "is-plain-obj": "^3.0.0", "jest": "^27.5.1", "npm-package-json-lint": "^5.4.2", - "npm-package-json-lint-config-tc": "^4.1.0", + "npm-package-json-lint-config-tc": "^5.0.0", "prettier": "^2.5.1", "typescript": "^4.6.2" }, @@ -62,7 +62,7 @@ "eslint": "^8.0.0" }, "engines": { - "node": ">=12.0.0", + "node": ">=14.0.0", "npm": ">=6.0.0" }, "license": "MIT"