nav tabs on admin dashboard
This commit is contained in:
+9
@@ -1,3 +1,12 @@
|
||||
2.1.22 / 2019-02-14
|
||||
===================
|
||||
|
||||
* deps: mime-db@~1.38.0
|
||||
- Add extension `.nq` to `application/n-quads`
|
||||
- Add extension `.nt` to `application/n-triples`
|
||||
- Add new upstream MIME types
|
||||
- Mark `text/less` as compressible
|
||||
|
||||
2.1.21 / 2018-10-19
|
||||
===================
|
||||
|
||||
|
||||
+6
@@ -59,10 +59,16 @@ mime.lookup('cats') // false
|
||||
### mime.contentType(type)
|
||||
|
||||
Create a full content-type header given a content-type or extension.
|
||||
When given an extension, `mime.lookup` is used to get the matching
|
||||
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.
|
||||
|
||||
```js
|
||||
mime.contentType('markdown') // 'text/x-markdown; charset=utf-8'
|
||||
mime.contentType('file.json') // 'application/json; charset=utf-8'
|
||||
mime.contentType('text/html') // 'text/html; charset=utf-8'
|
||||
mime.contentType('text/html; charset=iso-8859-1') // 'text/html; charset=iso-8859-1'
|
||||
|
||||
// from a full path
|
||||
mime.contentType(path.extname('/path/to/file.json')) // 'application/json; charset=utf-8'
|
||||
|
||||
+15
-17
@@ -1,31 +1,29 @@
|
||||
{
|
||||
"_from": "mime-types@~2.1.19",
|
||||
"_id": "mime-types@2.1.21",
|
||||
"_from": "mime-types@~2.1.18",
|
||||
"_id": "mime-types@2.1.22",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-3iL6DbwpyLzjR3xHSFNFeb9Nz/M8WDkX33t1GFQnFOllWk8pOrh/LSrB5OXlnlW5P9LH73X6loW/eogc+F5lJg==",
|
||||
"_integrity": "sha512-aGl6TZGnhm/li6F7yx82bJiBZwgiEa4Hf6CNr8YO+r5UHr53tSTYZb102zyU50DOWWKeOv0uQLRL0/9EiKWCog==",
|
||||
"_location": "/mime-types",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "mime-types@~2.1.19",
|
||||
"raw": "mime-types@~2.1.18",
|
||||
"name": "mime-types",
|
||||
"escapedName": "mime-types",
|
||||
"rawSpec": "~2.1.19",
|
||||
"rawSpec": "~2.1.18",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "~2.1.19"
|
||||
"fetchSpec": "~2.1.18"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/accepts",
|
||||
"/form-data",
|
||||
"/request",
|
||||
"/serve-index",
|
||||
"/type-is"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.21.tgz",
|
||||
"_shasum": "28995aa1ecb770742fe6ae7e58f9181c744b3f96",
|
||||
"_spec": "mime-types@~2.1.19",
|
||||
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\request",
|
||||
"_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.22.tgz",
|
||||
"_shasum": "fe6b355a190926ab7698c9a0556a11199b2199bd",
|
||||
"_spec": "mime-types@~2.1.18",
|
||||
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\accepts",
|
||||
"bugs": {
|
||||
"url": "https://github.com/jshttp/mime-types/issues"
|
||||
},
|
||||
@@ -47,19 +45,19 @@
|
||||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"mime-db": "~1.37.0"
|
||||
"mime-db": "~1.38.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "The ultimate javascript content-type utility.",
|
||||
"devDependencies": {
|
||||
"eslint": "5.7.0",
|
||||
"eslint": "5.13.0",
|
||||
"eslint-config-standard": "12.0.0",
|
||||
"eslint-plugin-import": "2.14.0",
|
||||
"eslint-plugin-import": "2.16.0",
|
||||
"eslint-plugin-node": "7.0.1",
|
||||
"eslint-plugin-promise": "4.0.1",
|
||||
"eslint-plugin-standard": "4.0.0",
|
||||
"mocha": "5.2.0",
|
||||
"nyc": "13.1.0"
|
||||
"nyc": "13.3.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.6"
|
||||
@@ -86,5 +84,5 @@
|
||||
"test-cov": "nyc --reporter=html --reporter=text npm test",
|
||||
"test-travis": "nyc --reporter=text npm test"
|
||||
},
|
||||
"version": "2.1.21"
|
||||
"version": "2.1.22"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user