decorator-decorator
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -1,1 +0,1 @@ | ||
!function(a){function b(a,b,e){return 4===arguments.length?c.apply(this,arguments):void d(a,{declarative:!0,deps:b,declare:e})}function c(a,b,c,e){d(a,{declarative:!1,deps:b,executingRequire:c,execute:e})}function d(a,b){b.name=a,a in n||(n[a]=b),b.normalizedDeps=b.deps}function e(a,b){if(b[a.groupIndex]=b[a.groupIndex]||[],-1==o.call(b[a.groupIndex],a)){b[a.groupIndex].push(a);for(var c=0,d=a.normalizedDeps.length;d>c;c++){var f=a.normalizedDeps[c],g=n[f];if(g&&!g.evaluated){var h=a.groupIndex+(g.declarative!=a.declarative);if(void 0===g.groupIndex||g.groupIndex<h){if(void 0!==g.groupIndex&&(b[g.groupIndex].splice(o.call(b[g.groupIndex],g),1),0==b[g.groupIndex].length))throw new TypeError("Mixed dependency cycle detected");g.groupIndex=h}e(g,b)}}}}function f(a){var b=n[a];b.groupIndex=0;var c=[];e(b,c);for(var d=!!b.declarative==c.length%2,f=c.length-1;f>=0;f--){for(var g=c[f],i=0;i<g.length;i++){var k=g[i];d?h(k):j(k)}d=!d}}function g(a){return s[a]||(s[a]={name:a,dependencies:[],exports:{},importers:[]})}function h(b){if(!b.module){var c=b.module=g(b.name),d=b.module.exports,e=b.declare.call(a,function(a,b){if(c.locked=!0,"object"==typeof a)for(var e in a)d[e]=a[e];else d[a]=b;for(var f=0,g=c.importers.length;g>f;f++){var h=c.importers[f];if(!h.locked)for(var i=0;i<h.dependencies.length;++i)h.dependencies[i]===c&&h.setters[i](d)}return c.locked=!1,b},b.name);c.setters=e.setters,c.execute=e.execute;for(var f=0,i=b.normalizedDeps.length;i>f;f++){var j,k=b.normalizedDeps[f],l=n[k],o=s[k];o?j=o.exports:l&&!l.declarative?j=l.esModule:l?(h(l),o=l.module,j=o.exports):j=m(k),o&&o.importers?(o.importers.push(c),c.dependencies.push(o)):c.dependencies.push(null),c.setters[f]&&c.setters[f](j)}}}function i(a){var b,c=n[a];if(c)c.declarative?l(a,[]):c.evaluated||j(c),b=c.module.exports;else if(b=m(a),!b)throw new Error("Unable to load dependency "+a+".");return(!c||c.declarative)&&b&&b.__useDefault?b["default"]:b}function j(b){if(!b.module){var c={},d=b.module={exports:c,id:b.name};if(!b.executingRequire)for(var e=0,f=b.normalizedDeps.length;f>e;e++){var g=b.normalizedDeps[e],h=n[g];h&&j(h)}b.evaluated=!0;var l=b.execute.call(a,function(a){for(var c=0,d=b.deps.length;d>c;c++)if(b.deps[c]==a)return i(b.normalizedDeps[c]);throw new TypeError("Module "+a+" not declared as a dependency.")},c,d);l&&(d.exports=l),c=d.exports,c&&c.__esModule?b.esModule=c:b.esModule=k(c)}}function k(b){if(b===a)return b;var c={};if("object"==typeof b||"function"==typeof b)if(p){var d;for(var e in b)(d=Object.getOwnPropertyDescriptor(b,e))&&r(c,e,d)}else{var f=b&&b.hasOwnProperty;for(var e in b)(!f||b.hasOwnProperty(e))&&(c[e]=b[e])}return c["default"]=b,r(c,"__useDefault",{value:!0}),c}function l(b,c){var d=n[b];if(d&&!d.evaluated&&d.declarative){c.push(b);for(var e=0,f=d.normalizedDeps.length;f>e;e++){var g=d.normalizedDeps[e];-1==o.call(c,g)&&(n[g]?l(g,c):m(g))}d.evaluated||(d.evaluated=!0,d.module.execute.call(a))}}function m(a){if(u[a])return u[a];if("@node/"==a.substr(0,6))return t(a.substr(6));var b=n[a];if(!b)throw"Module "+a+" not present.";return f(a),l(a,[]),n[a]=void 0,b.declarative&&r(b.module.exports,"__esModule",{value:!0}),u[a]=b.declarative?b.module.exports:b.esModule}var n={},o=Array.prototype.indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(this[b]===a)return b;return-1},p=!0;try{Object.getOwnPropertyDescriptor({a:0},"a")}catch(q){p=!1}var r;!function(){try{Object.defineProperty({},"a",{})&&(r=Object.defineProperty)}catch(a){r=function(a,b,c){try{a[b]=c.value||c.get.call(a)}catch(d){}}}}();var s={},t="undefined"!=typeof System&&System._nodeRequire||"undefined"!=typeof require&&require.resolve&&"undefined"!=typeof process&&require,u={"@empty":{}};return function(a,d,e){return function(f){f(function(f){for(var g={_nodeRequire:t,register:b,registerDynamic:c,get:m,set:function(a,b){u[a]=b},newModule:function(a){return a}},h=0;h<d.length;h++)(function(a,b){b&&b.__esModule?u[a]=b:u[a]=k(b)})(d[h],arguments[h]);e(g);var i=m(a[0]);if(a.length>1)for(var h=1;h<a.length;h++)m(a[h]);return i.__useDefault?i["default"]:i})}}}("undefined"!=typeof self?self:global)(["1"],[],function(a){!function(){var b=a;if("undefined"!=typeof window&&"undefined"!=typeof document&&window.location)var c=location.protocol+"//"+location.hostname+(location.port?":"+location.port:"");b.set("@@cjs-helpers",b.newModule({getPathVars:function(a){var b,d=a.lastIndexOf("!");b=-1!=d?a.substr(0,d):a;var e=b.split("/");return e.pop(),e=e.join("/"),"file:///"==b.substr(0,8)?(b=b.substr(7),e=e.substr(7),isWindows&&(b=b.substr(1),e=e.substr(1))):c&&b.substr(0,c.length)===c&&(b=b.substr(c.length),e=e.substr(c.length)),{filename:b,dirname:e}}}))}(),a.registerDynamic("@system-env",[],!1,function(){return{production:!0,browser:!0,node:!1}}),a.registerDynamic("2",["@system-env"],!0,function(a,b,c){function d(){n=!1,j.length?m=j.concat(m):o=-1,m.length&&e()}function e(){if(!n){var a=setTimeout(d);n=!0;for(var b=m.length;b;){for(j=m,m=[];++o<b;)j&&j[o].run();o=-1,b=m.length}j=null,n=!1,clearTimeout(a)}}function f(a,b){this.fun=a,this.array=b}function g(){}var h=this,i=h.define;h.define=void 0;var j,k=a("@system-env").production,l=c.exports={},m=[],n=!1,o=-1;return l.nextTick=function(a){var b=new Array(arguments.length-1);if(arguments.length>1)for(var c=1;c<arguments.length;c++)b[c-1]=arguments[c];m.push(new f(a,b)),1!==m.length||n||setTimeout(e,0)},f.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={NODE_ENV:k?"production":"development"},l.argv=[],l.version="",l.versions={},l.on=g,l.addListener=g,l.once=g,l.off=g,l.removeListener=g,l.removeAllListeners=g,l.emit=g,l.binding=function(a){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(a){throw new Error("process.chdir is not supported")},l.umask=function(){return 0},h.define=i,c.exports}),a.registerDynamic("3",["2"],!0,function(a,b,c){var d=(a("2"),this),e=d.define;return d.define=void 0,function(a){"use strict";function c(a){return/^(get|set|value|writable|enumerable|configurable)$/.test(a)}function d(a){if(Object(a)!==a)throw new TypeError("property descriptor should be an Object, given: "+a);var b={};if("enumerable"in a&&(b.enumerable=!!a.enumerable),"configurable"in a&&(b.configurable=!!a.configurable),"value"in a&&(b.value=a.value),"writable"in a&&(b.writable=!!a.writable),"get"in a){var c=a.get;if(void 0!==c&&"function"!=typeof c)throw new TypeError("property descriptor 'get' attribute must be callable or undefined, given: "+c);b.get=c}if("set"in a){var d=a.set;if(void 0!==d&&"function"!=typeof d)throw new TypeError("property descriptor 'set' attribute must be callable or undefined, given: "+d);b.set=d}if(("get"in b||"set"in b)&&("value"in b||"writable"in b))throw new TypeError("property descriptor cannot be both a data and an accessor descriptor: "+a);return b}function e(a){return void 0===a?!1:"get"in a||"set"in a}function f(a){return void 0===a?!1:"value"in a||"writable"in a}function g(a){return void 0===a?!1:!e(a)&&!f(a)}function h(a){var b=d(a);return g(b)||f(b)?("value"in b||(b.value=void 0),"writable"in b||(b.writable=!1)):("get"in b||(b.get=void 0),"set"in b||(b.set=void 0)),"enumerable"in b||(b.enumerable=!1),"configurable"in b||(b.configurable=!1),b}function i(a){return!("get"in a||"set"in a||"value"in a||"writable"in a||"enumerable"in a||"configurable"in a)}function j(a,b){return k(a.get,b.get)&&k(a.set,b.set)&&k(a.value,b.value)&&k(a.writable,b.writable)&&k(a.enumerable,b.enumerable)&&k(a.configurable,b.configurable)}function k(a,b){return a===b?0!==a||1/a===1/b:a!==a&&b!==b}function l(a){if(void 0!==a){var b=h(a);for(var d in a)c(d)||Object.defineProperty(b,d,{value:a[d],writable:!0,enumerable:!0,configurable:!0});return b}}function m(a){var b=d(a);for(var e in a)c(e)||Object.defineProperty(b,e,{value:a[e],writable:!0,enumerable:!0,configurable:!0});return b}function n(a,b){return{}.hasOwnProperty.call(b,a)}function o(a,b){var c=Object.getOwnPropertyDescriptor(b,a);return void 0===c?!1:c.configurable===!1}function p(a){return void 0!==a&&a.configurable===!1}function q(a,b,c){if(void 0===b&&a===!1)return!1;if(void 0===b&&a===!0)return!0;if(i(c))return!0;if(j(b,c))return!0;if(b.configurable===!1){if(c.configurable===!0)return!1;if("enumerable"in c&&c.enumerable!==b.enumerable)return!1}if(g(c))return!0;if(f(b)!==f(c))return b.configurable===!1?!1:!0;if(f(b)&&f(c)){if(b.configurable===!1){if(b.writable===!1&&c.writable===!0)return!1;if(b.writable===!1&&"value"in c&&!k(c.value,b.value))return!1}return!0}if(e(b)&&e(c)&&b.configurable===!1){if("set"in c&&!k(c.set,b.set))return!1;if("get"in c&&!k(c.get,b.get))return!1}return!0}function r(a,b){var c=C(a),d=void 0;if("sealed"===b)for(var f,g=+c.length,h=0;g>h;h++){f=String(c[h]);try{Object.defineProperty(a,f,{configurable:!1})}catch(i){void 0===d&&(d=i)}}else for(var f,g=+c.length,h=0;g>h;h++){f=String(c[h]);try{var j=Object.getOwnPropertyDescriptor(a,f);if(void 0!==j){var k;k=e(j)?{configurable:!1}:{configurable:!1,writable:!1},Object.defineProperty(a,f,k)}}catch(i){void 0===d&&(d=i)}}if(void 0!==d)throw d;return S.preventExtensions(a)}function s(a,b){var c=A(a);if(c)return!1;for(var d,e,g=C(a),h=void 0,i=!1,j=!1,k=+g.length,l=0;k>l;l++){d=String(g[l]);try{e=Object.getOwnPropertyDescriptor(a,d),i=i||e.configurable,f(e)&&(j=j||e.writable)}catch(m){void 0===h&&(h=m,i=!0)}}if(void 0!==h)throw h;return"frozen"===b&&j===!0?!1:i===!0?!1:!0}function t(a,b){this.target=a,this.handler=b}function u(a){var b=typeof a;return"object"===b&&null!==a||"function"===b}function v(a,b){return u(b)?a.get(b):void 0}function w(a){return function b(){var c=v(P,this);return void 0!==c?b.call(c.target):a.call(this)}}function x(a){var b=v(P,a);return void 0!==b?Array.isArray(b.target):!1}"undefined"==typeof WeakMap&&(a.WeakMap=function(){},a.WeakMap.prototype={get:function(a){},set:function(a,b){throw new Error("WeakMap not supported")}});var y,z,A,B,C,D=Object.preventExtensions,E=(Object.seal,Object.freeze,Object.isExtensible),F=(Object.isSealed,Object.isFrozen,Object.getPrototypeOf),G=Object.getOwnPropertyDescriptor,H=Object.defineProperty,I=Object.defineProperties,J=Object.keys,K=Object.getOwnPropertyNames,L=Array.isArray,M=Array.prototype.concat,N=Object.prototype.isPrototypeOf,O=Object.prototype.hasOwnProperty;t.prototype={getTrap:function(a){var b=this.handler[a];if(void 0!==b){if("function"!=typeof b)throw new TypeError(a+" trap is not callable: "+b);return b}},getOwnPropertyDescriptor:function(a){var b=this.getTrap("getOwnPropertyDescriptor");if(void 0===b)return S.getOwnPropertyDescriptor(this.target,a);a=String(a);var c=b.call(this.handler,this.target,a);c=l(c);var d=Object.getOwnPropertyDescriptor(this.target,a),e=Object.isExtensible(this.target);if(void 0!==c){if(!e&&void 0===d)throw new TypeError("cannot report a new own property '"+a+"' on a non-extensible object");if(void 0!==a&&!q(e,d,c))throw new TypeError("cannot report incompatible property descriptor for property '"+a+"'");if(c.configurable===!1&&!p(d))throw new TypeError("cannot report a non-configurable descriptor for configurable or non-existent property '"+a+"'");return c}if(p(d))throw new TypeError("cannot report non-configurable property '"+a+"' as non-existent");if(!e&&void 0!==d)throw new TypeError("cannot report existing own property '"+a+"' as non-existent on a non-extensible object")},getPropertyDescriptor:function(a){var b=this;if(b.has(a))return{get:function(){return b.get(this,a)},set:function(c){if(b.set(this,a,c))return c;throw new TypeError("failed assignment to "+a)},enumerable:!0,configurable:!0}},defineProperty:function(a,b){var c=this.getTrap("defineProperty");if(void 0===c)return S.defineProperty(this.target,a,b);a=String(a),b=m(b);var d=c.call(this.handler,this.target,a,b);if(d=!!d,d===!0){var e=Object.getOwnPropertyDescriptor(this.target,a),f=Object.isExtensible(this.target);if(!f&&void 0===e)throw new TypeError("cannot successfully add a new property '"+a+"' to a non-extensible object");if(void 0!==e&&!q(f,e,b))throw new TypeError("cannot define incompatible property descriptor for property '"+a+"'");if(b.configurable===!1&&!p(e))throw new TypeError("cannot successfully define a non-configurable descriptor for configurable or non-existent property '"+a+"'")}return d},preventExtensions:function(){var a=this.getTrap("preventExtensions");if(void 0===a)return S.preventExtensions(this.target);var b=a.call(this.handler,this.target);if(b=!!b,b&&A(this.target))throw new TypeError("can't report extensible object as non-extensible: "+this.target);return b},"delete":function(a){var b=this.getTrap("deleteProperty");if(void 0===b)return S.deleteProperty(this.target,a);a=String(a);var c=b.call(this.handler,this.target,a);if(c=!!c,c===!0&&o(a,this.target))throw new TypeError("property '"+a+"' is non-configurable and can't be deleted");return c},getOwnPropertyNames:function(){return console.warn("getOwnPropertyNames trap is deprecated. Use ownKeys instead"),this.ownKeys()},ownKeys:function(){var a=this.getTrap("ownKeys");if(void 0===a)return S.ownKeys(this.target);for(var b=a.call(this.handler,this.target),c=Object.create(null),d=+b.length,e=new Array(d),f=0;d>f;f++){var g=String(b[f]);if(!Object.isExtensible(this.target)&&!n(g,this.target))throw new TypeError("ownKeys trap cannot list a new property '"+g+"' on a non-extensible object");c[g]=!0,e[f]=g}var h=C(this.target),i=this.target;return h.forEach(function(a){if(!c[a]){if(o(a,i))throw new TypeError("ownKeys trap failed to include non-configurable property '"+a+"'");if(!Object.isExtensible(i)&&n(a,i))throw new TypeError("ownKeys trap cannot report existing own property '"+a+"' as non-existent on a non-extensible object")}}),e},isExtensible:function(){var a=this.getTrap("isExtensible");if(void 0===a)return S.isExtensible(this.target);var b=a.call(this.handler,this.target);b=!!b;var c=A(this.target);if(b!==c)throw b?new TypeError("cannot report non-extensible object as extensible: "+this.target):new TypeError("cannot report extensible object as non-extensible: "+this.target);return c},getPrototypeOf:function(){var a=this.getTrap("getPrototypeOf");if(void 0===a)return S.getPrototypeOf(this.target);var b=a.call(this.handler,this.target);if(!A(this.target)){var c=B(this.target);if(!k(b,c))throw new TypeError("prototype value does not match: "+this.target)}return b},setPrototypeOf:function(a){var b=this.getTrap("setPrototypeOf");if(void 0===b)return S.setPrototypeOf(this.target,a);var c=b.call(this.handler,this.target,a);if(c=!!c,c&&!A(this.target)){var d=B(this.target);if(!k(a,d))throw new TypeError("prototype value does not match: "+this.target)}return c},getPropertyNames:function(){throw new TypeError("getPropertyNames trap is deprecated")},has:function(a){var b=this.getTrap("has");if(void 0===b)return S.has(this.target,a);a=String(a);var c=b.call(this.handler,this.target,a);if(c=!!c,c===!1){if(o(a,this.target))throw new TypeError("cannot report existing non-configurable own property '"+a+"' as a non-existent property");if(!Object.isExtensible(this.target)&&n(a,this.target))throw new TypeError("cannot report existing own property '"+a+"' as non-existent on a non-extensible object")}return c},get:function(a,b){var c=this.getTrap("get");if(void 0===c)return S.get(this.target,b,a);b=String(b);var d=c.call(this.handler,this.target,b,a),g=Object.getOwnPropertyDescriptor(this.target,b);if(void 0!==g)if(f(g)&&g.configurable===!1&&g.writable===!1){if(!k(d,g.value))throw new TypeError("cannot report inconsistent value for non-writable, non-configurable property '"+b+"'")}else if(e(g)&&g.configurable===!1&&void 0===g.get&&void 0!==d)throw new TypeError("must report undefined for non-configurable accessor property '"+b+"' without getter");return d},set:function(a,b,c){var d=this.getTrap("set");if(void 0===d)return S.set(this.target,b,c,a);b=String(b);var g=d.call(this.handler,this.target,b,c,a);if(g=!!g,g===!0){var h=Object.getOwnPropertyDescriptor(this.target,b);if(void 0!==h)if(f(h)&&h.configurable===!1&&h.writable===!1){if(!k(c,h.value))throw new TypeError("cannot successfully assign to a non-writable, non-configurable property '"+b+"'")}else if(e(h)&&h.configurable===!1&&void 0===h.set)throw new TypeError("setting a property '"+b+"' that has only a getter")}return g},enumerate:function(){var a=this.getTrap("enumerate");if(void 0===a){for(var b=S.enumerate(this.target),c=[],d=b.next();!d.done;)c.push(String(d.value)),d=b.next();return c}var b=a.call(this.handler,this.target);if(null===b||void 0===b||void 0===b.next)throw new TypeError("enumerate trap should return an iterator, got: "+b);for(var e=Object.create(null),c=[],d=b.next();!d.done;){var f=String(d.value);if(e[f])throw new TypeError("enumerate trap cannot list a duplicate property '"+f+"'");e[f]=!0,c.push(f),d=b.next()}var g=Object.keys(this.target),h=this.target;return g.forEach(function(a){if(!e[a]){if(o(a,h))throw new TypeError("enumerate trap failed to include non-configurable enumerable property '"+a+"'");if(!Object.isExtensible(h)&&n(a,h))throw new TypeError("cannot report existing own property '"+a+"' as non-existent on a non-extensible object")}}),c},iterate:t.prototype.enumerate,apply:function(a,b,c){var d=this.getTrap("apply");if(void 0===d)return S.apply(a,b,c);if("function"==typeof this.target)return d.call(this.handler,a,b,c);throw new TypeError("apply: "+a+" is not a function")},construct:function(a,b,c){var d=this.getTrap("construct");if(void 0===d)return S.construct(a,b,c);if("function"!=typeof a)throw new TypeError("new: "+a+" is not a function");if(void 0===c)c=a;else if("function"!=typeof c)throw new TypeError("new: "+c+" is not a function");return d.call(this.handler,a,b,c)}};var P=new WeakMap;Object.preventExtensions=function(a){var b=P.get(a);if(void 0!==b){if(b.preventExtensions())return a;throw new TypeError("preventExtensions on "+a+" rejected")}return D(a)},Object.seal=function(a){return r(a,"sealed"),a},Object.freeze=function(a){return r(a,"frozen"),a},Object.isExtensible=A=function(a){var b=P.get(a);return void 0!==b?b.isExtensible():E(a)},Object.isSealed=z=function(a){return s(a,"sealed")},Object.isFrozen=y=function(a){return s(a,"frozen")},Object.getPrototypeOf=B=function(a){var b=P.get(a);return void 0!==b?b.getPrototypeOf():F(a)},Object.getOwnPropertyDescriptor=function(a,b){var c=P.get(a);return void 0!==c?c.getOwnPropertyDescriptor(b):G(a,b)},Object.defineProperty=function(a,b,c){var d=P.get(a);if(void 0!==d){var e=m(c),f=d.defineProperty(b,e);if(f===!1)throw new TypeError("can't redefine property '"+b+"'");return a}return H(a,b,c)},Object.defineProperties=function(a,b){var c=P.get(a);if(void 0!==c){for(var d=Object.keys(b),e=0;e<d.length;e++){var f=d[e],g=m(b[f]),h=c.defineProperty(f,g);if(h===!1)throw new TypeError("can't redefine property '"+f+"'")}return a}return I(a,b)},Object.keys=function(a){var b=P.get(a);if(void 0!==b){for(var c=b.ownKeys(),d=[],e=0;e<c.length;e++){var f=String(c[e]),g=Object.getOwnPropertyDescriptor(a,f);void 0!==g&&g.enumerable===!0&&d.push(f)}return d}return J(a)},Object.getOwnPropertyNames=C=function(a){var b=P.get(a);return void 0!==b?b.ownKeys():K(a)},Object.prototype.valueOf=w(Object.prototype.valueOf),Object.prototype.toString=w(Object.prototype.toString),Function.prototype.toString=w(Function.prototype.toString),Date.prototype.toString=w(Date.prototype.toString),Object.prototype.isPrototypeOf=function(a){for(;;){var b=v(P,a);if(void 0===b)return N.call(this,a);if(a=b.getPrototypeOf(),null===a)return!1;if(k(a,this))return!0}},Array.isArray=function(a){var b=v(P,a);return void 0!==b?Array.isArray(b.target):L(a)},Array.prototype.concat=function(){for(var a,b=0;b<arguments.length;b++)x(arguments[b])&&(a=arguments[b].length,arguments[b]=Array.prototype.slice.call(arguments[b],0,a));return M.apply(this,arguments)};var Q=Object.setPrototypeOf,R=function(){var a=G(Object.prototype,"__proto__");if(void 0===a||"function"!=typeof a.set)return function(){throw new TypeError("setPrototypeOf not supported on this platform")};try{a.set.call({},{})}catch(b){return function(){throw new TypeError("setPrototypeOf not supported on this platform")}}return H(Object.prototype,"__proto__",{set:function(a){return Object.setPrototypeOf(this,a)}}),a.set}();Object.setPrototypeOf=function(a,b){var c=P.get(a);if(void 0!==c){if(c.setPrototypeOf(b))return a;throw new TypeError("proxy rejected prototype mutation")}if(!A(a))throw new TypeError("can't set prototype on non-extensible object: "+a);if(Q)return Q(a,b);if(Object(b)!==b||null===b)throw new TypeError("Object prototype may only be an Object or null: "+b);return R.call(a,b),a},Object.prototype.hasOwnProperty=function(a){var b=v(P,this);if(void 0!==b){var c=b.getOwnPropertyDescriptor(a);return void 0!==c}return O.call(this,a)};var S=a.Reflect={getOwnPropertyDescriptor:function(a,b){return Object.getOwnPropertyDescriptor(a,b)},defineProperty:function(a,b,c){var d=P.get(a);if(void 0!==d)return d.defineProperty(a,b,c);var h=Object.getOwnPropertyDescriptor(a,b),l=Object.isExtensible(a);if(void 0===h&&l===!1)return!1;if(void 0===h&&l===!0)return Object.defineProperty(a,b,c),!0;if(i(c))return!0;if(j(h,c))return!0;if(h.configurable===!1){if(c.configurable===!0)return!1;if("enumerable"in c&&c.enumerable!==h.enumerable)return!1}if(g(c));else if(f(h)!==f(c)){if(h.configurable===!1)return!1}else if(f(h)&&f(c)){if(h.configurable===!1){if(h.writable===!1&&c.writable===!0)return!1;if(h.writable===!1&&"value"in c&&!k(c.value,h.value))return!1}}else if(e(h)&&e(c)&&h.configurable===!1){if("set"in c&&!k(c.set,h.set))return!1;if("get"in c&&!k(c.get,h.get))return!1}return Object.defineProperty(a,b,c),!0},deleteProperty:function(a,b){var c=P.get(a);if(void 0!==c)return c["delete"](b);var d=Object.getOwnPropertyDescriptor(a,b);return void 0===d?!0:d.configurable===!0?(delete a[b],!0):!1},getPrototypeOf:function(a){return Object.getPrototypeOf(a)},setPrototypeOf:function(a,b){var c=P.get(a);if(void 0!==c)return c.setPrototypeOf(b);if(Object(b)!==b||null===b)throw new TypeError("Object prototype may only be an Object or null: "+b);if(!A(a))return!1;var d=Object.getPrototypeOf(a);if(k(d,b))return!0;if(Q)try{return Q(a,b),!0}catch(e){return!1}return R.call(a,b),!0},preventExtensions:function(a){var b=P.get(a);return void 0!==b?b.preventExtensions():(D(a),!0)},isExtensible:function(a){return Object.isExtensible(a)},has:function(a,b){return b in a},get:function(a,b,c){c=c||a;var d=P.get(a);if(void 0!==d)return d.get(c,b);var e=Object.getOwnPropertyDescriptor(a,b);if(void 0===e){var g=Object.getPrototypeOf(a);if(null===g)return;return S.get(g,b,c)}if(f(e))return e.value;var h=e.get;if(void 0!==h)return e.get.call(c)},set:function(a,b,c,d){d=d||a;var f=P.get(a);if(void 0!==f)return f.set(d,b,c);var g=Object.getOwnPropertyDescriptor(a,b);if(void 0===g){var h=Object.getPrototypeOf(a);if(null!==h)return S.set(h,b,c,d);g={value:void 0,writable:!0,enumerable:!0,configurable:!0}}if(e(g)){var i=g.set;return void 0===i?!1:(i.call(d,c),!0)}if(g.writable===!1)return!1;var j=Object.getOwnPropertyDescriptor(d,b);if(void 0!==j){var k={value:c,writable:j.writable,enumerable:j.enumerable,configurable:j.configurable};return Object.defineProperty(d,b,k),!0}if(!Object.isExtensible(d))return!1;var l={value:c,writable:!0,enumerable:!0,configurable:!0};return Object.defineProperty(d,b,l),!0},enumerate:function(a){var b,c=P.get(a);if(void 0!==c)b=c.enumerate(c.target);else{b=[];for(var d in a)b.push(d)}var e=+b.length,f=0;return{next:function(){return f===e?{done:!0}:{done:!1,value:b[f++]}}}},ownKeys:function(a){return C(a)},apply:function(a,b,c){return Function.prototype.apply.call(a,b,c)},construct:function(a,b,c){var d=P.get(a);if(void 0!==d)return d.construct(d.target,b,c);if("function"!=typeof a)throw new TypeError("target is not a function: "+a);if(void 0===c)c=a;else if("function"!=typeof c)throw new TypeError("newTarget is not a function: "+a);var e=c.prototype,f=Object(e)===e?Object.create(e):{},g=Function.prototype.apply.call(a,f,b);return Object(g)===g?g:f}};if("undefined"!=typeof Proxy&&"undefined"!=typeof Proxy.create){var T=Proxy.create,U=Proxy.createFunction,V=T({get:function(){throw new TypeError("proxy is revoked")}});a.Proxy=function(a,b){if(Object(a)!==a)throw new TypeError("Proxy target must be an Object, given "+a);if(Object(b)!==b)throw new TypeError("Proxy handler must be an Object, given "+b);var c,d=new t(a,b);return c="function"==typeof a?U(d,function(){var b=Array.prototype.slice.call(arguments);return d.apply(a,this,b)},function(){var b=Array.prototype.slice.call(arguments);return d.construct(a,b)}):T(d,Object.getPrototypeOf(a)),P.set(c,d),c},a.Proxy.revocable=function(a,b){var c=new Proxy(a,b),d=function(){var a=P.get(c);null!==a&&(a.target=null,a.handler=V)};return{proxy:c,revoke:d}},a.Proxy.create=T,a.Proxy.createFunction=U}else"undefined"==typeof Proxy&&(a.Proxy=function(a,b){throw new Error("proxies not supported on this platform. On v8/node/iojs, make sure to pass the --harmony_proxies flag")});"undefined"!=typeof b&&Object.keys(S).forEach(function(a){b[a]=S[a]})}("undefined"!=typeof b?d:this),d.define=e,c.exports}),a.register("1",["3"],function(a){"use strict";var b,c,d;return{setters:[function(a){b=a["default"]}],execute:function(){c=function(a){var b={target:a[0]};return a.length>1&&(b.prop=a[1]),a.length>2&&(b.descriptor=a[2]),b},d=function(a){var d=b.construct(a),e=function(a){var b=arguments.length<=1||void 0===arguments[1]?[]:arguments[1];return d.decorate.apply(d,[a].concat(b))};return function(){for(var a=arguments.length,b=Array(a),d=0;a>d;d++)b[d]=arguments[d];return b[0]instanceof Function?e(c(b)):function(){for(var a=arguments.length,d=Array(a),f=0;a>f;f++)d[f]=arguments[f];return e(c(d),b)}}},a("default",d)}}})})(function(a){"function"==typeof define&&define.amd?define([],a):"object"==typeof module&&module.exports&&"function"==typeof require?module.exports=a():DecoratorDecorator=a()}); | ||
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b(require("reflect")):"function"==typeof define&&define.amd?define(["reflect"],b):a.DecoratorDecorator=b(a.Reflect)}(this,function(a){"use strict";a="default"in a?a["default"]:a;var b=function(a){var b={target:a[0]};return a.length>1&&(b.prop=a[1]),a.length>2&&(b.descriptor=a[2]),b},c=function(c){var d=a.construct(c),e=function(a){var b=arguments.length<=1||void 0===arguments[1]?[]:arguments[1];return d.decorate.apply(d,[a].concat(b))};return function(){for(var a=arguments.length,c=Array(a),d=0;a>d;d++)c[d]=arguments[d];return c[0]instanceof Function?e(b(c)):function(){for(var a=arguments.length,d=Array(a),f=0;a>f;f++)d[f]=arguments[f];return e(b(d),c)}}};return c}); |
152
package.json
{ | ||
"name": "decorator-decorator", | ||
"version": "0.1.10", | ||
"description": "An ES7 decorator to turn classes into decorators", | ||
"main": "build/index.js", | ||
"files": [ | ||
"build" | ||
], | ||
"scripts": { | ||
"clean": "rm -rf build", | ||
"jspm:install": "./node_modules/.bin/jspm install", | ||
"postinstall": "npm run jspm:install", | ||
"prebuild": "npm run test && npm run clean", | ||
"build": "./node_modules/.bin/jspm build decorator-decorator build/index.js --minify --format umd --global-name DecoratorDecorator --skip-source-maps", | ||
"prepublish": "npm run build", | ||
"test": "jspm run tests | ./node_modules/.bin/faucet", | ||
"start": "./node_modules/.bin/jspm-server --port=45345 src/" | ||
}, | ||
"keywords": [ | ||
"es7", | ||
"decorator" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/tkuminecz/decorator-decorator.git" | ||
}, | ||
"author": "tkuminecz@gmail.com", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"faucet": "0.0.1", | ||
"jspm": "^0.17.0-beta.6", | ||
"jspm-server": "^1.0.1" | ||
}, | ||
"jspm": { | ||
"name": "decorator-decorator", | ||
"directories": { | ||
"baseURL": "src" | ||
}, | ||
"dependencies": { | ||
}, | ||
"devDependencies": { | ||
"babel-plugin-transform-decorators-legacy": "npm:babel-plugin-transform-decorators-legacy@^1.3.4", | ||
"babel-preset-stage-1": "npm:babel-preset-stage-1@^6.5.0", | ||
"plugin-babel": "npm:systemjs-plugin-babel@^0.0.2", | ||
"reflect": "npm:harmony-reflect@^1.4.2", | ||
"tape": "npm:tape@^4.4.0" | ||
}, | ||
"peerDependencies": { | ||
"assert": "github:jspm/nodelibs-assert@^0.2.0-alpha", | ||
"buffer": "github:jspm/nodelibs-buffer@^0.2.0-alpha", | ||
"core-js": "npm:core-js@^1.2.0", | ||
"events": "github:jspm/nodelibs-events@^0.2.0-alpha", | ||
"fs": "github:jspm/nodelibs-fs@^0.2.0-alpha", | ||
"http": "github:jspm/nodelibs-http@^0.2.0-alpha", | ||
"net": "github:jspm/nodelibs-net@^0.2.0-alpha", | ||
"path": "github:jspm/nodelibs-path@^0.2.0-alpha", | ||
"process": "github:jspm/nodelibs-process@^0.2.0-alpha", | ||
"stream": "github:jspm/nodelibs-stream@^0.2.0-alpha", | ||
"tty": "github:jspm/nodelibs-tty@^0.2.0-alpha", | ||
"url": "github:jspm/nodelibs-url@^0.2.0-alpha", | ||
"util": "github:jspm/nodelibs-util@^0.2.0-alpha" | ||
}, | ||
"overrides": { | ||
"npm:babel-runtime@5.8.35": { | ||
"main": false, | ||
"dependencies": {}, | ||
"optionalDependencies": { | ||
"core-js": "^1.2.0" | ||
} | ||
}, | ||
"npm:inherits@2.0.1": { | ||
"ignore": [ | ||
"test.js" | ||
] | ||
} | ||
} | ||
} | ||
"name": "decorator-decorator", | ||
"version": "0.1.11", | ||
"description": "An ES7 decorator to turn classes into decorators", | ||
"main": "build/index.js", | ||
"files": [ | ||
"build" | ||
], | ||
"scripts": { | ||
"clean": "rm -rf build", | ||
"jspm:install": "./node_modules/.bin/jspm install", | ||
"postinstall": "npm run jspm:install", | ||
"prebuild": "npm run clean && npm run test", | ||
"build": "./node_modules/.bin/jspm build decorator-decorator - reflect build/index.js --minify --format umd --global-name DecoratorDecorator --skip-source-maps", | ||
"prepublish": "npm run build", | ||
"test": "jspm run tests | ./node_modules/.bin/faucet", | ||
"start": "./node_modules/.bin/jspm-server --port=45345 src/" | ||
}, | ||
"keywords": [ | ||
"es7", | ||
"decorator" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/tkuminecz/decorator-decorator.git" | ||
}, | ||
"author": "tkuminecz@gmail.com", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"faucet": "0.0.1", | ||
"jspm": "^0.17.0-beta.6", | ||
"jspm-server": "^1.0.1" | ||
}, | ||
"jspm": { | ||
"name": "decorator-decorator", | ||
"directories": { | ||
"baseURL": "src" | ||
}, | ||
"dependencies": { | ||
"reflect": "npm:harmony-reflect@^1.4.2" | ||
}, | ||
"devDependencies": { | ||
"babel-plugin-transform-decorators-legacy": "npm:babel-plugin-transform-decorators-legacy@^1.3.4", | ||
"babel-preset-stage-1": "npm:babel-preset-stage-1@^6.5.0", | ||
"plugin-babel": "npm:systemjs-plugin-babel@^0.0.2", | ||
"tape": "npm:tape@^4.4.0" | ||
}, | ||
"peerDependencies": { | ||
"assert": "github:jspm/nodelibs-assert@^0.2.0-alpha", | ||
"buffer": "github:jspm/nodelibs-buffer@^0.2.0-alpha", | ||
"core-js": "npm:core-js@^1.2.0", | ||
"events": "github:jspm/nodelibs-events@^0.2.0-alpha", | ||
"fs": "github:jspm/nodelibs-fs@^0.2.0-alpha", | ||
"http": "github:jspm/nodelibs-http@^0.2.0-alpha", | ||
"net": "github:jspm/nodelibs-net@^0.2.0-alpha", | ||
"path": "github:jspm/nodelibs-path@^0.2.0-alpha", | ||
"process": "github:jspm/nodelibs-process@^0.2.0-alpha", | ||
"stream": "github:jspm/nodelibs-stream@^0.2.0-alpha", | ||
"tty": "github:jspm/nodelibs-tty@^0.2.0-alpha", | ||
"url": "github:jspm/nodelibs-url@^0.2.0-alpha", | ||
"util": "github:jspm/nodelibs-util@^0.2.0-alpha" | ||
}, | ||
"overrides": { | ||
"npm:babel-runtime@5.8.35": { | ||
"main": false, | ||
"dependencies": {}, | ||
"optionalDependencies": { | ||
"core-js": "^1.2.0" | ||
} | ||
}, | ||
"npm:inherits@2.0.1": { | ||
"ignore": [ | ||
"test.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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
0
3799