Socket
Socket
Sign inDemoInstall

@webgap/notifier

Package Overview
Dependencies
2
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.4 to 0.1.5

11

index.js

@@ -94,4 +94,4 @@ /**

if (systems[system.name]) {
console.warn('Notification system with name %s is already registered. Please unregister if is the case, or change the its name and try again.', system.name);
return;
console.warn('Notification system with name %s is already registered. Please unregister if is the case, or change the name and try again.', system.name);
return false;
}

@@ -102,7 +102,8 @@ systems[system.name] = {};

systems[system.name].default = Boolean(system.defaultSystem) ? system.defaultSystem : false;
console.info('Notification system registered: %s', system.name);
console.info('Notification system registered: %s.', system.name);
if (systems[system.name].default) {
defaultSystem = system.name;
console.info('Default notification system set to: %s', defaultSystem);
console.info('%s is now the default notification system.', defaultSystem);
}
return true;
};

@@ -117,3 +118,3 @@

delete systems[systemName];
console.info('Notification system unregistered: %s', systemName);
console.info('Notification system unregistered: %s.', systemName);
};

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

"author": "Manuel Martins <manuelmachadomartins@gmail.com>",
"version": "0.1.4",
"version": "0.1.5",
"license": "Apache-2.0",

@@ -33,5 +33,5 @@ "engine": "node >= 5.0.0",

"codeclimate-test-reporter": "0.1.x",
"istanbul":"0.3.x",
"mocha": "2.2.x"
"istanbul": "0.4.x",
"mocha": "2.3.x"
}
}
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