New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

blog-engine-sac

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blog-engine-sac - npm Package Compare versions

Comparing version 5.12.3 to 5.12.4

defaultSettings/htmlMinifier.js

8

changelog.md
# changelog
## 5.12.4
Result files are minified
## 5.12.3
Better contrast on menu links
## 5.10.0
Start a changelog

5

html/about.html.js

@@ -8,2 +8,3 @@ export { createAboutHtml };

import { translate } from "../translations/translate.js";
import { minifyHtml } from "./minifyHtml.js";

@@ -15,3 +16,3 @@

const translateDefault = translate.bind(undefined, lang);
return `<!doctype html>
return minifyHtml(`<!doctype html>
<html lang="${lang}">

@@ -49,3 +50,3 @@ <head>

</body>
</html>`;
</html>`);
};

@@ -11,2 +11,3 @@ export { createCategoryHtml };

import { translate } from "../translations/translate.js";
import { minifyHtml } from "./minifyHtml.js";

@@ -18,3 +19,3 @@

return `<!doctype html>
return minifyHtml(`<!doctype html>
<html lang="${lang}">

@@ -57,5 +58,5 @@ <head>

</html>
`;
`);
};

@@ -8,2 +8,3 @@ export { createContactHtml };

import { translate } from "../translations/translate.js";
import { minifyHtml } from "./minifyHtml.js";

@@ -15,3 +16,3 @@

const translateDefault = translate.bind(undefined, lang);
return `<!doctype html>
return minifyHtml(`<!doctype html>
<html lang="${lang}">

@@ -53,3 +54,3 @@ <head>

</html>
`;
`);
};

@@ -10,2 +10,3 @@ export { createIndexHtml };

import { translate } from "../translations/translate.js";
import { minifyHtml } from "./minifyHtml.js";

@@ -15,3 +16,3 @@

const { defaultAuthor: author, subTitle: description, posts, categories, lang } = options;
return `<!doctype html>
return minifyHtml(`<!doctype html>
<html lang="${lang}">

@@ -60,3 +61,3 @@ <head>

</html>
`;
`);
};

@@ -8,2 +8,3 @@ export {createPostHtml};

import { translate } from "../translations/translate.js";
import { minifyHtml } from "./minifyHtml.js";

@@ -27,3 +28,3 @@

}
return `<!doctype html>
return minifyHtml(`<!doctype html>
<html lang="${lang}">

@@ -82,3 +83,3 @@ <head>

</html>
`;
`);
};

@@ -85,0 +86,0 @@

6

package.json
{
"name": "blog-engine-sac",
"version": "5.12.3",
"version": "5.12.4",
"description": "static site generator, that uses markdown files as input and outputs web pages",

@@ -15,3 +15,3 @@ "license": "CC0-1.0",

"build": "node tools/buildall.js CSS minification=true",
"prepublishOnly": "node -c source/main.js && npm run build"
"prepack": "node -c source/main.js && npm run build"
},

@@ -24,2 +24,3 @@ "dependencies": {

"html-escaper": "^3.0.0",
"html-minifier": "^4.0.0",
"lunr": "^2.3.9",

@@ -31,2 +32,3 @@ "make-fetch-happen": "^8.0.10",

"rollup": "^2.32.0",
"rollup-plugin-terser": "^7.0.2",
"sharp": "^0.26.2"

@@ -33,0 +35,0 @@ },

@@ -0,0 +0,0 @@ export { consoleOutputEarly, consoleOutputReady };

export { generateSearchCode };
import { searchCodeTemplate } from "../js/search.js";
import {rollup} from "rollup/dist/es/rollup.js";
import { terser } from "rollup-plugin-terser";
import { textFileContent } from "filesac";

@@ -62,3 +63,3 @@ import path from "path";

},
plugins: [customPlugin],
plugins: [customPlugin, terser()],
};

@@ -65,0 +66,0 @@

@@ -0,0 +0,0 @@ export { isLocalUrl };

Sorry, the diff of this file is too big to display

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