chanphiromsok / fastify-file-interceptor

fastify file interceptor is create for upload image for NestJs using FastifyAdapter
MIT License
22 stars 3 forks source link

UUID Import #9

Open emanuelmt opened 2 weeks ago

emanuelmt commented 2 weeks ago

We have a problem with the generate random file name fuctions and the UUID lib. The lib was defined as dev dependecy and, when I do the deploy, it isn't find as a module by Node. My suggestion is to use the crypto random UUID function instead UUID lib

chanphiromsok commented 2 weeks ago

We have a problem with the generate random file name fuctions and the UUID lib. The lib was defined as dev dependecy and, when I do the deploy, it isn't find as a module by Node.

My suggestion is to use the crypto random UUID function instead UUID lib

thank for report I will fix it on the weekend

chanphiromsok commented 1 week ago

I have tested with upload functions, and it works fine for me. Can you try this on NPM I publish it as a beta version https://www.npmjs.com/package/fastify-file-interceptor/v/1.1.0-beta.1