browser-sync-spa
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -19,3 +19,5 @@ (function (bs) { | ||
window.onpopstate = history.onpushstate = function (out, args) { | ||
sockets.emit(EVENT_NAME, {path: args[2]}); | ||
if(args){ | ||
sockets.emit(EVENT_NAME, {path: args[2]}); | ||
} | ||
} | ||
@@ -74,2 +76,2 @@ | ||
})(window.___browserSync___); | ||
})(window.___browserSync___); |
{ | ||
"name": "browser-sync-spa", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Single Page App support for BrowserSync", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -22,6 +22,4 @@ BrowserSync SPA | ||
open: false, | ||
server: { | ||
baseDir: "setups/angular" | ||
}, | ||
files: "setups/angular/*" | ||
server: "setups/angular", | ||
files: "setups/angular/*" | ||
}); | ||
@@ -28,0 +26,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5292
106
0
47