Skip to content

Commit

Permalink
use native stream
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Sep 10, 2023
1 parent 4e213cb commit 732be3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
'use strict'

const { PassThrough } = require('node:stream')
const path = require('node:path')
const { fileURLToPath } = require('node:url')
const { statSync } = require('node:fs')
const { promisify } = require('node:util')
const glob = require('glob')
const globPromise = promisify(glob)
const { PassThrough } = require('readable-stream')
const fp = require('fastify-plugin')
const send = require('@fastify/send')
const encodingNegotiator = require('@fastify/accept-negotiator')
const contentDisposition = require('content-disposition')
const fp = require('fastify-plugin')

const dirList = require('./lib/dirList')

Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"content-disposition": "^0.5.3",
"fastify-plugin": "^4.0.0",
"glob": "^8.0.1",
"p-limit": "^3.1.0",
"readable-stream": "^4.0.0"
"p-limit": "^3.1.0"
},
"devDependencies": {
"@fastify/compress": "^6.0.0",
Expand Down

0 comments on commit 732be3a

Please sign in to comment.