Browse Source

Drop support for Node 6

master
Futago-za Ryuu 2 years ago
parent
commit
7d13580855
  1. 2
      .eslintrc.js
  2. 2
      .github/workflows/main.yml
  3. 4
      CHANGELOG.md
  4. 2
      docs/guides/compatibility.md
  5. 2
      package.json
  6. 2
      packages/pegjs/package.json

2
.eslintrc.js

@ -4,7 +4,7 @@ module.exports = {
"extends": [
"@futagoza/node/6",
"@futagoza/node/8",
// "@futagoza/typescript",
"@futagoza/vue",

2
.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

4
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)

2
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

2
package.json

@ -35,6 +35,6 @@
"vuepress": "1.1.0"
},
"engines": {
"node": ">= 6"
"node": ">= 8"
}
}

2
packages/pegjs/package.json

@ -22,6 +22,6 @@
"main": "lib/peg.js",
"bin": "bin/peg.js",
"engines": {
"node": ">= 6"
"node": ">= 8"
}
}
Loading…
Cancel
Save