Socket
Socket
Sign inDemoInstall

vue-property-decorator

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-property-decorator - npm Package Compare versions

Comparing version 8.4.1 to 8.4.2

14

lib/vue-property-decorator.js

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

/** vue-property-decorator verson 8.4.1 MIT LICENSE copyright 2019 kaorun343 */
/** vue-property-decorator verson 8.4.2 MIT LICENSE copyright 2019 kaorun343 */
/// <reference types='reflect-metadata'/>

@@ -239,7 +239,15 @@ 'use strict';

else {
_this.$emit(emitName, args);
_this.$emit.apply(_this, [emitName].concat(args));
}
}
else {
_this.$emit(emitName, returnValue);
if (args.length === 0) {
_this.$emit(emitName, returnValue);
}
else if (args.length === 1) {
_this.$emit(emitName, returnValue, args[0]);
}
else {
_this.$emit.apply(_this, [emitName, returnValue].concat(args));
}
}

@@ -246,0 +254,0 @@ };

@@ -10,3 +10,3 @@ (function (global, factory) {

/** vue-property-decorator verson 8.4.1 MIT LICENSE copyright 2019 kaorun343 */
/** vue-property-decorator verson 8.4.2 MIT LICENSE copyright 2019 kaorun343 */
/** Used for keying reactive provide/inject properties */

@@ -241,7 +241,15 @@ var reactiveInjectKey = '__reactiveInject__';

else {
_this.$emit(emitName, args);
_this.$emit.apply(_this, [emitName].concat(args));
}
}
else {
_this.$emit(emitName, returnValue);
if (args.length === 0) {
_this.$emit(emitName, returnValue);
}
else if (args.length === 1) {
_this.$emit(emitName, returnValue, args[0]);
}
else {
_this.$emit.apply(_this, [emitName, returnValue].concat(args));
}
}

@@ -248,0 +256,0 @@ };

{
"name": "vue-property-decorator",
"version": "8.4.1",
"version": "8.4.2",
"description": "property decorators for Vue Component",

@@ -5,0 +5,0 @@ "main": "lib/vue-property-decorator.umd.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