Commit Graph

4 Commits

Author SHA1 Message Date
ryenus
0e7f9ad4f6 use filepath.Ext for more reliable file ext detection
especially for paths like index.js/foo
2024-08-05 11:35:34 +08:00
ryenus
570986485f convert file ext to lowercase for format detection
To ensure proper file format detection with case-insensitive file
systems.
2024-08-05 09:52:50 +08:00
Mike Farah
28c406706a Fixes npe when given filename ending with "." #1994 2024-03-30 14:00:57 +11:00
Mike Farah
447bf28cd8 Introduced 'format' to encapsulate encoding and decoding formats together 2024-02-24 16:37:13 +11:00