Socket
Socket
Sign inDemoInstall

ssg-api

Package Overview
Dependencies
105
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous123457Next

1.2.0

Diff

Changelog

Source

[1.2.0] - 2022-11-13

Changed

  • SsgFile.lang changed from a single string to a { lang, variants } so that you can know which variants of a file exist.
javarome
published 1.1.1 •

Changelog

Source

[1.1.1] - 2022-11-11

Fixed

  • Parsing of HTML files

Added

  • ContentStep test.
javarome
published 1.1.0 •

Changelog

Source

[1.1.0] - 2022-11-11

This release adds API consistency and generalization, as well as a number of tests.

However it contains a regression that prevents HTML files to be parsed, so use 1.1.1+ instead.

Added

  • SsgFile.readOrNew() to allow creating a SsgFile in memory that doesn't exist on disk.

Changed

  • FileInfo renamed as SsgFile to both improve consistency and avoid name collisions.
  • HtmlFileInfo renamed as HtmlSsgFile for the same reasons.
  • writeFileInfo() becomes ssgFile.write()
  • getFileInfo() becomes SsgFile.read()
  • SsgContext.locale becomes a single string (not an array of strings anymore) as you cannot output for multiple languages at once (use one context per language if you need to do so).

Fixed

  • Ability to use any variables names in a context.

Regressions

  • HTML are not parsed anymore.
javarome
published 1.0.7 •

javarome
published 1.0.6 •

javarome
published 1.0.5 •

javarome
published 1.0.4 •

javarome
published 1.0.3 •

javarome
published 1.0.2 •

javarome
published 1.0.1 •

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc