Skip to content

Commit

Permalink
feat!: Drop support for unsupported versions of Node.js
Browse files Browse the repository at this point in the history
  • Loading branch information
zackerydev committed Dec 19, 2023
1 parent 19ede77 commit 23eb7d8
Show file tree
Hide file tree
Showing 31 changed files with 19,305 additions and 15,393 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ module.exports = {
'plugin:jest/recommended',
'plugin:jest/style',
'prettier',
'prettier/@typescript-eslint',
],
ignorePatterns: ['**/build', '**/node_modules', 'documentation'],
rules: {
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
node-version: [18.x, 20.x, 21.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14
v20.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ interface UserDetailsRow {
fs.createReadStream(path.resolve(__dirname, '..', 'assets', 'snake_case_users.csv'))
.pipe(csv.parse({ headers: true }))
// pipe the parsed input into a csv formatter
.pipe(
csv.format<UserCsvRow, UserDetailsRow>({ headers: true }),
)
.pipe(csv.format<UserCsvRow, UserDetailsRow>({ headers: true }))
// Using the transform function from the formatting stream
.transform((row, next): void => {
User.findById(+row.id, (err, user) => {
Expand Down
Loading

0 comments on commit 23eb7d8

Please sign in to comment.