get-own-property-symbols
Advanced tools
Comparing version 0.8.0 to 0.9.0
/*! (C) WebReflection Mit Style License */ | ||
(function(e,t){"use strict";if(t in e)return;var n,r=typeof global==typeof r?window:global,i=0,s=""+Math.random(),o="__symbol:",u=o.length,a="__symbol@@"+s,f="defineProperty",l="defineProperties",c="getOwnPropertyNames",h="getOwnPropertyDescriptor",p="propertyIsEnumerable",d=e[c],v=e[h],m=e.create,g=e.keys,y=e[f],b=e[l],w=v(e,c),E=e.prototype,S=E.hasOwnProperty,x=E[p],T=E.toString,N=Array.prototype.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},C=function(e,t,n){S.call(e,a)||y(e,a,{enumerable:!1,configurable:!1,writable:!1,value:{}}),e[a]["@@"+t]=n},k=function(e,t){var n=m(e);return d(t).forEach(function(e){_.call(t,e)&&F(n,e,t[e])}),n},L=function(e){var t=m(e);return t.enumerable=!1,t},A=function(){},O=function(e){return e!=a&&!S.call(H,e)},M=function(e){return e!=a&&S.call(H,e)},_=function R(e){var t=""+e;return M(t)?S.call(this,t)&&this[a]["@@"+t]:x.call(this,e)},D=function(t){var r={enumerable:!1,configurable:!0,get:A,set:function(e){n(this,t,{enumerable:!1,configurable:!0,writable:!0,value:e}),C(this,t,!0)}};return y(E,t,r),H[t]=y(e(t),"constructor",B)},P=function(t){if(this&&this!==r)throw new TypeError("Symbol is not a constructor");return D(o.concat(t||"",s,++i))},H=m(null),B={value:P},j=function(e){return H[e]},F=function(t,r,i){var s=""+r;return M(s)?(n(t,s,i.enumerable?L(i):i),C(t,s,!!i.enumerable)):y(t,r,i),t},I=function(t){return d(t).filter(M).map(j)};w.value=F,y(e,f,w),w.value=I,y(e,t,w),w.value=function(t){return d(t).filter(O)},y(e,c,w),w.value=function U(e,t){var n=I(t);return n.length?g(t).concat(n).forEach(function(n){_.call(t,n)&&F(e,n,t[n])}):U(e,t),e},y(e,l,w),w.value=_,y(E,p,w),w.value=P,y(r,"Symbol",w),w.value=function(e){var t=o.concat(o,e,s);return t in E?H[t]:D(t)},y(P,"for",w),w.value=function(e){return S.call(H,e)?e.slice(u*2,-s.length):void 0},y(P,"keyFor",w),w.value=function(t,n){var r=v(t,n);return r&&M(n)&&(r.enumerable=_.call(t,n)),r},y(e,h,w),w.value=function(e,t){return arguments.length===1?m(e):k(e,t)},y(e,"create",w),w.value=function(){var e=T.call(this);return e==="[object String]"&&M(this)?"[object Symbol]":e},y(E,"toString",w);try{n=m(y({},o,{get:function(){return y(this,o,{value:!1})[o]}}))[o]||y}catch(q){n=function(e,t,n){var r=v(E,t);delete E[t],y(e,t,n),y(E,t,r)}}})(Object,"getOwnPropertySymbols"),function(e,t){var n=e.defineProperty,r=e.prototype,i=r.toString,s="toStringTag",o;["iterator","match","replace","search","split","hasInstance","isConcatSpreadable","unscopables","species","toPrimitive",s].forEach(function(t){if(!(t in Symbol)){n(Symbol,t,{value:Symbol(t)});switch(t){case s:o=e.getOwnPropertyDescriptor(r,"toString"),o.value=function(){var e=i.call(this),t=this[Symbol.toStringTag];return typeof t=="undefined"?e:"[object "+t+"]"},n(r,"toString",o)}}})}(Object,Symbol),function(e,t,n){function r(){return this}t[e]||(t[e]=function(){var t=0,n=this,i={next:function(){var r=n.length<=t;return r?{done:r}:{done:r,value:n[t++]}}};return i[e]=r,i}),n[e]||(n[e]=function(){var t=String.fromCodePoint,n=this,i=0,s=n.length,o={next:function(){var r=s<=i,o=r?"":t(n.codePointAt(i));return i+=o.length,r?{done:r}:{done:r,value:o}}};return o[e]=r,o})}(Symbol.iterator,Array.prototype,String.prototype); | ||
(function(e,t){"use strict";if(t in e)return;var n,r=typeof global==typeof r?window:global,i=0,s=""+Math.random(),o="__symbol:",u=o.length,a="__symbol@@"+s,f="defineProperty",l="defineProperties",c="getOwnPropertyNames",h="getOwnPropertyDescriptor",p="propertyIsEnumerable",d=e[c],v=e[h],m=e.create,g=e.keys,y=e[f],b=e[l],w=v(e,c),E=e.prototype,S=E.hasOwnProperty,x=E[p],T=E.toString,N=Array.prototype.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},C=function(e,t,n){S.call(e,a)||y(e,a,{enumerable:!1,configurable:!1,writable:!1,value:{}}),e[a]["@@"+t]=n},k=function(e,t){var n=m(e);return d(t).forEach(function(e){_.call(t,e)&&F(n,e,t[e])}),n},L=function(e){var t=m(e);return t.enumerable=!1,t},A=function(){},O=function(e){return e!=a&&!S.call(H,e)},M=function(e){return e!=a&&S.call(H,e)},_=function R(e){var t=""+e;return M(t)?S.call(this,t)&&this[a]["@@"+t]:x.call(this,e)},D=function(t){var r={enumerable:!1,configurable:!0,get:A,set:function(e){n(this,t,{enumerable:!1,configurable:!0,writable:!0,value:e}),C(this,t,!0)}};return y(E,t,r),H[t]=y(e(t),"constructor",B)},P=function(t){if(this&&this!==r)throw new TypeError("Symbol is not a constructor");return D(o.concat(t||"",s,++i))},H=m(null),B={value:P},j=function(e){return H[e]},F=function(t,r,i){var s=""+r;return M(s)?(n(t,s,i.enumerable?L(i):i),C(t,s,!!i.enumerable)):y(t,r,i),t},I=function(t){return d(t).filter(M).map(j)};w.value=F,y(e,f,w),w.value=I,y(e,t,w),w.value=function(t){return d(t).filter(O)},y(e,c,w),w.value=function U(e,t){var n=I(t);return n.length?g(t).concat(n).forEach(function(n){_.call(t,n)&&F(e,n,t[n])}):U(e,t),e},y(e,l,w),w.value=_,y(E,p,w),w.value=P,y(r,"Symbol",w),w.value=function(e){var t=o.concat(o,e,s);return t in E?H[t]:D(t)},y(P,"for",w),w.value=function(e){if(O(e))throw new TypeError(e+" is not a symbol");return S.call(H,e)?e.slice(u*2,-s.length):void 0},y(P,"keyFor",w),w.value=function(t,n){var r=v(t,n);return r&&M(n)&&(r.enumerable=_.call(t,n)),r},y(e,h,w),w.value=function(e,t){return arguments.length===1?m(e):k(e,t)},y(e,"create",w),w.value=function(){var e=T.call(this);return e==="[object String]"&&M(this)?"[object Symbol]":e},y(E,"toString",w);try{n=m(y({},o,{get:function(){return y(this,o,{value:!1})[o]}}))[o]||y}catch(q){n=function(e,t,n){var r=v(E,t);delete E[t],y(e,t,n),y(E,t,r)}}})(Object,"getOwnPropertySymbols"),function(e,t){var n=e.defineProperty,r=e.prototype,i=r.toString,s="toStringTag",o;["iterator","match","replace","search","split","hasInstance","isConcatSpreadable","unscopables","species","toPrimitive",s].forEach(function(t){if(!(t in Symbol)){n(Symbol,t,{value:Symbol(t)});switch(t){case s:o=e.getOwnPropertyDescriptor(r,"toString"),o.value=function(){var e=i.call(this),t=this[Symbol.toStringTag];return typeof t=="undefined"?e:"[object "+t+"]"},n(r,"toString",o)}}})}(Object,Symbol),function(e,t,n){function r(){return this}t[e]||(t[e]=function(){var t=0,n=this,i={next:function(){var r=n.length<=t;return r?{done:r}:{done:r,value:n[t++]}}};return i[e]=r,i}),n[e]||(n[e]=function(){var t=String.fromCodePoint,n=this,i=0,s=n.length,o={next:function(){var r=s<=i,o=r?"":t(n.codePointAt(i));return i+=o.length,r?{done:r}:{done:r,value:o}}};return o[e]=r,o})}(Symbol.iterator,Array.prototype,String.prototype); |
@@ -190,2 +190,4 @@ /*! | ||
descriptor.value = function (symbol) { | ||
if (onlyNonSymbols(symbol)) | ||
throw new TypeError(symbol + ' is not a symbol'); | ||
return hOP.call(source, symbol) ? | ||
@@ -192,0 +194,0 @@ symbol.slice(prefixLength * 2, -random.length) : |
@@ -190,2 +190,4 @@ /*! | ||
descriptor.value = function (symbol) { | ||
if (onlyNonSymbols(symbol)) | ||
throw new TypeError(symbol + ' is not a symbol'); | ||
return hOP.call(source, symbol) ? | ||
@@ -192,0 +194,0 @@ symbol.slice(prefixLength * 2, -random.length) : |
{ | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"license": "MIT", | ||
@@ -27,4 +27,8 @@ "name": "get-own-property-symbols", | ||
"devDependencies": { | ||
"wru": "*" | ||
"jshint": "^2.9.1", | ||
"markdown": "^0.5.0", | ||
"tiny-cdn": "^0.5.2", | ||
"uglify-js": "^1.3.5", | ||
"wru": "^0.2.7" | ||
} | ||
} |
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
32117
613
5