Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More β†’
Socket
Sign inDemoInstall
Socket

@promptbook/anthropic-claude

Package Overview
Dependencies
Maintainers
1
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/anthropic-claude - npm Package Compare versions

Comparing version 0.52.0-4 to 0.52.0-5

14

esm/typings/_packages/core.index.d.ts

@@ -0,20 +1,26 @@

import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';
import { promptbookJsonToString } from '../conversion/promptbookJsonToString';
import { promptbookStringToJson } from '../conversion/promptbookStringToJson';
import { promptbookJsonToString } from '../conversion/promptbookJsonToString';
import { validatePromptbookJson } from '../conversion/validation/validatePromptbookJson';
import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
import { createPromptbookExecutor } from '../execution/createPromptbookExecutor';
import { MultipleLlmExecutionTools } from '../execution/plugins/llm-execution-tools/multiple/MultipleLlmExecutionTools';
import { CallbackInterfaceTools } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceTools';
import { CallbackInterfaceToolsOptions } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceToolsOptions';
import { SimplePromptInterfaceTools } from '../execution/plugins/user-interface-execution-tools/simple-prompt/SimplePromptInterfaceTools';
import { SimplePromptbookLibrary } from '../library/SimplePromptbookLibrary';
import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
import { createPromptbookLibraryFromPromise } from '../library/constructors/createPromptbookLibraryFromPromise';
import { createPromptbookLibraryFromSources } from '../library/constructors/createPromptbookLibraryFromSources';
import { createPromptbookSublibrary } from '../library/constructors/createPromptbookSublibrary';
import { SimplePromptbookLibrary } from '../library/SimplePromptbookLibrary';
import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString';
import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
import { ExecutionTypes } from '../types/ExecutionTypes';
import { PROMPTBOOK_VERSION } from '../version';
import { MultipleLlmExecutionTools } from '../execution/plugins/llm-execution-tools/multiple/MultipleLlmExecutionTools';
export { ExecutionTypes, PROMPTBOOK_VERSION };
export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, isPassingExpectations, prettifyPromptbookString, };
export { createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
export { SimplePromptInterfaceTools };
export { promptbookStringToJson, promptbookJsonToString, validatePromptbookJson };
export { promptbookJsonToString, promptbookStringToJson, validatePromptbookJson };
export { createPromptbookExecutor, MultipleLlmExecutionTools };
export { CallbackInterfaceTools, CallbackInterfaceToolsOptions };
import { spaceTrim } from 'spacetrim';
import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';
import { renderPromptbookMermaid } from '../conversion/prettify/renderPromptbookMermaid';

@@ -9,7 +8,3 @@ import { extractParametersFromPromptTemplate } from '../conversion/utils/extractParametersFromPromptTemplate';

import { titleToName } from '../conversion/utils/titleToName';
import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
import { replaceParameters } from '../execution/utils/replaceParameters';
import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString';
import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
import { CountUtils } from '../utils/expectation-counters';

@@ -55,6 +50,6 @@ import { countCharacters } from '../utils/expectation-counters/countCharacters';

import { unwrapResult } from '../utils/unwrapResult';
export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
export { extractAllBlocksFromMarkdown, // <- [🌻]
extractAllListItemsFromMarkdown, extractBlock, // <- [🌻]
extractOneBlockFromMarkdown, extractParameters, extractVariables, isPassingExpectations, isValidJsonString, parseNumber, // <- [🌻]
prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, spaceTrim, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };
extractOneBlockFromMarkdown, extractParameters, extractVariables, isValidJsonString, parseNumber, // <- [🌻]
removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, spaceTrim, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };
export { countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords };

@@ -61,0 +56,0 @@ export { splitIntoSentences };

{
"name": "@promptbook/anthropic-claude",
"version": "0.52.0-4",
"version": "0.52.0-5",
"description": "Library to supercharge your use of large language models",

@@ -51,3 +51,3 @@ "private": false,

"peerDependencies": {
"@promptbook/core": "0.52.0-4"
"@promptbook/core": "0.52.0-5"
},

@@ -54,0 +54,0 @@ "main": "./umd/index.umd.js",

@@ -0,20 +1,26 @@

import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';
import { promptbookJsonToString } from '../conversion/promptbookJsonToString';
import { promptbookStringToJson } from '../conversion/promptbookStringToJson';
import { promptbookJsonToString } from '../conversion/promptbookJsonToString';
import { validatePromptbookJson } from '../conversion/validation/validatePromptbookJson';
import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
import { createPromptbookExecutor } from '../execution/createPromptbookExecutor';
import { MultipleLlmExecutionTools } from '../execution/plugins/llm-execution-tools/multiple/MultipleLlmExecutionTools';
import { CallbackInterfaceTools } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceTools';
import { CallbackInterfaceToolsOptions } from '../execution/plugins/user-interface-execution-tools/callback/CallbackInterfaceToolsOptions';
import { SimplePromptInterfaceTools } from '../execution/plugins/user-interface-execution-tools/simple-prompt/SimplePromptInterfaceTools';
import { SimplePromptbookLibrary } from '../library/SimplePromptbookLibrary';
import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
import { createPromptbookLibraryFromPromise } from '../library/constructors/createPromptbookLibraryFromPromise';
import { createPromptbookLibraryFromSources } from '../library/constructors/createPromptbookLibraryFromSources';
import { createPromptbookSublibrary } from '../library/constructors/createPromptbookSublibrary';
import { SimplePromptbookLibrary } from '../library/SimplePromptbookLibrary';
import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString';
import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
import { ExecutionTypes } from '../types/ExecutionTypes';
import { PROMPTBOOK_VERSION } from '../version';
import { MultipleLlmExecutionTools } from '../execution/plugins/llm-execution-tools/multiple/MultipleLlmExecutionTools';
export { ExecutionTypes, PROMPTBOOK_VERSION };
export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, isPassingExpectations, prettifyPromptbookString, };
export { createPromptbookLibraryFromPromise, createPromptbookLibraryFromSources, createPromptbookSublibrary, SimplePromptbookLibrary, };
export { SimplePromptInterfaceTools };
export { promptbookStringToJson, promptbookJsonToString, validatePromptbookJson };
export { promptbookJsonToString, promptbookStringToJson, validatePromptbookJson };
export { createPromptbookExecutor, MultipleLlmExecutionTools };
export { CallbackInterfaceTools, CallbackInterfaceToolsOptions };
import { spaceTrim } from 'spacetrim';
import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';
import { renderPromptbookMermaid } from '../conversion/prettify/renderPromptbookMermaid';

@@ -9,7 +8,3 @@ import { extractParametersFromPromptTemplate } from '../conversion/utils/extractParametersFromPromptTemplate';

import { titleToName } from '../conversion/utils/titleToName';
import { assertsExecutionSuccessful } from '../execution/assertsExecutionSuccessful';
import { checkExpectations, isPassingExpectations } from '../execution/utils/checkExpectations';
import { replaceParameters } from '../execution/utils/replaceParameters';
import { executionReportJsonToString } from '../types/execution-report/executionReportJsonToString';
import { ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults } from '../types/execution-report/ExecutionReportStringOptions';
import { CountUtils } from '../utils/expectation-counters';

@@ -55,6 +50,6 @@ import { countCharacters } from '../utils/expectation-counters/countCharacters';

import { unwrapResult } from '../utils/unwrapResult';
export { assertsExecutionSuccessful, checkExpectations, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
export { extractAllBlocksFromMarkdown, // <- [🌻]
extractAllListItemsFromMarkdown, extractBlock, // <- [🌻]
extractOneBlockFromMarkdown, extractParameters, extractVariables, isPassingExpectations, isValidJsonString, parseNumber, // <- [🌻]
prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, spaceTrim, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };
extractOneBlockFromMarkdown, extractParameters, extractVariables, isValidJsonString, parseNumber, // <- [🌻]
removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, spaceTrim, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };
export { countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords };

@@ -61,0 +56,0 @@ export { splitIntoSentences };

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