Socket
Socket
Sign inDemoInstall

@outreach/extensibility-sdk

Package Overview
Dependencies
0
Maintainers
189
Versions
180
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.3 to 0.2.4

8

dist/manifest/ManifestApp.js

@@ -11,3 +11,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

* @type {string}
* @memberof Manifest
* @memberof ManifestApp
*/

@@ -25,4 +25,4 @@ this.identifier = '';

*
* @type {AddonCategory[]}
* @memberof Manifest
* @type {Category[]}
* @memberof ManifestApp
*/

@@ -37,3 +37,3 @@ this.categories = [];

* @type {ManifestMedia}
* @memberof Manifest
* @memberof ManifestApp
*/

@@ -40,0 +40,0 @@ this.medias = [];

@@ -9,3 +9,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

*
* @param {Manifest} application
* @param {Application} application
* @returns {string[]} list of validation issues (if any)

@@ -49,2 +49,6 @@ */

else {
if (!utils_1.utils.emailValidation(application.app.author.email)) {
issues.push('Author e-mail is invalid e-mail. Value: ' +
application.app.author.email);
}
if (!utils_1.utils.urlValidation(application.app.author.websiteUrl)) {

@@ -115,2 +119,18 @@ issues.push('Author website url is invalid url. Value: ' +

}
if (!application.app.headline) {
issues.push('Headline section is missing.');
}
else {
if (!application.app.headline.en) {
issues.push('Headline section is missing English entry.');
}
}
if (!application.app.icon) {
issues.push('Application icon is missing.');
}
else {
if (!utils_1.utils.urlValidation(application.app.icon)) {
issues.push('Application icon url is invalid url. Value: ' + application.app.icon);
}
}
if (!application.app.identifier) {

@@ -117,0 +137,0 @@ issues.push('Manifest identifier definition is missing.');

@@ -138,2 +138,8 @@ Object.defineProperty(exports, "__esModule", { value: true });

};
utils.emailValidation = function (email) {
if (!email) {
return false;
}
return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email);
};
return utils;

@@ -140,0 +146,0 @@ }());

{
"name": "@outreach/extensibility-sdk",
"license": "MIT",
"version": "0.2.3",
"version": "0.2.4",
"private": false,

@@ -6,0 +6,0 @@ "contributors": [

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc