Skip to content

Commit

Permalink
⬆️ Bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nuintun committed Jul 25, 2018
1 parent 0c9ccbe commit 14f31c1
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 10 deletions.
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"singleQuote": true,
"arrowParens": "avoid",
"bracketSpacing": true,
"proseWrap": "preserve",
"trailingComma": "none",
"jsxBracketSameLine": false,
"overrides": [
Expand Down
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,10 @@ class FileSend extends Events {
file.on('close', next);

// Pipe stdin
file.pipe(stdin$$1, { end: false });
file.pipe(
stdin$$1,
{ end: false }
);
},
// End stdin
() => this.end()
Expand Down
23 changes: 15 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,15 @@
"engines": {
"node": ">=4.0.0"
},
"keywords": ["http", "https", "server", "http send", "https send", "file send", "file stream"],
"keywords": [
"http",
"https",
"server",
"http send",
"https send",
"file send",
"file stream"
],
"dependencies": {
"ms": "^2.1.1",
"etag": "^1.8.1",
Expand All @@ -27,22 +35,21 @@
"encodeurl": "^1.0.2",
"micromatch": "^3.1.10",
"escape-html": "^1.0.3",
"mime-types": "^2.1.18",
"mime-types": "^2.1.19",
"range-parser": "^1.2.0"
},
"devDependencies": {
"chai": "^4.1.2",
"holding": "^3.0.2",
"rollup": "^0.62.0",
"fs-extra": "^6.0.1",
"superagent": "^3.8.2"
"holding": "^3.0.3",
"rollup": "^0.63.4",
"fs-extra": "^7.0.0",
"superagent": "^3.8.3"
},
"readmeFilename": "README.md",
"scripts": {
"prepublishOnly": "node rollup.js",
"test": "mocha --timeout 6000 --check-leaks --reporter spec --bail --exit",
"test-ci":
"istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --timeout 6000 --check-leaks --reporter spec --exit",
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --timeout 6000 --check-leaks --reporter spec --exit",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --timeout 6000 --check-leaks --reporter dot --exit"
},
"homepage": "https://github.com/nuintun/file-send#readme"
Expand Down
5 changes: 4 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,10 @@ export default class FileSend extends Events {
file.on('close', next);

// Pipe stdin
file.pipe(stdin, { end: false });
file.pipe(
stdin,
{ end: false }
);
},
// End stdin
() => this.end()
Expand Down

0 comments on commit 14f31c1

Please sign in to comment.