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

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.7.5 to 0.7.7

13

example.js

@@ -12,4 +12,3 @@

},
open: false,
minify: true,
open: true,
logConnections: false,

@@ -31,8 +30,8 @@ notify: {

var clientScript = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-client/index");
//var clientScript = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-client/index");
//
//browserSync.use("client:script", clientScript.middleware, function (err) {
// console.log(err);
//});
browserSync.use("client:script", clientScript.middleware, function (err) {
console.log(err);
});
var bs = browserSync.init(files, options, function (err, bs) {

@@ -39,0 +38,0 @@ console.timeEnd("init");

@@ -57,3 +57,3 @@ "use strict";

* @param {EventEmitter} emitter
* @returns {*|http.Server}
* @returns {http.Server}
*/

@@ -65,3 +65,5 @@ module.exports.init = function (port, events, options, emitter) {

io.set("browser client minification", true);
io.set("browser client gzip", true);
if (process.platform !== "win32") {
io.set("browser client gzip", true);
}
}

@@ -68,0 +70,0 @@ exports.socketConnection(events, options, io, emitter);

{
"name": "browser-sync",
"description": "Live CSS Reload & Browser Syncing",
"version": "0.7.5",
"version": "0.7.7",
"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