Commit graph

4 commits

Author SHA1 Message Date
Manav Rathi 7d56230b91
Move down 2024-05-09 20:44:52 +05:30
Manav Rathi af79db90d0
Doesn't work for us yet
Current version throws
    Module build failed: UnhandledSchemeError: Reading from "node:buffer" is not handled by plugins (Unhandled scheme).
    Webpack supports "data:" and "file:" URIs by default.
    You may need an additional plugin to handle "node:" URIs.

See: https://github.com/sindresorhus/file-type/issues/502

There are ways around by using polyfills, e.g.
- https://stackoverflow.com/questions/76500464/issues-while-using-gradio-client-in-next-js/76522223#76522223
- https://github.com/vercel/next.js/discussions/33982

but since no functional changes in the detection that impact us have been made,
stay back at the old version for now.
2024-04-24 18:44:09 +05:30
Manav Rathi 38e18f29bd
Update file-type dependency and move it to its correct package.json
Refs:
- https://github.com/sindresorhus/file-type/releases/tag/v17.0.0

Went through the release notes since v16 to check that none of the MIME types we
care about have changed.
2024-04-24 18:27:30 +05:30
Manav Rathi 4b9446a9b0
Create a package to share code between photos and cast 2024-04-17 09:47:28 +05:30