New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-onesignal

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-onesignal - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

3

dist/index.es.js

@@ -37,2 +37,5 @@ /* eslint-disable no-unused-vars */

}
if (key.includes('.')) {
key = "\"" + key + "\"";
}
result += new Array(TABS_LENGTH * indent + 1).join(' ') + key + ": ";

@@ -39,0 +42,0 @@ switch (typeof option) {

@@ -41,2 +41,5 @@ 'use strict';

}
if (key.includes('.')) {
key = "\"" + key + "\"";
}
result += new Array(TABS_LENGTH * indent + 1).join(' ') + key + ": ";

@@ -43,0 +46,0 @@ switch (typeof option) {

@@ -15,2 +15,3 @@ export interface IOneSignal {

export interface OneSignalOptions {
safari_web_id?: string;
subdomainName?: string;

@@ -29,2 +30,15 @@ allowLocalhostAsSecureOrigin?: boolean;

showCredit?: boolean;
prenotify?: boolean;
theme?: 'default' | 'inverse';
offset?: {
bottom?: string;
right?: string;
left?: string;
};
text?: {
[key: string]: string;
};
colors?: {
[key: string]: string;
};
};

@@ -31,0 +45,0 @@ }

2

package.json
{
"name": "react-onesignal",
"version": "1.3.0",
"version": "1.4.0",
"description": "React OneSignal Module: Make it easy to integrate OneSignal with your React App!",

@@ -5,0 +5,0 @@ "author": "pedro-lb",

@@ -26,3 +26,3 @@ // eslint-disable-next-line no-unused-vars

for (let index = 0; index < optionKeys.length; index += 1) {
const key = optionKeys[index];
let key = optionKeys[index];

@@ -42,2 +42,6 @@ const hasOwnProperty = Object.prototype.hasOwnProperty.call(options, key);

if (key.includes('.')) {
key = `"${key}"`
}
result += `${new Array(TABS_LENGTH * indent + 1).join(' ') + key}: `;

@@ -44,0 +48,0 @@

@@ -16,2 +16,3 @@ export interface IOneSignal {

export interface OneSignalOptions {
safari_web_id?: string,
subdomainName?: string;

@@ -30,2 +31,15 @@ allowLocalhostAsSecureOrigin?: boolean;

showCredit?: boolean;
prenotify?: boolean;
theme?: 'default' | 'inverse';
offset?: {
bottom?: string;
right?: string;
left?: string;
},
text?: {
[key: string]: string;
};
colors?: {
[key: string]: string;
};
}

@@ -32,0 +46,0 @@ }

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc