Huge News!Announcing our $40M Series B led by Abstract Ventures.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.0.6 to 0.0.7

tools/getIP.js

10

app.js

@@ -37,7 +37,9 @@ var fileServer = require("./index");

var weinreConf = {
open: true,
port: 9001
var toolsConf = {
weinre: {
open: true,
port: 9001
}
};
fileServer.start(serverSettings, transRules, weinreConf);
fileServer.start(serverSettings, transRules, toolsConf);

10

index.js

@@ -10,4 +10,4 @@ var http = require("http");

var dummyjson = require('dummy-json');
var injectWeinre = require('./weinre/injectWeinre.js');
var starWeinre = require('./weinre/startWeinre.js');
var injectWeinre = require('./tools/injectWeinre.js');
var starWeinre = require('./tools/startWeinre.js');

@@ -39,3 +39,3 @@ var dummyHelpers = {

module.exports = {
start: function (params, rules, weinreConf) {
start: function (params, rules, toolsConf) {
var servers = params || {};

@@ -183,3 +183,3 @@ var serverList = [];

*/
injectWeinre(realPath, ext, weinreConf)
toolsConf && toolsConf.weinre && injectWeinre(realPath, ext, toolsConf.weinre)
}

@@ -202,3 +202,3 @@ }

*/
starWeinre(weinreConf);
toolsConf && toolsConf.weinre && starWeinre(toolsConf.weinre);
}

@@ -205,0 +205,0 @@ };

@@ -35,3 +35,3 @@ {

"scripts": {},
"version": "0.0.6"
"version": "0.0.7"
}

@@ -89,8 +89,10 @@ # gulp-bird

var weinre = {
open: true,
port: 8080
}
var toolsConf = {
weinre: {
open: true,
port: 9001
}
};
bird.start(server, transpondRules, weinre);
bird.start(server, transpondRules, toolsConf);

@@ -97,0 +99,0 @@ ```

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