Socket
Socket
Sign inDemoInstall

@webgap/notifier

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@webgap/notifier - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

.c9/.nakignore

5

index.js

@@ -26,4 +26,3 @@ /**

logger = new Logger(),
ObjectUtils = require('@webgap/object-utils'),
objectUtils = new ObjectUtils(),
underscore = require('underscore'),
async = require('async');

@@ -76,3 +75,3 @@

// ensure the message is not delivered through the same system multiple times
options.notificationSystems = objectUtils.Array.removeDuplicates(options.notificationSystems);
options.notificationSystems = underscore.uniq(options.notificationSystems);
// validate message type

@@ -79,0 +78,0 @@ if (!(options.notification instanceof Notification)) {

1

lib/notification.js

@@ -39,3 +39,2 @@ /**

function Notification(options) {
var self = this;
options = options || {};

@@ -42,0 +41,0 @@ // always initialize all instance properties

@@ -5,8 +5,8 @@ {

"author": "Manuel Martins <manuelmachadomartins@gmail.com>",
"version": "0.0.5",
"version": "0.0.6",
"license": "Apache-2.0",
"engine": "node >= 0.11.0",
"engine": "node >= 0.12.0",
"main": "./index",
"scripts": {
"test": "export NODE_APP_HOME='./test'; export NODE_APP='conf'; export NODE_ENV='test'; mocha test/"
"test": "export NODE_APP_HOME=`pwd`./test; export NODE_APP='conf'; export NODE_ENV='test'; mocha test/"
},

@@ -29,7 +29,7 @@ "repository": {

"@webgap/logger": ">=0.1.0",
"@webgap/object-utils": ">=0.0.3",
"@webgap/format-utils": ">=0.1.1",
"node-uuid": ">=1.4.3",
"string": ">=3.3.1",
"async": ">=1.4.0"
"underscore": ">=1.8.3",
"async": ">=1.4.2"
},

@@ -36,0 +36,0 @@ "devDependencies": {

@@ -19,3 +19,3 @@ # WebGAP Notifier

Handles logging using [**@webgap/logger**](https://github.com/webgap/logger).<br/>
Handles objects using [**@webgap/object-utils**](https://github.com/webgap/object-utils).<br/>
Handles most common object utilities with [**underscore.js**](https://github.com/jashkenas/underscore).<br/>
Handles date format using [**@webgap/format-utils**](https://github.com/webgap/format-utils).<br/>

@@ -41,3 +41,3 @@ Loads default configuration using [**@webgap/configuration**](https://github.com/webgap/configuration).<br/>

```javascript
var Notifier = require('@webgap/notifier').Notifier,
var Notifier = require('@webgap/notifier'),
Notification = Notifier.Notification,

@@ -44,0 +44,0 @@ Message = Notification.Message,

Sorry, the diff of this file is not supported yet

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