Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

hexo-server-live

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-server-live - npm Package Compare versions

Comparing version
0.2.10
to
0.2.11
+4
-0
CHANGELOG.md

@@ -0,1 +1,5 @@

## v0.2.11 (2024-01-20)
- Fix: return other type in source.
## v0.2.10 (2024-01-18)

@@ -2,0 +6,0 @@

+2
-2

@@ -74,3 +74,3 @@ hexo.extend.filter.register("server_middleware", (app) => {

}
else if (path.startsWith("scripts/")) {
else if (!path.includes("/") || path.startsWith("scripts/")) {
type = null;

@@ -90,3 +90,3 @@ break;

js: "script"
}[output];
}[output] || "other";
break;

@@ -93,0 +93,0 @@ }

@@ -40,3 +40,3 @@ module.exports = function({

}
else {
else if (data.type !== null) {
location.reload();

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

{
"name": "hexo-server-live",
"version": "0.2.10",
"version": "0.2.11",
"description": "Live reload while source file changed for Hexo.",

@@ -5,0 +5,0 @@ "main": "index",