Compare commits

...

3 Commits

Author SHA1 Message Date
xiaofeng.mxf
9559fae4bf release 3.10.6 2019-03-25 14:28:17 +08:00
xiaofeng.mxf
80176fcc46 Merge branch 'guox191-3.x' into 3.x 2019-03-25 13:56:26 +08:00
guox191
51bee445de fix fs.writeFile in node 10+ 2019-03-25 13:45:21 +08:00
3 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,6 @@
25 March 2019: AnyProxy 3.10.5:
* add callback parameter in `fs.writeFile` which is required in Node.js 10.0.0+
26 Feb 2016: AnyProxy 3.10.4:
* let users assign the port for web socket in AnyProxy cli

View File

@ -100,7 +100,7 @@ function Recorder(option){
//add to body map
//ignore image data
var bodyFile = path.join(cachePath,BODY_FILE_PRFIX + id);
fs.writeFile(bodyFile, info.resBody);
fs.writeFile(bodyFile, info.resBody, function() {});
};
self.getBody = function(id,cb){

View File

@ -1,6 +1,6 @@
{
"name": "anyproxy",
"version": "3.10.4",
"version": "3.10.6",
"description": "A fully configurable proxy in NodeJS, which can handle HTTPS requests perfectly.",
"main": "proxy.js",
"bin": {