🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

browser-sync-webpack-plugin

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browser-sync-webpack-plugin - npm Package Compare versions

Comparing version

to
2.4.0

2

lib/BrowserSyncPlugin.js

@@ -40,3 +40,3 @@ const browserSync = require('browser-sync')

if (this.options.reload) {
if (this.options.reload && this.browserSync.active) {
this.browserSync.reload(this.options.injectCss && getCssOnlyEmittedAssetsNames(stats))

@@ -43,0 +43,0 @@ }

{
"name": "browser-sync-webpack-plugin",
"version": "2.3.0",
"version": "2.4.0",
"description": "BrowserSync and Webpack integration",

@@ -18,10 +18,13 @@ "keywords": [

"devDependencies": {
"husky": "^0.15.0-rc.9",
"lint-staged": "^7.0.0",
"standard": "^11.0.1"
"husky": "^9",
"lint-staged": "^15",
"standard": "^17"
},
"peerDependencies": {
"browser-sync": "^2",
"browser-sync": "^2 || ^3",
"webpack": "^1 || ^2 || ^3 || ^4 || ^5"
},
"engines": {
"node": ">=4"
},
"repository": {

@@ -37,4 +40,3 @@ "type": "git",

"lib/**/*.js": [
"standard --fix",
"git add"
"standard --fix"
]

@@ -41,0 +43,0 @@ },