Skip to content

Commit

Permalink
Require Node.js 18
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Nov 2, 2023
1 parent 4fe9483 commit 9312900
Show file tree
Hide file tree
Showing 4 changed files with 167 additions and 328 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,9 @@ jobs:
node-version:
- 20
- 18
- 16
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm install
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"type": "module",
"exports": "./index.js",
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"test": "xo && mocha"
"test": "xo && ava"
},
"files": [
"index.js"
Expand All @@ -34,15 +34,16 @@
"vinyl"
],
"dependencies": {
"multimatch": "^6.0.0",
"multimatch": "^7.0.0",
"plugin-error": "^2.0.1",
"streamfilter": "^3.0.0",
"to-absolute-glob": "^3.0.0"
},
"devDependencies": {
"mocha": "^10.2.0",
"ava": "^5.3.1",
"p-event": "^6.0.0",
"vinyl": "^3.0.0",
"xo": "^0.55.0"
"xo": "^0.56.0"
},
"peerDependencies": {
"gulp": ">=4"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import gulp from 'gulp';
import uglify from 'gulp-uglify';
import filter from 'gulp-filter';

exports.default = () => {
export default () => {
// Create filter instance inside task function
const f = filter(['**', '!*src/vendor']);

Expand Down
Loading

0 comments on commit 9312900

Please sign in to comment.