uti 8.10.1 → 8.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/uti.mjs +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uti",
3
- "version": "8.10.1",
3
+ "version": "8.10.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
package/src/uti.mjs CHANGED
@@ -162,7 +162,7 @@ export class UTIController {
162
162
  * @return {string[]} UTIs for the given fileName
163
163
  */
164
164
  getUTIsForFileName(fileName) {
165
- const m = fileName.match(/(\.[\.a-zA-Z_0-9]+)$/);
165
+ const m = fileName.match(/(\.[a-zA-Z_0-9]+(\.[a-zA-Z_0-9]+)*)$/);
166
166
 
167
167
  if (m) {
168
168
  for (