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 1.3.5 to 1.3.6

opts-proxy.txt

60

example.js

@@ -7,3 +7,3 @@

var http = require("http");
var serveStatic = require("serve-static");
//var serveStatic = require("serve-static");

@@ -20,37 +20,41 @@ console.time("init");

"/debug": "/usr/local/lib/node_modules/weinre/web"
}
},
// tunnel: true,
// proxy: "swoon.static/store-home.php",
files: "test/fixtures/*.html",
//// tunnel: true,
// codeSync: false,
// port: 8080,
// online: false,
open: false
// logFileChanges: false
// https: true,
// tunnel: true,
// logConnections: true,
// notify: true,
// browser: ["Safari"]
};
var cp = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-cp");
var client = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-client");
client["plugin:name"] = "client:script";
browserSync.use(cp);
browserSync.use(client);
var instance = browserSync(options, function (err, bs) {
setTimeout(function () {
bs.setOption("codeSync", false);
setTimeout(function () {
bs.setOption("codeSync", true);
}, 5000);
}, 5000);
//
//var clientScript = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-client/index");
//clientScript.name = "client:script";
//var cp = require("/Users/shakyshane/Sites/browser-sync-modules/browser-sync-cp/index");
// require("fs").writeFileSync("./opts-server.txt", JSON.stringify(bs.options, null, 4));
// browserSync.exit();
//
//browserSync.use({
// plugin: function () {
//
// }
//}, {name: "shane is awesome"});
//
//
//
//console.log(cp);
//
//var validUrls = [];
//
var instance = browserSync(options, function (err, bs) {
// next();
});
});
function next() {
options.server = false;
options.proxy = "swoon.static/store-home.php";
var instance = browserSync(options, function (err, bs) {
require("fs").writeFileSync("./opts-proxy.txt", JSON.stringify(bs.options, null, 4));
browserSync.exit();
});
}
{
"name": "browser-sync",
"description": "Live CSS Reload & Browser Syncing",
"version": "1.3.5",
"version": "1.3.6",
"homepage": "https://github.com/shakyshane/browser-sync",

@@ -36,3 +36,3 @@ "author": {

"emitter-steward": "0.0.1",
"foxy": "^0.2.1",
"foxy": "~0.2.1",
"glob-watcher": "0.0.6",

@@ -46,3 +46,3 @@ "http-proxy": "~1.1.4",

"portscanner-plus": "0.1.0",
"resp-modifier": "0.1.1",
"resp-modifier": "~0.1.2",
"serve-index": "^1.1.5",

@@ -49,0 +49,0 @@ "serve-static": "^1.4.2",

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