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

vue-class-component

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-class-component - npm Package Compare versions

Comparing version 6.3.1 to 6.3.2

4

dist/vue-class-component.common.js
/**
* vue-class-component v6.3.1
* vue-class-component v6.3.2
* (c) 2015-present Evan You

@@ -14,3 +14,3 @@ * @license MIT

var reflectionIsSupported = typeof Reflect !== undefined && Reflect.defineMetadata;
var reflectionIsSupported = typeof Reflect !== 'undefined' && Reflect.defineMetadata;
function copyReflectionMetadata(to, from) {

@@ -17,0 +17,0 @@ forwardMetadata(to, from);

/**
* vue-class-component v6.3.1
* vue-class-component v6.3.2
* (c) 2015-present Evan You

@@ -14,3 +14,3 @@ * @license MIT

var reflectionIsSupported = typeof Reflect !== undefined && Reflect.defineMetadata;
var reflectionIsSupported = typeof Reflect !== 'undefined' && Reflect.defineMetadata;
function copyReflectionMetadata(to, from) {

@@ -17,0 +17,0 @@ forwardMetadata(to, from);

/**
* vue-class-component v6.3.1
* vue-class-component v6.3.2
* (c) 2015-present Evan You
* @license MIT
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t(e.VueClassComponent={},e.Vue)}(this,function(e,d){"use strict";d=d&&d.hasOwnProperty("default")?d.default:d;var y=void 0!==typeof Reflect&&Reflect.defineMetadata;function v(r,o,n){(n?Reflect.getOwnMetadataKeys(o,n):Reflect.getOwnMetadataKeys(o)).forEach(function(e){var t=n?Reflect.getOwnMetadata(e,o,n):Reflect.getOwnMetadata(e,o);n?Reflect.defineMetadata(e,t,r,n):Reflect.defineMetadata(e,t,r)})}var O={__proto__:[]}instanceof Array;var _=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured"];function r(e,o){void 0===o&&(o={}),o.name=o.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach(function(t){if("constructor"!==t)if(-1<_.indexOf(t))o[t]=n[t];else{var r=Object.getOwnPropertyDescriptor(n,t);void 0!==r.value?"function"==typeof r.value?(o.methods||(o.methods={}))[t]=r.value:(o.mixins||(o.mixins=[])).push({data:function(){var e;return(e={})[t]=r.value,e}}):(r.get||r.set)&&((o.computed||(o.computed={}))[t]={get:r.get,set:r.set})}}),(o.mixins||(o.mixins=[])).push({data:function(){return function(o,e){var t=e.prototype._init;e.prototype._init=function(){var e=this,t=Object.getOwnPropertyNames(o);if(o.$options.props)for(var r in o.$options.props)o.hasOwnProperty(r)||t.push(r);t.forEach(function(t){"_"!==t.charAt(0)&&Object.defineProperty(e,t,{get:function(){return o[t]},set:function(e){o[t]=e},configurable:!0})})};var r=new e;e.prototype._init=t;var n={};return Object.keys(r).forEach(function(e){void 0!==r[e]&&(n[e]=r[e])}),n}(this,e)}});var t=e.__decorators__;t&&(t.forEach(function(e){return e(o)}),delete e.__decorators__);var c,i,f,r,a,u=Object.getPrototypeOf(e.prototype),p=u instanceof d?u.constructor:d,s=p.extend(o);return c=s,i=e,f=p,Object.getOwnPropertyNames(i).forEach(function(e){if("prototype"!==e){var t=Object.getOwnPropertyDescriptor(c,e);if(!t||t.configurable){var r,o,n=Object.getOwnPropertyDescriptor(i,e);if(!O){if("cid"===e)return;var a=Object.getOwnPropertyDescriptor(f,e);if(r=n.value,o=typeof r,null!=r&&("object"===o||"function"===o)&&a&&a.value===n.value)return}Object.defineProperty(c,e,n)}}}),y&&(v(r=s,a=e),Object.getOwnPropertyNames(a.prototype).forEach(function(e){v(r.prototype,a.prototype,e)}),Object.getOwnPropertyNames(a).forEach(function(e){v(r,a,e)})),s}function t(t){return"function"==typeof t?r(t):function(e){return r(e,t)}}t.registerHooks=function(e){_.push.apply(_,e)},e.default=t,e.createDecorator=function(n){return function(e,t,r){var o="function"==typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!=typeof r&&(r=void 0),o.__decorators__.push(function(e){return n(e,t,r)})}},e.mixins=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return d.extend({mixins:e})},Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vue")):"function"==typeof define&&define.amd?define(["exports","vue"],t):t(e.VueClassComponent={},e.Vue)}(this,function(e,d){"use strict";d=d&&d.hasOwnProperty("default")?d.default:d;var y="undefined"!=typeof Reflect&&Reflect.defineMetadata;function v(r,o,n){(n?Reflect.getOwnMetadataKeys(o,n):Reflect.getOwnMetadataKeys(o)).forEach(function(e){var t=n?Reflect.getOwnMetadata(e,o,n):Reflect.getOwnMetadata(e,o);n?Reflect.defineMetadata(e,t,r,n):Reflect.defineMetadata(e,t,r)})}var O={__proto__:[]}instanceof Array;var _=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured"];function r(e,o){void 0===o&&(o={}),o.name=o.name||e._componentTag||e.name;var n=e.prototype;Object.getOwnPropertyNames(n).forEach(function(t){if("constructor"!==t)if(-1<_.indexOf(t))o[t]=n[t];else{var r=Object.getOwnPropertyDescriptor(n,t);void 0!==r.value?"function"==typeof r.value?(o.methods||(o.methods={}))[t]=r.value:(o.mixins||(o.mixins=[])).push({data:function(){var e;return(e={})[t]=r.value,e}}):(r.get||r.set)&&((o.computed||(o.computed={}))[t]={get:r.get,set:r.set})}}),(o.mixins||(o.mixins=[])).push({data:function(){return function(o,e){var t=e.prototype._init;e.prototype._init=function(){var e=this,t=Object.getOwnPropertyNames(o);if(o.$options.props)for(var r in o.$options.props)o.hasOwnProperty(r)||t.push(r);t.forEach(function(t){"_"!==t.charAt(0)&&Object.defineProperty(e,t,{get:function(){return o[t]},set:function(e){o[t]=e},configurable:!0})})};var r=new e;e.prototype._init=t;var n={};return Object.keys(r).forEach(function(e){void 0!==r[e]&&(n[e]=r[e])}),n}(this,e)}});var t=e.__decorators__;t&&(t.forEach(function(e){return e(o)}),delete e.__decorators__);var c,i,f,r,a,u=Object.getPrototypeOf(e.prototype),p=u instanceof d?u.constructor:d,s=p.extend(o);return c=s,i=e,f=p,Object.getOwnPropertyNames(i).forEach(function(e){if("prototype"!==e){var t=Object.getOwnPropertyDescriptor(c,e);if(!t||t.configurable){var r,o,n=Object.getOwnPropertyDescriptor(i,e);if(!O){if("cid"===e)return;var a=Object.getOwnPropertyDescriptor(f,e);if(r=n.value,o=typeof r,null!=r&&("object"===o||"function"===o)&&a&&a.value===n.value)return}Object.defineProperty(c,e,n)}}}),y&&(v(r=s,a=e),Object.getOwnPropertyNames(a.prototype).forEach(function(e){v(r.prototype,a.prototype,e)}),Object.getOwnPropertyNames(a).forEach(function(e){v(r,a,e)})),s}function t(t){return"function"==typeof t?r(t):function(e){return r(e,t)}}t.registerHooks=function(e){_.push.apply(_,e)},e.default=t,e.createDecorator=function(n){return function(e,t,r){var o="function"==typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!=typeof r&&(r=void 0),o.__decorators__.push(function(e){return n(e,t,r)})}},e.mixins=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return d.extend({mixins:e})},Object.defineProperty(e,"__esModule",{value:!0})});

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

export var reflectionIsSupported = typeof Reflect !== undefined && Reflect.defineMetadata;
export var reflectionIsSupported = typeof Reflect !== 'undefined' && Reflect.defineMetadata;
export function copyReflectionMetadata(to, from) {

@@ -3,0 +3,0 @@ forwardMetadata(to, from);

{
"name": "vue-class-component",
"version": "6.3.1",
"version": "6.3.2",
"description": "ES201X/TypeScript class decorator for Vue components",

@@ -5,0 +5,0 @@ "main": "dist/vue-class-component.common.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