+1
-1
@@ -5,3 +5,3 @@ { | ||
| "keywords": ["cross-domain", "cors", "crud", "browser", "cross-browser"], | ||
| "version":"0.2.7", | ||
| "version":"0.2.8", | ||
| "homepage" : "https://github.com/gett/crossmania", | ||
@@ -8,0 +8,0 @@ "author": "Ge.tt <hello@ge.tt>", |
+2
-2
@@ -9,4 +9,4 @@ <!DOCTYPE html> | ||
| "]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return e=eval("("+a+")"),typeof c==="function"?f({"":e},""):e;throw new SyntaxError("JSON.parse");}})();typeof XMLHttpRequest=="undefined"&&(XMLHttpRequest=function(){try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(c){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(h){}try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(l){}throw Error("This browser does not support XMLHttpRequest.");}); | ||
| var noop=function(){},requests=0,active={},pool=[];window.onunload=function(){for(var c in active)active[c].abort()}; | ||
| var request=function(c,h,l,b){var a=pool.length?pool.pop():new XMLHttpRequest,e=""+ ++requests;active[e]=a;var m=function(){pool.push(a);b(!/2\d\d/.test(a.status)&&Error("invalid status="+a.status),a.responseText)};a.open(c,h,true);a.onreadystatechange=function(){if(a.readyState===4)delete active[e],a.onreadystatechange=noop,setTimeout(m,1)};a.send(l);return function(){delete active[e];a.onreadystatechange=noop;a.abort();b(Error("request aborted"))}}; | ||
| var noop=function(){},requests=0,active={};window.onunload=function(){for(var c in active)active[c].abort()}; | ||
| var request=function(c,h,l,b){var a=new XMLHttpRequest,e=""+ ++requests;active[e]=a;var m=function(){b(!/2\d\d/.test(a.status)&&Error("invalid status="+a.status),a.responseText)};a.open(c,h,true);a.onreadystatechange=function(){if(a.readyState===4)delete active[e],a.onreadystatechange=noop,setTimeout(m,1)};a.send(l);return function(){delete active[e];a.onreadystatechange=noop;a.abort();b(Error("request aborted"))}}; | ||
| window.onload=function(){var c=window.top,h={};(function(c,b){window.attachEvent?window.attachEvent("on"+c,b):window.addEventListener(c,b,false)})("message",function(c){var b=JSON.parse(c.data);b.name==="request"?(b.params.push(function(a,c){delete h[b.id];window.top.postMessage(JSON.stringify({error:a?a.message:null,result:c,id:b.id}),"*")}),h[b.id]=request.apply(null,b.params)):b.name==="destroy"&&((h[b.id]||noop)(),delete h[b.id])});c.postMessage("load","*")};</script></head><body></body></html> |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
10586
-0.41%