Skip to content

Commit

Permalink
fix(deps): support Node.js 18
Browse files Browse the repository at this point in the history
Closes #155
  • Loading branch information
buzz committed Jun 1, 2024
1 parent c9d977b commit dbbfbed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion babel.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const babel = (api) => {
api.cache(true)

const browserTarget = '> 0.25%, not dead'
const nodeTarget = { node: '20' }
const nodeTarget = { node: '18.0' }

const buildMixin = {
ignore: ['./__tests__', './**/*.d.ts'],
Expand Down
5 changes: 1 addition & 4 deletions gulp/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@ import babel from './transpile/babel.ts'
import rollup from './transpile/rollup.ts'

const defaultTask = gulp.series([
gulp.parallel([
generateTypes,
gulp.series([download, gulp.series([zenlib, mediainfolib, wasm])]),
]),
gulp.parallel([generateTypes, gulp.series([download, zenlib, mediainfolib, wasm])]),
gulp.parallel([babel, declaration, rollup]),
])
defaultTask.displayName = 'default'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"packageManager": "pnpm@9.1.2",
"engines": {
"node": ">=20.13.1"
"node": ">=18.0.0"
},
"bin": {
"mediainfo.js": "./dist/esm/cli.js"
Expand Down

0 comments on commit dbbfbed

Please sign in to comment.