New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@promptbook/core

Package Overview
Dependencies
Maintainers
1
Versions
580
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/core - npm Package Versions

1
4446
58

0.41.0-0

Diff
hejny
published 0.41.0-0 •
hejny
published 0.40.1-1 •
hejny
published 0.40.0 •

Changelog

Source

0.40.0 (2024-03-10)

Multiple factories for PromptbookLibrary, Custom errors, enhance templating

  • Throwing NotFoundError
  • Throwing PromptbookSyntaxError
  • Throwing PromptbookLogicError
  • Throwing PromptbookExecutionError
  • Throwing PromptbookReferenceError
  • Throwing UnexepctedError
  • Preserve col-chars in multi-line templates, See more in replaceParameters unit test
  • Change static methods of PromptbookLibrary to standalone functions
  • Static method createPromptbookLibraryFromSources receives spreaded arguments Array instead of Record
  • Add factory function createPromptbookLibraryFromPromise
hejny
published 0.40.0-10 •
hejny
published 0.40.0-9 •
hejny
published 0.40.0-8 •
hejny
published 0.40.0-7 •
hejny
published 0.40.0-6 •
hejny
published 0.40.0-5 •
hejny
published 0.40.0-3 •