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

get-own-property-symbols

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-own-property-symbols - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

2

build/get-own-property-symbols.js
/*! (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);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)}}["iterator","match","replace","search","split","hasInstance","isConcatSpreadable","unscopables","species","toPrimitive","toStringTag"].forEach(function(e){y(P,e,{value:P(e)})}),y(E,"toString",{value:function z(){var e=T.call(this);return e==="[object String]"&&M(this)?"[object Symbol]":T.call(this)}})})(Object,"getOwnPropertySymbols"),function(e,t,n){t[e]||(t[e]=function(){var e=0,t=this;return{next:function(){var r=t.length<=e;return r?{done:r}:{done:r,value:t[e++]}}}}),n[e]||(n[e]=function(){var e=String.fromCodePoint,t=this,n=0,r=t.length;return{next:function(){var o=r<=n,u=o?"":e(t.codePointAt(n));return n+=u.length,o?{done:o}:{done:o,value:u}}}})}(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){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);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)}}["iterator","match","replace","search","split","hasInstance","isConcatSpreadable","unscopables","species","toPrimitive","toStringTag"].forEach(function(e){y(P,e,{value:P(e)})}),y(E,"toString",{value:function z(){var e=T.call(this);return e==="[object String]"&&M(this)?"[object Symbol]":e}})})(Object,"getOwnPropertySymbols"),function(e,t,n){t[e]||(t[e]=function(){var e=0,t=this;return{next:function(){var r=t.length<=e;return r?{done:r}:{done:r,value:t[e++]}}}}),n[e]||(n[e]=function(){var e=String.fromCodePoint,t=this,n=0,r=t.length;return{next:function(){var o=r<=n,u=o?"":e(t.codePointAt(n));return n+=u.length,o?{done:o}:{done:o,value:u}}}})}(Symbol.iterator,Array.prototype,String.prototype);

@@ -253,4 +253,3 @@ /*!

var str = asString.call(this);
return str === '[object String]' && onlySymbols(this) ?
'[object Symbol]' : asString.call(this);
return (str === '[object String]' && onlySymbols(this)) ? '[object Symbol]' : str;
}

@@ -257,0 +256,0 @@ });

@@ -253,4 +253,3 @@ /*!

var str = asString.call(this);
return str === '[object String]' && onlySymbols(this) ?
'[object Symbol]' : asString.call(this);
return (str === '[object String]' && onlySymbols(this)) ? '[object Symbol]' : str;
}

@@ -257,0 +256,0 @@ });

{
"version": "0.6.0",
"version": "0.6.1",
"license": "MIT",

@@ -4,0 +4,0 @@ "name": "get-own-property-symbols",

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