From 1313f1bf62046e7a2676b1343113df79936186ed Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Fri, 17 Jun 2022 11:07:22 +0200 Subject: [PATCH 1/2] Drop support for Node.js 12 This is a preparation for the update of unified-args. --- .github/workflows/main.yml | 4 ++-- packages/remark-cli/readme.md | 4 ++-- packages/remark-parse/readme.md | 4 ++-- packages/remark-stringify/readme.md | 2 +- packages/remark/readme.md | 4 ++-- readme.md | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3d44a2230..66f36ce74 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,8 +18,8 @@ jobs: strategy: matrix: node: - - lts/erbium - - node + - lts/fermium + - lts/gallium canary: name: canary / ${{matrix.package}} / ${{matrix.node}} on ${{matrix.os}} runs-on: ${{matrix.os}} diff --git a/packages/remark-cli/readme.md b/packages/remark-cli/readme.md index 93c571319..07536edc2 100644 --- a/packages/remark-cli/readme.md +++ b/packages/remark-cli/readme.md @@ -47,7 +47,7 @@ If not, you can always use [`remark`][remark-core] itself manually in a script. ## Install This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). -In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]: +In Node.js (version 14.14+, or 16.0+), install with [npm][]: ```sh npm install remark-cli @@ -281,7 +281,7 @@ Earlier wins (so in the above file structure `folder/.remarkrc.js` wins over Projects maintained by the unified collective are compatible with all maintained versions of Node.js. -As of now, that is Node.js 12.20+, 14.14+, and 16.0+. +As of now, that is Node.js 14.14+, and 16.0+. Our projects sometimes work with older versions, but this is not guaranteed. ## Security diff --git a/packages/remark-parse/readme.md b/packages/remark-parse/readme.md index 960347661..1f7765f53 100644 --- a/packages/remark-parse/readme.md +++ b/packages/remark-parse/readme.md @@ -71,7 +71,7 @@ If you want to handle syntax trees manually, you can use ## Install This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). -In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]: +In Node.js (version 14.14+, or 16.0+), install with [npm][]: ```sh npm install remark-parse @@ -227,7 +227,7 @@ There are no extra exported types. Projects maintained by the unified collective are compatible with all maintained versions of Node.js. -As of now, that is Node.js 12.20+, 14.14+, and 16.0+. +As of now, that is Node.js 14.14+, and 16.0+. Our projects sometimes work with older versions, but this is not guaranteed. ## Security diff --git a/packages/remark-stringify/readme.md b/packages/remark-stringify/readme.md index 405ce3264..e6e7f0816 100644 --- a/packages/remark-stringify/readme.md +++ b/packages/remark-stringify/readme.md @@ -63,7 +63,7 @@ If you want to handle syntax trees manually, you can use ## Install This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). -In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]: +In Node.js (version 14.14+, or 16.0+), install with [npm][]: ```sh npm install remark-stringify diff --git a/packages/remark/readme.md b/packages/remark/readme.md index fb76b3b73..004b08fd3 100644 --- a/packages/remark/readme.md +++ b/packages/remark/readme.md @@ -59,7 +59,7 @@ line, you can use [`remark-cli`][remark-cli]. ## Install This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). -In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]: +In Node.js (version 14.14+, or 16.0+), install with [npm][]: ```sh npm install remark @@ -212,7 +212,7 @@ There are no extra exported types. Projects maintained by the unified collective are compatible with all maintained versions of Node.js. -As of now, that is Node.js 12.20+, 14.14+, and 16.0+. +As of now, that is Node.js 14.14+, and 16.0+. Our projects sometimes work with older versions, but this is not guaranteed. ## Security diff --git a/readme.md b/readme.md index bffe80654..6642ca825 100644 --- a/readme.md +++ b/readme.md @@ -379,7 +379,7 @@ Types for mdast are available in [`@types/mdast`][types-mdast]. Projects maintained by the unified collective are compatible with all maintained versions of Node.js. -As of now, that is Node.js 12.20+, 14.14+, and 16.0+. +As of now, that is Node.js 14.14+, and 16.0+. Our projects sometimes work with older versions, but this is not guaranteed. ## Security From 8d1cf14b51983897eed026f6500054361cf8e22d Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Thu, 23 Jun 2022 11:06:45 +0200 Subject: [PATCH 2/2] Revert changes readmes Node.js 12 support is only dropped for `remark-cli`. --- packages/remark-parse/readme.md | 4 ++-- packages/remark-stringify/readme.md | 2 +- packages/remark/readme.md | 4 ++-- readme.md | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/remark-parse/readme.md b/packages/remark-parse/readme.md index 1f7765f53..960347661 100644 --- a/packages/remark-parse/readme.md +++ b/packages/remark-parse/readme.md @@ -71,7 +71,7 @@ If you want to handle syntax trees manually, you can use ## Install This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). -In Node.js (version 14.14+, or 16.0+), install with [npm][]: +In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]: ```sh npm install remark-parse @@ -227,7 +227,7 @@ There are no extra exported types. Projects maintained by the unified collective are compatible with all maintained versions of Node.js. -As of now, that is Node.js 14.14+, and 16.0+. +As of now, that is Node.js 12.20+, 14.14+, and 16.0+. Our projects sometimes work with older versions, but this is not guaranteed. ## Security diff --git a/packages/remark-stringify/readme.md b/packages/remark-stringify/readme.md index e6e7f0816..405ce3264 100644 --- a/packages/remark-stringify/readme.md +++ b/packages/remark-stringify/readme.md @@ -63,7 +63,7 @@ If you want to handle syntax trees manually, you can use ## Install This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). -In Node.js (version 14.14+, or 16.0+), install with [npm][]: +In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]: ```sh npm install remark-stringify diff --git a/packages/remark/readme.md b/packages/remark/readme.md index 004b08fd3..fb76b3b73 100644 --- a/packages/remark/readme.md +++ b/packages/remark/readme.md @@ -59,7 +59,7 @@ line, you can use [`remark-cli`][remark-cli]. ## Install This package is [ESM only](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). -In Node.js (version 14.14+, or 16.0+), install with [npm][]: +In Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]: ```sh npm install remark @@ -212,7 +212,7 @@ There are no extra exported types. Projects maintained by the unified collective are compatible with all maintained versions of Node.js. -As of now, that is Node.js 14.14+, and 16.0+. +As of now, that is Node.js 12.20+, 14.14+, and 16.0+. Our projects sometimes work with older versions, but this is not guaranteed. ## Security diff --git a/readme.md b/readme.md index 6642ca825..bffe80654 100644 --- a/readme.md +++ b/readme.md @@ -379,7 +379,7 @@ Types for mdast are available in [`@types/mdast`][types-mdast]. Projects maintained by the unified collective are compatible with all maintained versions of Node.js. -As of now, that is Node.js 14.14+, and 16.0+. +As of now, that is Node.js 12.20+, 14.14+, and 16.0+. Our projects sometimes work with older versions, but this is not guaranteed. ## Security