Skip to content

feat: documentation.js now requires node v6 or newer. #1034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 2, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"presets": [
["env", {
"targets": {
"node": 4
"node": 6
},
"include": ["transform-regenerator"]
}],
Expand Down
2 changes: 1 addition & 1 deletion __tests__/lib/infer/kind.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ test('inferKind', function() {
foo();
})
).kind
).toBe('function');
).toBe('constant');

expect(
inferKind(toComment('/** Exported interface */' + 'interface myinter {}'))
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"lodash": "^4.17.4",
"mdast-util-inject": "^1.1.0",
"micromatch": "^3.1.5",
"mime": "^1.4.1",
"mime": "^2.2.0",
"module-deps-sortable": "4.0.6",
"parse-filepath": "^1.0.2",
"pify": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/serve/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Server extends EventEmitter {
const file = this._files[i];
const filePath = file.relative.split(sep).join('/');
if (filePath === path) {
response.writeHead(200, { 'Content-Type': mime.lookup(path) });
response.writeHead(200, { 'Content-Type': mime.getType(path) });
response.end(file.contents);
return;
}
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4395,9 +4395,9 @@ mime-types@~2.1.17:
dependencies:
mime-db "~1.30.0"

mime@^1.4.1:
version "1.6.0"
resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1"
mime@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/mime/-/mime-2.2.0.tgz#161e541965551d3b549fa1114391e3a3d55b923b"

mimic-fn@^1.0.0:
version "1.1.0"
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy