Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornlf <quitlahok@gmail.com>2021-03-24 19:28:33 +0300
committernlf <quitlahok@gmail.com>2021-03-24 19:28:33 +0300
commit62b783ad3dcac2bcadcf6fecbdba07284f3d640e (patch)
tree55cbd71c99de5fc0b60cd246e0639f3027c16714 /node_modules/mime-types
parent2cbfaac0ecd5810316f6d76168ed9618bd11bf3a (diff)
chore: rebuild package-lock
Diffstat (limited to 'node_modules/mime-types')
-rw-r--r--node_modules/mime-types/HISTORY.md9
-rw-r--r--node_modules/mime-types/README.md10
-rw-r--r--node_modules/mime-types/package.json14
3 files changed, 16 insertions, 17 deletions
diff --git a/node_modules/mime-types/HISTORY.md b/node_modules/mime-types/HISTORY.md
index af65fdb10..2e50fc84a 100644
--- a/node_modules/mime-types/HISTORY.md
+++ b/node_modules/mime-types/HISTORY.md
@@ -1,3 +1,12 @@
+2.1.29 / 2021-02-17
+===================
+
+ * deps: mime-db@1.46.0
+ - Add extension `.amr` to `audio/amr`
+ - Add extension `.m4s` to `video/iso.segment`
+ - Add extension `.opus` to `audio/ogg`
+ - Add new upstream MIME types
+
2.1.28 / 2021-01-01
===================
diff --git a/node_modules/mime-types/README.md b/node_modules/mime-types/README.md
index e8bf8ebce..c978ac27a 100644
--- a/node_modules/mime-types/README.md
+++ b/node_modules/mime-types/README.md
@@ -36,8 +36,6 @@ so open a PR there if you'd like to add mime types.
## API
-<!-- eslint-disable no-unused-vars -->
-
```js
var mime = require('mime-types')
```
@@ -48,8 +46,6 @@ All functions return `false` if input is invalid or not found.
Lookup the content-type associated with a file.
-<!-- eslint-disable no-undef -->
-
```js
mime.lookup('json') // 'application/json'
mime.lookup('.md') // 'text/markdown'
@@ -68,8 +64,6 @@ content-type, otherwise the given content-type is used. Then if the
content-type does not already have a `charset` parameter, `mime.charset`
is used to get the default charset and add to the returned content-type.
-<!-- eslint-disable no-undef -->
-
```js
mime.contentType('markdown') // 'text/x-markdown; charset=utf-8'
mime.contentType('file.json') // 'application/json; charset=utf-8'
@@ -84,8 +78,6 @@ mime.contentType(path.extname('/path/to/file.json')) // 'application/json; chars
Get the default extension for a content-type.
-<!-- eslint-disable no-undef -->
-
```js
mime.extension('application/octet-stream') // 'bin'
```
@@ -94,8 +86,6 @@ mime.extension('application/octet-stream') // 'bin'
Lookup the implied default charset of a content-type.
-<!-- eslint-disable no-undef -->
-
```js
mime.charset('text/markdown') // 'UTF-8'
```
diff --git a/node_modules/mime-types/package.json b/node_modules/mime-types/package.json
index 26fa6f694..9ed59e843 100644
--- a/node_modules/mime-types/package.json
+++ b/node_modules/mime-types/package.json
@@ -1,7 +1,7 @@
{
"name": "mime-types",
"description": "The ultimate javascript content-type utility.",
- "version": "2.1.28",
+ "version": "2.1.29",
"contributors": [
"Douglas Christopher Wilson <doug@somethingdoug.com>",
"Jeremiah Senkpiel <fishrock123@rocketmail.com> (https://searchbeam.jit.su)",
@@ -14,17 +14,17 @@
],
"repository": "jshttp/mime-types",
"dependencies": {
- "mime-db": "1.45.0"
+ "mime-db": "1.46.0"
},
"devDependencies": {
- "eslint": "7.17.0",
+ "eslint": "7.20.0",
"eslint-config-standard": "14.1.1",
"eslint-plugin-import": "2.22.1",
- "eslint-plugin-markdown": "1.0.2",
+ "eslint-plugin-markdown": "2.0.0",
"eslint-plugin-node": "11.1.0",
- "eslint-plugin-promise": "4.2.1",
+ "eslint-plugin-promise": "4.3.1",
"eslint-plugin-standard": "4.1.0",
- "mocha": "8.2.1",
+ "mocha": "8.3.0",
"nyc": "15.1.0"
},
"files": [
@@ -36,7 +36,7 @@
"node": ">= 0.6"
},
"scripts": {
- "lint": "eslint --plugin markdown --ext js,md .",
+ "lint": "eslint .",
"test": "mocha --reporter spec test/test.js",
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
"test-cov": "nyc --reporter=html --reporter=text npm test"