@nxtedition/mime 1.0.1 → 1.0.3

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/lib/index.js +1 -1
  2. package/package.json +5 -5
package/lib/index.js CHANGED
@@ -122,5 +122,5 @@ export function extension(mimeType ) {
122
122
  return MIME_TO_EXT[mimeType]
123
123
  }
124
124
 
125
- return mime.getExtension(mimeType) || (mimeType || '').split('/').pop() || null
125
+ return mime.getExtension(mimeType) || null
126
126
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/mime",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -21,14 +21,14 @@
21
21
  "test:ci": "node --test"
22
22
  },
23
23
  "dependencies": {
24
- "mime": "^4.0.7"
24
+ "mime": "^4.1.0"
25
25
  },
26
26
  "devDependencies": {
27
- "@types/node": "^25.2.3",
27
+ "@types/node": "^25.5.0",
28
28
  "amaroc": "^1.0.1",
29
- "oxlint-tsgolint": "^0.13.0",
29
+ "oxlint-tsgolint": "^0.17.0",
30
30
  "rimraf": "^6.1.3",
31
31
  "typescript": "^5.9.3"
32
32
  },
33
- "gitHead": "a54f10182ade3ca92e198dce10ff06d059d296b8"
33
+ "gitHead": "7c9c7457c885c644c7a1e70ef894d4727ce240d6"
34
34
  }