Socket
Socket
Sign inDemoInstall

ssg-api

Package Overview
Dependencies
106
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.3 to 1.7.4

5

CHANGELOG.md

@@ -8,2 +8,7 @@ # Change Log

## [1.7.4] - 2024-04-13
### Fixed
HTML lang overrides lang from filename.
## [1.7.3] - 2024-04-10

@@ -10,0 +15,0 @@

4

dist/src/util/file/HtmlSsgFile.js

@@ -110,2 +110,6 @@ import { SsgFile } from './SsgFile.js';

const doc = dom.window.document;
let docLang = doc.documentElement.lang;
if (docLang) {
fileInfo.lang.lang = docLang;
}
let titleElem = doc.querySelector('title');

@@ -112,0 +116,0 @@ if (titleElem) {

2

package.json

@@ -5,3 +5,3 @@ {

"author": "Jérôme Beau <javarome@gmail.com> (https://javarome.com)",
"version": "1.7.3",
"version": "1.7.4",
"description": "Static Site Generation TypeScript API",

@@ -8,0 +8,0 @@ "exports": "./dist/src/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc