New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jayli-server

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jayli-server - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

19

lib/jayli.js

@@ -469,20 +469,9 @@ var

headerFields['Content-Type'] = headerFields['Content-Type'].replace(/charset=(.+)$/i, 'charset=' + encoding);
var callbackFn = function (chunk) {
if(encoding != 'binary') {
chunk = teardownChunk(chunk, encoding);
}
res.writeHead(statCode, headerFields);
chunkParser(chunk, function (chunk) {
chunk = teardownChunk(chunk, encoding);
headerFields['Content-Length'] = chunk.length;
res.writeHead(statCode, headerFields);
res.write(chunk);
res.end();
};
if (encoding == 'binary') {
callbackFn(chunk);
} else {
chunkParser(chunk, callbackFn);
}
});
}

@@ -7,3 +7,3 @@ {

},
"version": "0.0.24",
"version": "0.0.25",
"description": "A node.js module for delivering static files,width ssi,mock and php",

@@ -10,0 +10,0 @@ "keywords": [

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