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

febs

Package Overview
Dependencies
Maintainers
1
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

febs - npm Package Compare versions

Comparing version 0.3.17 to 0.3.18

2

package.json

@@ -47,3 +47,3 @@ {

"name": "febs",
"version": "0.3.17"
"version": "0.3.18"
}

@@ -111,2 +111,3 @@ 'use strict';

* @resolve
* - data: 返回给客户端的数据.
*/

@@ -121,3 +122,3 @@ exports.accept = function(app, finishCB, sessionGet, sessionSet, sessionClear)

app.response.body = {err:'method is not post'};
resolve();
resolve(app.response.body);
return;

@@ -130,3 +131,3 @@ }

app.response.body = {err:'leak param crc32'};
resolve();
resolve(app.response.body);
return;

@@ -140,3 +141,3 @@ }

app.response.body = {err:'上传请求已经过期'};
resolve();
resolve(app.response.body);
return;

@@ -150,3 +151,3 @@ }

app.response.body = {err:'crc32错误'};
resolve();
resolve(app.response.body);
return;

@@ -181,3 +182,3 @@ }

app.response.body = fn;
resolve();
resolve(app.response.body);
})

@@ -193,3 +194,3 @@ .catch(err=>{

app.response.body = {err:0};
resolve();
resolve(app.response.body);
})

@@ -196,0 +197,0 @@ .catch(err=>{

@@ -569,3 +569,3 @@ // Type definitions for febs

*/
function accept(app: any, finishCB: (filename: string) => Promise<any>, sessionGet: () => any, sessionSet: (data: any) => void, sessionClear: () => void): Promise<void>;
function accept(app: any, finishCB: (filename: string) => Promise<any>, sessionGet: () => any, sessionSet: (data: any) => void, sessionClear: () => void): Promise<any>;
/**

@@ -572,0 +572,0 @@ * @desc: 在用户登出或其他中断传输中清除上传的数据.

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