Socket
Socket
Sign inDemoInstall

ssg-api

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssg-api - npm Package Versions

1
8

1.3.1

Diff

Changelog

Source

[1.3.1] - 2023-01-14

Changed

  • Exported Logger and DefaultLogger
javarome
published 1.3.0 •

Changelog

Source

[1.3.0] - 2022-12-04

Changed

  • context variables scoped
    • under $context. prefix to avoid collision with JS variables.
      • under reserved prefixes for each built-in object (like $context._name, $context.inputFile.name, etc.)
javarome
published 1.2.13 •

Changelog

Source

[1.2.13] - 2022-12-03

Fixed

  • DefaultLogger uses levels from process.env.LOG_LEVEL split with comma.
javarome
published 1.2.12 •

Changelog

Source

[1.2.12] - 2022-12-03

Changed

  • Make DomReplaceCommand.postExecute() async.
javarome
published 1.2.11 •

Changelog

Source

[1.2.11] - 2022-12-03

Added

  • DomReplaceCommand.postExecute() can be overriden to execute some operation after some given replacements have been performed.
javarome
published 1.2.10 •

Changelog

Source

[1.2.10] - 2022-11-27

Added

  • SsgContext.document and SsgContext.serialize() to avoid using deprecated JSDOM-dependent SsgContext.dom.

Fixed

  • TagReplaceCommand is now the DOM implementation. Deprecated Regex implementation is renamed as such.
  • Avoid redundancing in Ssg logs
javarome
published 1.2.9 •

Changelog

Source

[1.2.9] - 2022-11-27

Added

  • TagReplaceCommand, a DomReplacement to ease replacement of tags by name.
  • Nested contexts with push() and pop(), reflected in logs.

Changed

  • TagReplaceCommand, a DomReplacement to ease replacement of tags by name.
  • More parameterable context type in Ssg.
javarome
published 1.2.8 •

Changelog

Source

[1.2.8] - 2022-11-20

Changed

  • change ContentStep.processFile visibility from private to protected to allow more fine-tuned specialization.
javarome
published 1.2.7 •

Changelog

Source

[1.2.7] - 2022-11-16

Added

  • Logger.name is the context name to be displayed before a log.
  • SsgContext.logger is the logger object used to perform context.logs. DefaultLogger will be used by SsgContextImpl unless another Logger implementation is provided at construction.

Fixed

  • Changing context.name will change context's logger's name as well.
javarome
published 1.2.6 •

Changelog

Source

[1.2.6] - 2022-11-13

Added

  • FileContentsLang.variants can contain "" if there is the same file is found without language suffix.
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