Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ssg-api

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssg-api - npm Package Compare versions

Comparing version 1.4.4 to 1.4.5

6

CHANGELOG.md

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

## [1.4.5] - 2023-04-23
### Fixed
- Create files from context sets outputfile
## [1.4.4] - 2023-04-23

@@ -10,0 +16,0 @@

2

dist/src/SsgContextImpl.d.ts

@@ -44,3 +44,3 @@ import { SsgFile } from "./util";

read(fileName: string): void;
readOrNew(fileName: string, outDir: string): SsgFile;
readOrNew(fileName: string, outDir: string): void;
}

@@ -102,4 +102,5 @@ import { SsgFile } from "./util";

const encoding = (_a = this._outputFile) === null || _a === void 0 ? void 0 : _a.encoding;
let outFile;
try {
return this.readFile(filePath);
outFile = this.readFile(filePath);
}

@@ -111,6 +112,6 @@ catch (e) {

const fileInfo = new SsgFile(filePath, encoding || "utf-8", "", new Date(), lang);
return HtmlSsgFile.create(fileInfo, "");
outFile = HtmlSsgFile.create(fileInfo, "");
}
else {
return new SsgFile(filePath, "utf8", "", new Date(), lang);
outFile = new SsgFile(filePath, "utf8", "", new Date(), lang);
}

@@ -122,2 +123,3 @@ }

}
this.outputFile = outFile;
}

@@ -124,0 +126,0 @@ }

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

"author": "Jérôme Beau",
"version": "1.4.4",
"version": "1.4.5",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc