Skip to content

Commit

Permalink
Merge pull request #105 from sunesimonsen/ssimonsen/cut-node-10-support
Browse files Browse the repository at this point in the history
Remove Node 10 support (Major)
  • Loading branch information
sunesimonsen committed Mar 16, 2021
2 parents d574bc1 + 9f5f11c commit 5b57717
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10, 12, 14]
node-version: [12, 14]
steps:
- name: checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
]
},
"engines": {
"node": ">=10"
"node": ">=12"
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"unexpected-steps": "^3.7.0"
},
"engines": {
"node": ">=10"
"node": ">=12"
}
}
2 changes: 1 addition & 1 deletion packages/core/src/parallel.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const parallel = (step, concurrency = 2 * cpus) =>
const output = chan(concurrency);
const parallelInput = chan();

for (var i = 0; i < concurrency; i += 1) {
for (let i = 0; i < concurrency; i += 1) {
outputs.push(worker(step).body(parallelInput, errors));
}

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/sortBy.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const sortBy = (...ordering) => {
});

return sort((a, b) => {
for (var i = 0; i < comparisons.length; i += 1) {
for (let i = 0; i < comparisons.length; i += 1) {
const comparison = comparisons[i];
const result = comparison(a, b);
if (result !== 0) {
Expand Down
2 changes: 1 addition & 1 deletion packages/csv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"unexpected-steps": "^3.7.0"
},
"engines": {
"node": ">=10"
"node": ">=12"
}
}
2 changes: 1 addition & 1 deletion packages/ejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"unexpected-steps": "^3.7.0"
},
"engines": {
"node": ">=10"
"node": ">=12"
}
}
2 changes: 1 addition & 1 deletion packages/file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"unexpected-steps": "^3.7.0"
},
"engines": {
"node": ">=10"
"node": ">=12"
}
}
2 changes: 1 addition & 1 deletion packages/glob/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"unexpected-steps": "^3.7.0"
},
"engines": {
"node": ">=10"
"node": ">=12"
}
}
2 changes: 1 addition & 1 deletion packages/process/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"unexpected-steps": "^3.7.0"
},
"engines": {
"node": ">=10"
"node": ">=12"
}
}
2 changes: 1 addition & 1 deletion packages/stream/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"unexpected-steps": "^3.7.0"
},
"engines": {
"node": ">=10"
"node": ">=12"
}
}

0 comments on commit 5b57717

Please sign in to comment.