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

flex-combo

Package Overview
Dependencies
Maintainers
4
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flex-combo - npm Package Compare versions

Comparing version 0.12.18 to 0.12.19

23

api.js

@@ -400,16 +400,21 @@ var urlLib = require("url");

var fileURI, buffArr = [];
for (var i = 0; i < FLen; i++) {
fileURI = files[i];
buffArr.push(
this.result[fileURI] ? this.result[fileURI] : new Buffer("/* " + fileURI + " Empty!*/"),
new Buffer("\n")
);
}
var content = Buffer.concat(buffArr);
res.writeHead(responseData[0] || 200, {
"Access-Control-Allow-Origin": '*',
"Content-Type": this.MIME + (Helper.isBinFile(this.URL) ? '' : ";charset=" + this.param.charset),
"Content-Length": Buffer.byteLength(content),
"X-MiddleWare": "flex-combo"
});
var fileURI, fileBuff, buffArr = [];
for (var i = 0; i < FLen; i++) {
fileURI = files[i];
fileBuff = this.result[fileURI] ? this.result[fileURI] : new Buffer("/* " + fileURI + " Empty!*/");
res.write(fileBuff);
res.write("\n");
buffArr.push(fileBuff);
}
res.write(content);

@@ -429,3 +434,3 @@ if (

res.end();
this.trace.response(this.HOST + req.url, Buffer.concat(buffArr));
this.trace.response(this.HOST + req.url, content);
}.bind(this));

@@ -432,0 +437,0 @@ }

{
"name": "flex-combo",
"version": "0.12.18",
"version": "0.12.19",
"description": "A combo tool designed for web front-end developer, which support various kinds of combo format by modify configuration(eg. yahoo combo).",

@@ -5,0 +5,0 @@ "main": "index.js",

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