Comparing version 1.0.0 to 1.0.1
@@ -7,7 +7,7 @@ var Stream = require('stream') | ||
stream.destroy() | ||
else if (typeof stream.close === 'function') | ||
stream.close() | ||
// else if (typeof stream.close === 'function') | ||
// stream.close() | ||
} | ||
return stream | ||
} | ||
} |
{ | ||
"name": "dethroy", | ||
"description": "destroy a stream if possible", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": { | ||
@@ -12,10 +12,3 @@ "name": "Jonathan Ong", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/stream-utils/dethroy.git" | ||
}, | ||
"bugs": { | ||
"mail": "me@jongleberry.com", | ||
"url": "https://github.com/stream-utils/dethroy/issues" | ||
}, | ||
"repository": "stream-utils/dethroy", | ||
"devDependencies": { | ||
@@ -26,4 +19,4 @@ "mocha": "*", | ||
"scripts": { | ||
"test": "make test" | ||
"test": "mocha --reporter spec --require should" | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
# Dethroy [![Build Status](https://travis-ci.org/stream-utils/dethroy.png)](https://travis-ci.org/stream-utils/dethroy) | ||
# Dethroy [![Build Status](https://travis-ci.org/stream-utils/dethroy.svg)](https://travis-ci.org/stream-utils/dethroy) | ||
@@ -14,25 +14,1 @@ Destroy a stream. | ||
``` | ||
## License | ||
The MIT License (MIT) | ||
Copyright (c) 2013 Jonathan Ong me@jongleberry.com | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
10
2117
2
14
1