vue-property-decorator
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -1,2 +0,2 @@ | ||
/* vue-property-decorator verson 3.2.0 MIT LICENSE copyright 2016 kaorun343 */ | ||
/* vue-property-decorator verson 3.2.1 MIT LICENSE copyright 2016 kaorun343 */ | ||
"use strict"; | ||
@@ -25,3 +25,6 @@ var vue_class_component_1 = require("vue-class-component"); | ||
return vue_class_component_1.createDecorator(function (componentOptions, handler) { | ||
(componentOptions.watch || (componentOptions.watch = {}))[path] = { handler: handler, deep: deep, immediate: immediate }; | ||
if (typeof componentOptions.watch !== 'object') { | ||
componentOptions.watch = Object.create(null); | ||
} | ||
componentOptions.watch[path] = { handler: handler, deep: deep, immediate: immediate }; | ||
}); | ||
@@ -28,0 +31,0 @@ } |
{ | ||
"name": "vue-property-decorator", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "property decorators for Vue Component", | ||
@@ -5,0 +5,0 @@ "main": "lib/vue-property-decorator.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5080
50