From 7d13580855b9d488297cca61a83d1c56a7b71345 Mon Sep 17 00:00:00 2001 From: Futago-za Ryuu Date: Sun, 29 Sep 2019 03:31:51 +0100 Subject: [PATCH] Drop support for Node 6 --- .eslintrc.js | 2 +- .github/workflows/main.yml | 2 +- CHANGELOG.md | 4 ++-- docs/guides/compatibility.md | 2 +- package.json | 2 +- packages/pegjs/package.json | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 1e644dd..c28ad8e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -4,7 +4,7 @@ module.exports = { "extends": [ - "@futagoza/node/6", + "@futagoza/node/8", // "@futagoza/typescript", "@futagoza/vue", diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7266567..9d45e3c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - node-version: [ 6.x, 8.x, 10.x, 12.x ] + node-version: [ 8.x, 10.x, 12.x ] steps: - uses: actions/checkout@master diff --git a/CHANGELOG.md b/CHANGELOG.md index a32f354..342bf9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,9 +9,9 @@ * [Implemented value plucking](https://github.com/pegjs/pegjs/commit/460f0cc5bc9e7b12e7830a13a9afa5026a5f20f4): e.g. When `grammar = "-" @$[a-z]i* "-"` is given `-PEGjs-`, it returns `PEGjs` * Upgraded JavaScript support: - Parser's are generated in ES5 - - Source code for PEG.js and scripts in the repository are written in ES2015, for Node 6+ + - Source code for PEG.js and scripts in the repository are written in ES2015, for Node 8+ - The browser release is in ES5, generated using [Rollup](https://rollupjs.org/) and [Babel](https://babeljs.io/) - - Dropped support for Node versions _0.x_, _4_ and _non-LTS_ versions (e.g. `5`, `7`, etc) + - Dropped support for Node versions _0.x_, _4_, _6_ and _non-LTS_ versions (e.g. `7`, `9`, etc) - Dropped support for IE versions _8_, _9_ and _10_ * Updated documentation: - extracted to separate markdown files in the [docs folder](https://github.com/pegjs/pegjs/tree/master/docs) diff --git a/docs/guides/compatibility.md b/docs/guides/compatibility.md index d561e5b..95e096e 100644 --- a/docs/guides/compatibility.md +++ b/docs/guides/compatibility.md @@ -2,7 +2,7 @@ Both the parser generator and generated parsers should run well in the following environments: -* Node.js v6+ +* Node.js 8+ * Internet Explorer 11 * Microsoft Edge * Firefox diff --git a/package.json b/package.json index 3922b1d..66e2f1b 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,6 @@ "vuepress": "1.1.0" }, "engines": { - "node": ">= 6" + "node": ">= 8" } } diff --git a/packages/pegjs/package.json b/packages/pegjs/package.json index 3accfd8..26df502 100644 --- a/packages/pegjs/package.json +++ b/packages/pegjs/package.json @@ -22,6 +22,6 @@ "main": "lib/peg.js", "bin": "bin/peg.js", "engines": { - "node": ">= 6" + "node": ">= 8" } }