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

idea-toolbox

Package Overview
Dependencies
Maintainers
2
Versions
377
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idea-toolbox - npm Package Compare versions

Comparing version 6.0.4 to 6.0.5

20

dist/notification.model.d.ts

@@ -12,2 +12,10 @@ import { Resource } from './resource.model';

/**
* A brief description of the notification.
*/
subject: string;
/**
* The content of the notification.
*/
content: markdown;
/**
* The id of the team owner of the notification. Useful for branded notifications.

@@ -27,13 +35,9 @@ */

/**
* A brief description of the notification.
* If set, an email notification is preferred to any other channel.
*/
subject: string;
forceEmail?: boolean;
/**
* The content of the notification.
* The event that triggered the notification; useful to gather specific notification preferences.
*/
content: markdown;
/**
* If set, an email notification is preferred to any other channel.
*/
forceEmail?: boolean;
event?: string;
load(x: any): void;

@@ -40,0 +44,0 @@ }

14

dist/notification.model.js

@@ -12,8 +12,14 @@ "use strict";

this.project = this.clean(x.project, String);
this.teamId = this.clean(x.teamId, String);
this.userId = this.clean(x.userId, String);
this.email = this.clean(x.email, String);
this.subject = this.clean(x.subject, String);
this.content = this.clean(x.content, String);
this.forceEmail = this.clean(x.forceEmail, Boolean);
if (x.teamId)
this.teamId = this.clean(x.teamId, String);
if (x.userId)
this.userId = this.clean(x.userId, String);
if (x.email)
this.email = this.clean(x.email, String);
if (x.forceEmail)
this.forceEmail = true;
if (x.event)
this.event = this.clean(x.event, String);
}

@@ -20,0 +26,0 @@ }

{
"name": "idea-toolbox",
"version": "6.0.4",
"version": "6.0.5",
"description": "IDEA's utility functions",

@@ -5,0 +5,0 @@ "engines": {

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