Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump file-type from 12.4.2 to 16.5.4 #742

Closed
wants to merge 1 commit into from
Closed

Bump file-type from 12.4.2 to 16.5.4 #742

wants to merge 1 commit into from

Conversation

Fdawgs
Copy link
Contributor

@Fdawgs Fdawgs commented Apr 23, 2023

Closes #711

Currently a draft PR as file-type v13.0.0 introduced a dependency on strtok3, which makes an fs call, which causes webpack to throw the following when attempting to build the browser version:

ERROR in ./node_modules/strtok3/lib/FsPromise.js 14:9-22
Module not found: Error: Can't resolve 'fs' in 'C:\git-repos\forks\tesseract.js\node_modules\strtok3\lib'
resolve 'fs' in 'C:\git-repos\forks\tesseract.js\node_modules\strtok3\lib'

No idea on webpack/browser support, so any help would be appreciated!

@Fdawgs Fdawgs changed the title build(deps): bump file-type from 12.4.2 to 16.5.4 Bump file-type from 12.4.2 to 16.5.4 Apr 23, 2023
@Fdawgs
Copy link
Contributor Author

Fdawgs commented May 2, 2023

@anshulgupta8392 @OleksiiHryhorian @mtica any assistance on this would be appreciated, as y'all highlighted wanted this fixed in the corresponding Issue.

@Fdawgs Fdawgs closed this May 27, 2023
@Fdawgs Fdawgs deleted the build/deps-filetype branch May 27, 2023 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Older Version of File-type library is used, which is causing EOL vulnerability
1 participant