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

vue-native-notification

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-native-notification - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

16

index.js

@@ -48,6 +48,6 @@ // Notification object

var show = function (title, opts, e) {
e.onerror = function () { }
e.onclick = function () { }
e.onclose = function () { }
e.onshow = function () { }
if (!e.onerror) e.onerror = function () { }
if (!e.onclick) e.onclick = function () { }
if (!e.onclose) e.onclose = function () { }
if (!e.onshow) e.onshow = function () { }
return Promise.resolve()

@@ -72,3 +72,3 @@ .then(function () {

defaultEvents.onerror(event)
onerror()
e.onerror(event)
}

@@ -79,3 +79,3 @@

defaultEvents.onclick(event)
onclick()
e.onclick(event)
}

@@ -86,3 +86,3 @@

defaultEvents.onclose(event)
onclose()
e.onclose(event)
}

@@ -93,3 +93,3 @@

defaultEvents.onshow(event)
onshow()
e.onshow(event)
}

@@ -96,0 +96,0 @@

{
"name": "vue-native-notification",
"version": "1.0.4",
"version": "1.0.5",
"description": "Vue.js plugin for native notifications",

@@ -5,0 +5,0 @@ "main": "index.js",

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