node-extend
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -1,2 +0,21 @@ | ||
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('m h(A,B,5,l){4 j=A,a=B;b(6.7<2)x y D("6 z E!");4 3="";b(6.7>2)b(l){3+="4 3 = [";r(4 i=0;i<5.7;i++)3+="6["+5[i]+"]",i!==5.7-1&&(3+=",");3+="];"}u 3="4 3 = "+v.w(5)+";";4 s=A.H(),t="}",c=s.M(/^(m)(.)*{/G),o=s.n(c,"").n(/(})$/,""),e;3?e+="a.d(9,3);":e+="a.d(9);",e=3+"j.d(9,6);";4 q=c+e+o+t,8=J("("+q+")"),f=A.p;g.L(8,B);r(4 k N f)8.p[k]=f[k];I 8}4 g=K("g");F.C=h;',50,50,'|||args|var|as|arguments|length|nn|this|___B___|if|header|apply||ap|util|extend||___A___||isAargs|function|replace|body|prototype|ss|for||footer|else|JSON|stringify|throw|new|is|||exports|Error|error|module|gi|toString|return|eval|require|inherits|match|in'.split('|'),0,{})) | ||
function extend(A, B, as, isAargs) { | ||
var ___A___ = A, ___B___ = B; | ||
if (arguments.length < 2) throw new Error("arguments is error!"); | ||
var args = ""; | ||
if (arguments.length > 2) if (isAargs) { | ||
args += "var args = ["; | ||
for (var i = 0; i < as.length; i++) args += "arguments[" + as[i] + "]", i !== as.length - 1 && (args += ","); | ||
args += "];"; | ||
} else args = "var args = " + JSON.stringify(as) + ";"; | ||
var s = A.toString(), footer = "}", header = s.match(/^(function)(.)*{/gi), e = ""; | ||
args ? e += "___B___.apply(this,args);" : e += "___B___.apply(this);", e += "___A___.apply(this,arguments)"; | ||
var ss = header + e + footer; | ||
var nn = eval("(" + ss + ")"), ap = A.prototype; | ||
util.inherits(nn, B); | ||
for (var k in ap) nn.prototype[k] = ap[k]; | ||
return nn; | ||
} | ||
var util = require("util"); | ||
module.exports = extend; |
{ | ||
"name": "node-extend", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "extend for javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
VimCrypt~01!":��� | ||
��X\���M�{� �����cA���҉��ihX��� ��-���Y�4X� �_��]��=f�0���Fi���g�$;�� f����@��Z3!����%�S!�u� | ||
a.�:���J��d��FHK�Z'dL i[��+���$0�`U_|~��6v/B�<ꋁ���|_���y�p�� ~P[�#�<f����_KZh:�pS��W��R���)�9n��B��_ximˬu/&FpoD��n����ɭ�'�g��4M�ڜ;�Z�=d���y�,��t�ga3�!0�Q��?'�@���_D�Z���E#RHU4����]�dgo� �A�4N���v���.d7k�~���F�a�do�-��e���z�Ǐu������:Nν��F��#�����k�D��N�/V���8���':E�_�Q���owF@,�Pl� | ||
�)yf��bѓ����Q��^gy��(0c�`��sv�6�D��Q����L0$���pgҘ���Ĥ\!?��X�O�.��k`��V"�m���v��{=[nqqJ㡨�P�p�ڧ(*�RxHxJ�2�.,<A �k��V����Y� &�6�~�D1��Og�5��*,�A0c�ܴj�5|���n��ƖJ<U��EhB?��~yn|Y���>�a�@��yԢ̰�b[Q����B�����| | ||
���������f�,K�L*<۔6v��zԈ������[��l�G�:}���o�����Trm3���T�A���dR�wײH��DɎ���PvK��D�ߚ����v�]`ù��T�K���8檱"^<I�\A���u�M��Jd�*2���Ttގ��q����w�g#��7�d���h��%� | ||
>@�)�h2�ɠ��ԣH���V�t4�qz z����R�e 8��Bn��hPx�Ƿ��A��@�:�0l!�bG� | ||
�)yf��bѓ����Q��^gy��(0c�`��sv�6�D��Q����L0$���pgҘ���Ĥ\!?��X�O�.��k`��V"�m���v��{=[nqqJ㡨�P�p�ڧ(*�RxHxJ�2�.,<A �k��:ȓL�w��/�B����[��u�\�1 '%N�� ��ޔi)Z�U���~[B6 t�u��-j���J0�� '��!$�fﯠmcz"mf�P��J��KNn�t���l�����e�."�&\ݬ�i�}*�:���ŵ��pRg��O��@N�2.&��]�1=?�""��T?NYP=��Gձ3�eJ��3`"��]KOo����>��C���=���W�;�oct�ܩ/T�Xvԗ�B���d���L <�^�f�*dp�Å,�`^�#��7e���ǁ;�w�Q�14I�h�pl�/�I�ms$<z�Hu�'��Ίx �kH�e�x+P |
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
23
2816