New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pushover-notifications

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pushover-notifications - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

test/test-onerror.js

10

lib/pushover.js

@@ -59,2 +59,6 @@ var https = require('https'),

if (opts.onerror) {
this.onerror = opts.onerror;
}
self.updateSounds();

@@ -74,3 +78,7 @@ if (opts.update_sounds) {

if (d.errors) {
throw new Error(d.errors[0]);
if (this.onerror) {
this.onerror.call(null, d)
} else {
throw new Error(d.errors[0]);
}
}

@@ -77,0 +85,0 @@ }

2

package.json

@@ -5,3 +5,3 @@ {

"description": "Pushover API for node.js",
"version": "0.1.6",
"version": "0.1.7",
"homepage": "http://github.com/qbit/node-pushover",

@@ -8,0 +8,0 @@ "repository": {

@@ -29,2 +29,3 @@ ![Pushover](https://pushover.net/assets/pushover-header-0f47af8e08d8bef658a999a9e6584fcc.png)

sound: 'magic', // optional
device: 'devicename', // optional
priority: 1 // optional

@@ -31,0 +32,0 @@ };

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