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

vue-notifications

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-notifications - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

25

dist/vue-notifications.es5.js

@@ -85,3 +85,3 @@ ;(function(root, factory) {

config.type = typesObj[v];
// TODO (S.Panfilov) fix 'vueApp' in param
return showMessage(config, options);

@@ -95,15 +95,2 @@ };

// ///////////////////////////////////////////////////////////////////////
// TODO (S.Panfilov) We can't check if method already exist,
// cause it won't allow us to use same component more then one tine in the same page
// But it would be good to check somehow if it's already exist a method that was created not from this plugin
// if (options.methods[name]) {
// console.error(MESSAGES.methodNameConflict + name)
// } else {
// options.methods[name] = makeMethod(vueApp, name, options, pluginOptions)
// }
// ///////////////////////////////////////////////////////////////////////
if (!options.methods[name]) {

@@ -187,8 +174,2 @@ options.methods[name] = makeMethod(vueApp, name, options, pluginOptions);

installed: false,
/**
* Plugin | vue-notifications
* @param {Function} Vue
* @param {Object} pluginOptions
* @this VueNotifications
*/
install: function install(Vue) {

@@ -205,6 +186,2 @@ var pluginOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};

}
//TODO (S.Panfilov) add ability to access this.notifications.someError.message
//TODO (S.Panfilov) add "noCall:true" property
};

@@ -211,0 +188,0 @@

22

package.json
{
"name": "vue-notifications",
"version": "0.8.1",
"version": "0.8.2",
"description": "Vuejs notifications",
"main": "dist/vue-notifications.es5.js",
"scripts": {
"start": "gulp",
"build": "gulp make",
"start": "cross-env BABEL_ENV=dev && gulp",
"build": "cross-env BABEL_ENV=production && gulp make",
"docs": "cd ./docs gitbook build ./html",
"docs:to:gh": "cpx './docs/**' ../dev-server/docs",
"update": "ncu -a && yarn upgrade",
"upgrade": "yarn upgrade",
"test": "mocha --compilers js:babel-core/register ./test/**/*.spec.js",
"lint": "./node_modules/eslint/bin/eslint.js ./src"
"test": "cross-env BABEL_ENV=test && mocha --compilers js:babel-core/register ./test/**/*.spec.js",
"lint": "./node_modules/eslint/bin/eslint.js ./src",
"sizes": "gulp sizes"
},

@@ -24,2 +27,3 @@ "repository": {

"notifications",
"notification",
"vuejs",

@@ -53,3 +57,5 @@ "vue.js",

"chai": "4.1.2",
"eslint": "4.6.1",
"cpx": "1.5.0",
"cross-env": "^5.0.5",
"eslint": "4.7.1",
"eslint-config-standard": "10.2.1",

@@ -77,4 +83,4 @@ "eslint-friendly-formatter": "3.0.0",

"require-dir": "0.3.2",
"run-sequence": "2.1.0",
"sinon": "3.2.1",
"run-sequence": "2.2.0",
"sinon": "3.3.0",
"sinon-chai": "2.13.0",

@@ -81,0 +87,0 @@ "source": "0.0.3",

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