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 Versions

1
79

1.2.3

Diff

Changelog

Source

[1.2.3] - 2022-11-13

Fixed

  • Find FileContents.lang.variants for path with no directory.
javarome
published 1.2.2 •

Changelog

Source

[1.2.2] - 2022-11-13

Added

  • DomReplaceCommand now accepts a second Context type parameter, to allow it to query custom context members without casting.
javarome
published 1.2.1 •

Changelog

Source

[1.2.1] - 2022-11-13

Removed

  • Unnecessary dependency.
javarome
published 1.2.0 •

Changelog

Source

[1.2.0] - 2022-11-13

Changed

  • FileContents.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

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

Changed

  • FileInfo renamed as FileContents to both improve consistency and avoid name collisions.
  • HtmlFileInfo renamed as HtmlFileContents for the same reasons.
  • writeFileInfo() becomes FileContents.write()
  • getFileInfo() becomes FileContents.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 •

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