Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
1
Versions
401
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/remote-client - npm Package Compare versions

Comparing version 0.44.0-0 to 0.44.0-1

esm/typings/errors/_ExpectError.d.ts

31

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

@@ -12,3 +12,3 @@ import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';

import { countParagraphs } from '../utils/expectation-counters/countParagraphs';
import { countSentences } from '../utils/expectation-counters/countSentences';
import { countSentences, splitIntoSentences } from '../utils/expectation-counters/countSentences';
import { countWords } from '../utils/expectation-counters/countWords';

@@ -21,12 +21,2 @@ import { isValidJsonString } from '../utils/isValidJsonString';

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

@@ -49,2 +39,21 @@ import { decapitalize } from '../utils/normalization/decapitalize';

import { searchKeywords } from '../utils/normalization/searchKeywords';
import { extractBlock } from '../utils/postprocessing/extractBlock';
import { removeEmojis } from '../utils/removeEmojis';
import { removeQuotes } from '../utils/removeQuotes';
import { trimCodeBlock } from '../utils/trimCodeBlock';
import { trimEndOfCodeBlock } from '../utils/trimEndOfCodeBlock';
import { unwrapResult } from '../utils/unwrapResult';
export { assertsExecutionSuccessful, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
extractAllListItemsFromMarkdown, extractBlock, // <- [🌻]
extractOneBlockFromMarkdown, isValidJsonString, parseNumber, // <- [🌻]
prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };
export { countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords };
export { splitIntoSentences };
export declare const normalizeTo: {
camelCase: typeof normalizeTo_camelCase;
PascalCase: typeof normalizeTo_PascalCase;
'SCREAMING-CASE': typeof normalizeTo_SCREAMING_CASE;
snake_case: typeof normalizeTo_snake_case;
'kebab-case': typeof normalizeToKebabCase;
};
export { capitalize, decapitalize, DIACRITIC_VARIANTS_LETTERS, IKeywords, isValidKeyword, nameToUriPart, nameToUriParts, normalizeTo_camelCase, normalizeTo_PascalCase, normalizeTo_SCREAMING_CASE, normalizeTo_snake_case, normalizeToKebabCase, normalizeWhitespaces, parseKeywords, parseKeywordsFromString, removeDiacritics, searchKeywords, string_keyword, };

@@ -51,0 +60,0 @@ /**

import type { ExpectationAmount } from '../../types/PromptbookJson/PromptTemplateJson';
/**
* Split text into sentences
*/
export declare function splitIntoSentences(text: string): Array<string>;
/**
* Counts number of sentences in the text
*/
export declare function countSentences(text: string): ExpectationAmount;
{
"name": "@promptbook/remote-client",
"version": "0.44.0-0",
"version": "0.44.0-1",
"description": "Library to supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.44.0-0"
"@promptbook/core": "0.44.0-1"
},

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

@@ -12,3 +12,3 @@ import { prettifyPromptbookString } from '../conversion/prettify/prettifyPromptbookString';

import { countParagraphs } from '../utils/expectation-counters/countParagraphs';
import { countSentences } from '../utils/expectation-counters/countSentences';
import { countSentences, splitIntoSentences } from '../utils/expectation-counters/countSentences';
import { countWords } from '../utils/expectation-counters/countWords';

@@ -21,12 +21,2 @@ import { isValidJsonString } from '../utils/isValidJsonString';

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

@@ -49,2 +39,21 @@ import { decapitalize } from '../utils/normalization/decapitalize';

import { searchKeywords } from '../utils/normalization/searchKeywords';
import { extractBlock } from '../utils/postprocessing/extractBlock';
import { removeEmojis } from '../utils/removeEmojis';
import { removeQuotes } from '../utils/removeQuotes';
import { trimCodeBlock } from '../utils/trimCodeBlock';
import { trimEndOfCodeBlock } from '../utils/trimEndOfCodeBlock';
import { unwrapResult } from '../utils/unwrapResult';
export { assertsExecutionSuccessful, executionReportJsonToString, ExecutionReportStringOptions, ExecutionReportStringOptionsDefaults, extractAllBlocksFromMarkdown, // <- [🌻]
extractAllListItemsFromMarkdown, extractBlock, // <- [🌻]
extractOneBlockFromMarkdown, isValidJsonString, parseNumber, // <- [🌻]
prettifyPromptbookString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimCodeBlock, trimEndOfCodeBlock, unwrapResult, };
export { countCharacters, countLines, countPages, countParagraphs, countSentences, CountUtils, countWords };
export { splitIntoSentences };
export declare const normalizeTo: {
camelCase: typeof normalizeTo_camelCase;
PascalCase: typeof normalizeTo_PascalCase;
'SCREAMING-CASE': typeof normalizeTo_SCREAMING_CASE;
snake_case: typeof normalizeTo_snake_case;
'kebab-case': typeof normalizeToKebabCase;
};
export { capitalize, decapitalize, DIACRITIC_VARIANTS_LETTERS, IKeywords, isValidKeyword, nameToUriPart, nameToUriParts, normalizeTo_camelCase, normalizeTo_PascalCase, normalizeTo_SCREAMING_CASE, normalizeTo_snake_case, normalizeToKebabCase, normalizeWhitespaces, parseKeywords, parseKeywordsFromString, removeDiacritics, searchKeywords, string_keyword, };

@@ -51,0 +60,0 @@ /**

import type { ExpectationAmount } from '../../types/PromptbookJson/PromptTemplateJson';
/**
* Split text into sentences
*/
export declare function splitIntoSentences(text: string): Array<string>;
/**
* Counts number of sentences in the text
*/
export declare function countSentences(text: string): ExpectationAmount;
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