Socket
Socket
Sign inDemoInstall

@promptbook/remote-client

Package Overview
Dependencies
Maintainers
1
Versions
366
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.22.6 to 0.23.0

esm/typings/utils/markdown/extractAllBlocksFromMarkdown.d.ts

4

esm/typings/_packages/utils.index.d.ts
import { EMOJIS, EMOJIS_IN_CATEGORIES } from '../utils/emojis';
import { isValidJsonString } from '../utils/isValidJsonString';
import { extractAllBlocksFromMarkdown } from '../utils/markdown/extractAllBlocksFromMarkdown';
import { extractAllListItemsFromMarkdown } from '../utils/markdown/extractAllListItemsFromMarkdown';
import { extractBlocksFromMarkdown } from '../utils/markdown/extractBlocksFromMarkdown';
import { extractOneBlockFromMarkdown } from '../utils/markdown/extractOneBlockFromMarkdown';

@@ -13,2 +13,2 @@ import { removeContentComments } from '../utils/markdown/removeContentComments';

import { unwrapResult } from '../utils/unwrapResult';
export { EMOJIS, EMOJIS_IN_CATEGORIES, extractAllListItemsFromMarkdown, extractBlocksFromMarkdown, extractOneBlockFromMarkdown, isValidJsonString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimEndOfCodeBlock, unwrapResult, };
export { EMOJIS, EMOJIS_IN_CATEGORIES, extractAllBlocksFromMarkdown, extractAllListItemsFromMarkdown, extractOneBlockFromMarkdown, isValidJsonString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimEndOfCodeBlock, unwrapResult, };

@@ -5,3 +5,3 @@ import { string_markdown } from '../.././types/typeAliases';

*
* Note: This function is similar to extractBlocksFromMarkdown but it validates that there is exactly one code block.
* Note: This function is similar to extractAllBlocksFromMarkdown but it validates that there is exactly one code block.
* Note: If there are multiple or no code blocks the function throws an error

@@ -8,0 +8,0 @@ *

{
"name": "@promptbook/remote-client",
"version": "0.22.6",
"version": "0.23.0",
"description": "Library to supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.22.6"
"@promptbook/core": "0.23.0"
},

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

import { EMOJIS, EMOJIS_IN_CATEGORIES } from '../utils/emojis';
import { isValidJsonString } from '../utils/isValidJsonString';
import { extractAllBlocksFromMarkdown } from '../utils/markdown/extractAllBlocksFromMarkdown';
import { extractAllListItemsFromMarkdown } from '../utils/markdown/extractAllListItemsFromMarkdown';
import { extractBlocksFromMarkdown } from '../utils/markdown/extractBlocksFromMarkdown';
import { extractOneBlockFromMarkdown } from '../utils/markdown/extractOneBlockFromMarkdown';

@@ -13,2 +13,2 @@ import { removeContentComments } from '../utils/markdown/removeContentComments';

import { unwrapResult } from '../utils/unwrapResult';
export { EMOJIS, EMOJIS_IN_CATEGORIES, extractAllListItemsFromMarkdown, extractBlocksFromMarkdown, extractOneBlockFromMarkdown, isValidJsonString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimEndOfCodeBlock, unwrapResult, };
export { EMOJIS, EMOJIS_IN_CATEGORIES, extractAllBlocksFromMarkdown, extractAllListItemsFromMarkdown, extractOneBlockFromMarkdown, isValidJsonString, removeContentComments, removeEmojis, removeMarkdownFormatting, removeQuotes, replaceParameters, trimEndOfCodeBlock, unwrapResult, };

@@ -5,3 +5,3 @@ import { string_markdown } from '../.././types/typeAliases';

*
* Note: This function is similar to extractBlocksFromMarkdown but it validates that there is exactly one code block.
* Note: This function is similar to extractAllBlocksFromMarkdown but it validates that there is exactly one code block.
* Note: If there are multiple or no code blocks the function throws an error

@@ -8,0 +8,0 @@ *

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc