Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dethroy

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dethroy - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

LICENSE

6

index.js

@@ -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.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc