Socket
Socket
Sign inDemoInstall

browser-sync

Package Overview
Dependencies
Maintainers
1
Versions
300
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-sync - npm Package Compare versions

Comparing version 0.3.10 to 0.4.0

11

lib/browser-sync.js

@@ -333,3 +333,3 @@ var portScanner = require('portscanner');

var app, modifySnippet = this.modifySnippet(host, ports[0]);
var staticServer, msg;
var staticServer, msg, proxyServer;

@@ -342,3 +342,3 @@ // Serve the JS file manually for anything that doesn't use a server.

if (proxy) {
createProxy(host, ports, options);
proxyServer = createProxy(host, ports, options);
} else {

@@ -363,3 +363,3 @@

if (server && !server) {
if (proxy && !server) {
msg = messages.initProxy(host, ports[2]);

@@ -375,3 +375,6 @@ this.openBrowser(host, ports[2], options);

return staticServer;
return {
staticServer : staticServer,
proxyServer : proxyServer
};
},

@@ -378,0 +381,0 @@ /**

{
"name": "browser-sync",
"description": "Live CSS Reload & Browser Syncing",
"version": "0.3.10",
"version": "0.4.0",
"homepage": "https://github.com/shakyshane/browser-sync",

@@ -6,0 +6,0 @@ "author": {

Sorry, the diff of this file is not supported yet

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