@promptbook/core
Advanced tools
Comparing version 0.31.0-4 to 0.31.0-5
@@ -20,6 +20,5 @@ import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful'; | ||
import { removeQuotes } from '../utils/removeQuotes'; | ||
import { replaceParameters } from '../utils/replaceParameters'; | ||
import { trimCodeBlock } from '../utils/trimCodeBlock'; | ||
import { trimEndOfCodeBlock } from '../utils/trimEndOfCodeBlock'; | ||
import { unwrapResult } from '../utils/unwrapResult'; | ||
export { CountUtils, EMOJIS, EMOJIS_IN_CATEGORIES, assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, countWords, executionReportJsonToString, extractAllBlocksFromMarkdown, extractAllListItemsFromMarkdown, extractOneBlockFromMarkdown, isValidJsonString, parseNumber, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, }; | ||
export { CountUtils, EMOJIS, EMOJIS_IN_CATEGORIES, assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, countWords, executionReportJsonToString, extractAllBlocksFromMarkdown, extractAllListItemsFromMarkdown, extractOneBlockFromMarkdown, isValidJsonString, parseNumber, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, }; |
@@ -7,3 +7,5 @@ import { string_name, string_template } from '../types/typeAliases'; | ||
* @returns the list of parameter names | ||
* | ||
* @private within the library | ||
*/ | ||
export declare function extractParameters(template: string_template): Array<string_name>; |
@@ -9,3 +9,5 @@ import { string_template } from '.././types/typeAliases'; | ||
* @returns the template with replaced parameters | ||
* | ||
* @private within the library | ||
*/ | ||
export declare function replaceParameters(template: string_template, parameters: Parameters): string; |
{ | ||
"name": "@promptbook/core", | ||
"version": "0.31.0-4", | ||
"version": "0.31.0-5", | ||
"description": "Library to supercharge your use of large language models", | ||
@@ -5,0 +5,0 @@ "private": false, |
@@ -20,6 +20,5 @@ import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful'; | ||
import { removeQuotes } from '../utils/removeQuotes'; | ||
import { replaceParameters } from '../utils/replaceParameters'; | ||
import { trimCodeBlock } from '../utils/trimCodeBlock'; | ||
import { trimEndOfCodeBlock } from '../utils/trimEndOfCodeBlock'; | ||
import { unwrapResult } from '../utils/unwrapResult'; | ||
export { CountUtils, EMOJIS, EMOJIS_IN_CATEGORIES, assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, countWords, executionReportJsonToString, extractAllBlocksFromMarkdown, extractAllListItemsFromMarkdown, extractOneBlockFromMarkdown, isValidJsonString, parseNumber, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, }; | ||
export { CountUtils, EMOJIS, EMOJIS_IN_CATEGORIES, assertsExecutionSuccessful, countCharacters, countLines, countPages, countParagraphs, countSentences, countWords, executionReportJsonToString, extractAllBlocksFromMarkdown, extractAllListItemsFromMarkdown, extractOneBlockFromMarkdown, isValidJsonString, parseNumber, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, }; |
@@ -7,3 +7,5 @@ import { string_name, string_template } from '../types/typeAliases'; | ||
* @returns the list of parameter names | ||
* | ||
* @private within the library | ||
*/ | ||
export declare function extractParameters(template: string_template): Array<string_name>; |
@@ -9,3 +9,5 @@ import { string_template } from '.././types/typeAliases'; | ||
* @returns the template with replaced parameters | ||
* | ||
* @private within the library | ||
*/ | ||
export declare function replaceParameters(template: string_template, parameters: Parameters): string; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
692231
294
9377
2