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

@promptbook/node

Package Overview
Dependencies
Maintainers
0
Versions
247
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/node - npm Package Compare versions

Comparing version 0.61.0-25 to 0.61.0-26

esm/typings/src/conversion/utils/extractParameterNamesFromPromptTemplate.d.ts

8

esm/typings/src/_packages/utils.index.d.ts
import { spaceTrim } from 'spacetrim';
import { renderPromptbookMermaid } from '../conversion/prettify/renderPipelineMermaidOptions';
import { extractParametersFromPromptTemplate } from '../conversion/utils/extractParametersFromPromptTemplate';
import { extractParameterNamesFromPromptTemplate } from '../conversion/utils/extractParameterNamesFromPromptTemplate';
import { extractVariables } from '../conversion/utils/extractVariables';

@@ -18,3 +18,3 @@ import { renameParameter } from '../conversion/utils/renameParameter';

import { CountUtils } from '../utils/expectation-counters/index';
import { extractParameters } from '../utils/extractParameters';
import { extractParameterNames } from '../utils/extractParameterNames';
import { DIACRITIC_VARIANTS_LETTERS } from '../utils/normalization/DIACRITIC_VARIANTS_LETTERS';

@@ -59,3 +59,3 @@ import type { IKeywords, string_keyword } from '../utils/normalization/IKeywords';

export { forEachAsync, PROMPTBOOK_VERSION };
export { extractParameters, extractVariables, replaceParameters, spaceTrim };
export { extractParameterNames, extractVariables, replaceParameters, spaceTrim };
export { $currentDate, $randomSeed, extractBlock, // <- [🌻] + maybe export through `@promptbook/markdown-utils`

@@ -75,3 +75,3 @@ isHostnameOnPrivateNetwork, isUrlOnPrivateNetwork, isValidFilePath, isValidJavascriptName, isValidJsonString, isValidPipelineUrl, isValidPromptbookVersion, isValidSemanticVersion, isValidUrl, isValidUuid, parseNumber, // <- [🌻]

export type { string_camelCase, string_kebab_case, string_PascalCase, string_SCREAMING_CASE, string_snake_case };
export { extractParametersFromPromptTemplate, renameParameter, renderPromptbookMermaid };
export { extractParameterNamesFromPromptTemplate, renameParameter, renderPromptbookMermaid };
export { difference, intersection, union };

@@ -78,0 +78,0 @@ /**

@@ -84,5 +84,5 @@ import type { string_file_path } from '../typeAliases';

* TODO: [🧠] Maybe wrap all {parameterNames} in brackets for example { "resultingParameterName": "{foo}" }
* Note: There was a proposal for multiple types of promptbook objects 78816ff33e2705ee1a187aa2eb8affd976d4ea1a
* Note: [πŸ’Ό] There was a proposal for multiple types of promptbook objects 78816ff33e2705ee1a187aa2eb8affd976d4ea1a
* But then immediately reverted back to the single type
* With knowledge as part of the promptbook and collection just as a collection of promptbooks
*/
{
"name": "@promptbook/node",
"version": "0.61.0-25",
"version": "0.61.0-26",
"description": "Supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.61.0-25"
"@promptbook/core": "0.61.0-26"
},

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

import { spaceTrim } from 'spacetrim';
import { renderPromptbookMermaid } from '../conversion/prettify/renderPipelineMermaidOptions';
import { extractParametersFromPromptTemplate } from '../conversion/utils/extractParametersFromPromptTemplate';
import { extractParameterNamesFromPromptTemplate } from '../conversion/utils/extractParameterNamesFromPromptTemplate';
import { extractVariables } from '../conversion/utils/extractVariables';

@@ -18,3 +18,3 @@ import { renameParameter } from '../conversion/utils/renameParameter';

import { CountUtils } from '../utils/expectation-counters/index';
import { extractParameters } from '../utils/extractParameters';
import { extractParameterNames } from '../utils/extractParameterNames';
import { DIACRITIC_VARIANTS_LETTERS } from '../utils/normalization/DIACRITIC_VARIANTS_LETTERS';

@@ -59,3 +59,3 @@ import type { IKeywords, string_keyword } from '../utils/normalization/IKeywords';

export { forEachAsync, PROMPTBOOK_VERSION };
export { extractParameters, extractVariables, replaceParameters, spaceTrim };
export { extractParameterNames, extractVariables, replaceParameters, spaceTrim };
export { $currentDate, $randomSeed, extractBlock, // <- [🌻] + maybe export through `@promptbook/markdown-utils`

@@ -75,3 +75,3 @@ isHostnameOnPrivateNetwork, isUrlOnPrivateNetwork, isValidFilePath, isValidJavascriptName, isValidJsonString, isValidPipelineUrl, isValidPromptbookVersion, isValidSemanticVersion, isValidUrl, isValidUuid, parseNumber, // <- [🌻]

export type { string_camelCase, string_kebab_case, string_PascalCase, string_SCREAMING_CASE, string_snake_case };
export { extractParametersFromPromptTemplate, renameParameter, renderPromptbookMermaid };
export { extractParameterNamesFromPromptTemplate, renameParameter, renderPromptbookMermaid };
export { difference, intersection, union };

@@ -78,0 +78,0 @@ /**

@@ -84,5 +84,5 @@ import type { string_file_path } from '../typeAliases';

* TODO: [🧠] Maybe wrap all {parameterNames} in brackets for example { "resultingParameterName": "{foo}" }
* Note: There was a proposal for multiple types of promptbook objects 78816ff33e2705ee1a187aa2eb8affd976d4ea1a
* Note: [πŸ’Ό] There was a proposal for multiple types of promptbook objects 78816ff33e2705ee1a187aa2eb8affd976d4ea1a
* But then immediately reverted back to the single type
* With knowledge as part of the promptbook and collection just as a collection of promptbooks
*/

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

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