Skip to content

Commit fdb301e

Browse files
committed
fix: use nodeJs 16 prefix and make it min version
1 parent c77d6b0 commit fdb301e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*/
1414

1515
var db = require('mime-db')
16-
var extname = require('path').extname
16+
var extname = require('node:path').extname
1717

1818
/**
1919
* Module variables.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mime-types",
33
"description": "The ultimate javascript content-type utility.",
4-
"version": "2.1.35",
4+
"version": "3.0.0",
55
"contributors": [
66
"Douglas Christopher Wilson <doug@somethingdoug.com>",
77
"Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)",
@@ -33,7 +33,7 @@
3333
"index.js"
3434
],
3535
"engines": {
36-
"node": ">= 0.6"
36+
"node": ">=16"
3737
},
3838
"scripts": {
3939
"lint": "eslint .",

0 commit comments

Comments
 (0)