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

@kyvg/vue3-notification

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kyvg/vue3-notification - npm Package Compare versions

Comparing version 2.2.5 to 2.3.0

16

dist/index.common.js

@@ -337,14 +337,16 @@ 'use strict';

pauseTimeout() {
var _a;
if (this.pauseOnHover) {
this.timerControl?.pause();
(_a = this.timerControl) === null || _a === void 0 ? void 0 : _a.pause();
}
},
resumeTimeout() {
var _a;
if (this.pauseOnHover) {
this.timerControl?.resume();
(_a = this.timerControl) === null || _a === void 0 ? void 0 : _a.resume();
}
},
addItem(event = {}) {
event.group ||= '';
event.data ||= {};
event.group || (event.group = '');
event.data || (event.data = {});
if (this.group !== event.group) {

@@ -411,6 +413,7 @@ return;

notifyClass(item) {
var _a;
return [
'vue-notification-template',
this.classes,
item.type ?? '',
(_a = item.type) !== null && _a !== void 0 ? _a : '',
];

@@ -441,3 +444,4 @@ },

getAnimation(index, el) {
const animation = this.animation?.[index];
var _a;
const animation = (_a = this.animation) === null || _a === void 0 ? void 0 : _a[index];
return typeof animation === 'function'

@@ -444,0 +448,0 @@ ? animation.call(this, el)

@@ -333,14 +333,16 @@ import { defineComponent, TransitionGroup, openBlock, createBlock, withCtx, renderSlot, resolveDynamicComponent, Fragment, renderList, createCommentVNode, createVNode } from 'vue';

pauseTimeout() {
var _a;
if (this.pauseOnHover) {
this.timerControl?.pause();
(_a = this.timerControl) === null || _a === void 0 ? void 0 : _a.pause();
}
},
resumeTimeout() {
var _a;
if (this.pauseOnHover) {
this.timerControl?.resume();
(_a = this.timerControl) === null || _a === void 0 ? void 0 : _a.resume();
}
},
addItem(event = {}) {
event.group ||= '';
event.data ||= {};
event.group || (event.group = '');
event.data || (event.data = {});
if (this.group !== event.group) {

@@ -407,6 +409,7 @@ return;

notifyClass(item) {
var _a;
return [
'vue-notification-template',
this.classes,
item.type ?? '',
(_a = item.type) !== null && _a !== void 0 ? _a : '',
];

@@ -437,3 +440,4 @@ },

getAnimation(index, el) {
const animation = this.animation?.[index];
var _a;
const animation = (_a = this.animation) === null || _a === void 0 ? void 0 : _a[index];
return typeof animation === 'function'

@@ -440,0 +444,0 @@ ? animation.call(this, el)

{
"name": "@kyvg/vue3-notification",
"description": "Vue.js Notification Library",
"version": "2.2.5",
"version": "2.3.0",
"author": "kyvg",

@@ -6,0 +6,0 @@ "private": false,

@@ -1,2 +0,2 @@

[![npm](https://img.shields.io/npm/dm/vue-notification.svg)](https://www.npmjs.com/package/@kyvg/vue-notification)
[![npm](https://img.shields.io/npm/dm/@kyvg/vue3-notification)](https://www.npmjs.com/package/@kyvg/vue3-notification)

@@ -353,3 +353,3 @@ # Vue.js notifications

const app = createApp({...})
app.use(Notifications({ velocity }))
app.use(Notifications, { velocity ))
```

@@ -356,0 +356,0 @@

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