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

gulp-bird

Package Overview
Dependencies
Maintainers
4
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-bird - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

express.js

@@ -52,5 +52,5 @@

app.use(fileServer.middleware(serverSettings, transRules, toolsConf));
app.use(express.static(path.join(__dirname, '/demo')));
// app.use(express.static(path.join(__dirname, '/demo')));
app.listen(7676);

@@ -40,3 +40,3 @@ var http = require("http");

console.log("ignore request:" + req.url);
if (typeof transpond === "function") {
if (typeof transpond === "function" && rules) {
transpond(req, res, rules);

@@ -51,11 +51,17 @@ }

if (err) {
if (typeof transpond === "function") {
if (typeof transpond === "function" && rules) {
transpond(req, res, rules);
} else {
}
else {
//console.log(req.url + " 404");
res.writeHead(404, {
"Content-Type": "text/plain"
});
res.write("This request URL " + pathname + " was not found on this server.");
res.end();
if (!next) {
res.writeHead(404, {
"Content-Type": "text/plain"
});
res.write("This request URL " + pathname + " was not found on this server.");
res.end();
}
else {
next();
}
}

@@ -62,0 +68,0 @@

@@ -53,3 +53,3 @@ {

"scripts": {},
"version": "0.2.0"
"version": "0.2.1"
}
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