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

hubot-web-push-notifications

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-web-push-notifications - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

13

index.js

@@ -41,3 +41,10 @@ const util = require('util');

subscriptions = robot.brain.get('web-push-subscriptions');
robot.logger.debug('Web push subscriptions : ' + util.inspect(subscriptions));
if (! subscriptions) {
robot.brain.set('web-push-subscriptions', []);
subscriptions = robot.brain.get('web-push-subscriptions');
robot.logger.info('Web push subscriptions initialized: ' + util.inspect(subscriptions));
} else {
robot.logger.info('Web push subscriptions: ' + util.inspect(subscriptions));
}
});

@@ -66,3 +73,3 @@

subscriptions.push(sub);
robot.logger.debug('Subscription registered ' + subscription.endpoint);
robot.logger.info('Subscription registered ' + subscription.endpoint);
}

@@ -76,3 +83,3 @@

subscriptions.splice(subIndex, 1)
robot.logger.debug('Subscription unregistered ' + endpoint);
robot.logger.info('Subscription unregistered ' + endpoint);
};

@@ -79,0 +86,0 @@ }

{
"name": "hubot-web-push-notifications",
"version": "1.1.0",
"version": "1.2.0",
"description": "Allow users to subscribe to Web Push notifications, notifying them of mentions while away",

@@ -5,0 +5,0 @@ "main": "index.js",

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