Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

spdy-push

Package Overview
Dependencies
13
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

LICENSE

7

lib/push.js

@@ -183,2 +183,4 @@

else resolve()
stream.on('error', postDestroyError)
}

@@ -219,1 +221,6 @@ })

}
// sometimes this happens and crashes the entire server
function postDestroyError(err) {
console.error(err.stack)
}

6

package.json
{
"name": "spdy-push",
"description": "SPDY Push helper",
"version": "1.0.0",
"version": "1.0.1",
"author": {

@@ -25,3 +25,3 @@ "name": "Jonathan Ong",

"raw-body": "1",
"mocha": "1",
"mocha": "2",
"spdy": "1",

@@ -32,3 +32,3 @@ "spdy-keys": "0",

"scripts": {
"test": "mocha --reporter spec",
"test": "mocha",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",

@@ -35,0 +35,0 @@ "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"

@@ -40,3 +40,3 @@

### spdy(res).push([path], [options], [priority])
### spdy(res).push([path], [options], [priority]).then( => )

@@ -61,2 +61,10 @@ - `path` is the path of the object being pushed.

### .then( => )
Waits until the acknowledge event.
### .send().then( => )
Waits until the entire stream has been flushed.
[npm-image]: https://img.shields.io/npm/v/spdy-push.svg?style=flat-square

@@ -63,0 +71,0 @@ [npm-url]: https://npmjs.org/package/spdy-push

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc