New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More โ†’
Socket
Sign inDemoInstall
Socket

@promptbook/types

Package Overview
Dependencies
Maintainers
0
Versions
567
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/types - npm Package Compare versions

Comparing version 0.80.0 to 0.81.0-5

esm/typings/src/_packages/editable.index.d.ts

6

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

@@ -37,5 +37,2 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';

import { extractParameterNamesFromTask } from '../conversion/utils/extractParameterNamesFromTask';
import { removePipelineCommand } from '../conversion/utils/removePipelineCommand';
import { renamePipelineParameter } from '../conversion/utils/renamePipelineParameter';
import { stringifyPipelineJson } from '../conversion/utils/stringifyPipelineJson';
import { validatePipeline } from '../conversion/validation/validatePipeline';

@@ -159,5 +156,2 @@ import { CallbackInterfaceTools } from '../dialogs/callback/CallbackInterfaceTools';

export { extractParameterNamesFromTask };
export { removePipelineCommand };
export { renamePipelineParameter };
export { stringifyPipelineJson };
export { validatePipeline };

@@ -164,0 +158,0 @@ export { CallbackInterfaceTools };

4

esm/typings/src/_packages/types.index.d.ts

@@ -33,2 +33,3 @@ import type { PipelineCollection } from '../collection/PipelineCollection';

import type { PipelineExecutorResult } from '../execution/PipelineExecutorResult';
import type { PromptbookFetch } from '../execution/PromptbookFetch';
import type { PromptResult } from '../execution/PromptResult';

@@ -245,2 +246,3 @@ import type { CompletionPromptResult } from '../execution/PromptResult';

import type { Registration } from '../utils/$Register';
import type { PipelineEditableSerialized } from '../utils/editable/types/PipelineEditableSerialized';
import type { ExecCommandOptions } from '../utils/execCommand/ExecCommandOptions';

@@ -297,2 +299,3 @@ import type { ExecCommandOptionsAdvanced } from '../utils/execCommand/ExecCommandOptions';

export type { PipelineExecutorResult };
export type { PromptbookFetch };
export type { PromptResult };

@@ -509,2 +512,3 @@ export type { CompletionPromptResult };

export type { Registration };
export type { PipelineEditableSerialized };
export type { ExecCommandOptions };

@@ -511,0 +515,0 @@ export type { ExecCommandOptionsAdvanced };

@@ -49,3 +49,3 @@ import { BOOK_LANGUAGE_VERSION, PROMPTBOOK_ENGINE_VERSION } from '../version';

import { extractParameterNames } from '../utils/parameters/extractParameterNames';
import { replaceParameters } from '../utils/parameters/replaceParameters';
import { templateParameters } from '../utils/parameters/templateParameters';
import { parseNumber } from '../utils/parseNumber';

@@ -125,3 +125,3 @@ import { $randomSeed } from '../utils/random/$randomSeed';

export { extractParameterNames };
export { replaceParameters };
export { templateParameters };
export { parseNumber };

@@ -128,0 +128,0 @@ export { $randomSeed };

@@ -6,2 +6,3 @@ import type { Scraper } from '../scrapers/_common/Scraper';

import type { LlmExecutionTools } from './LlmExecutionTools';
import type { PromptbookFetch } from './PromptbookFetch';
import type { ScriptExecutionTools } from './ScriptExecutionTools';

@@ -32,2 +33,8 @@ import type { UserInterfaceTools } from './UserInterfaceTools';

/**
* Fetch function for fetching resources
*
* @default `fetch` - If not provided, the built-in `fetch' function is used with a lightweight error handling wrapper.
*/
readonly fetch?: PromptbookFetch;
/**
* Scrapers for extracting knowledge from external sources

@@ -34,0 +41,0 @@ *

@@ -0,1 +1,2 @@

import type { PromptbookFetch } from '../../execution/PromptbookFetch';
import type { string_name } from '../../types/typeAliases';

@@ -5,3 +6,3 @@ /**

*/
export declare function isDomainNameFree(name: string_name): Promise<boolean>;
export declare function isDomainNameFree(name: string_name, fetch: PromptbookFetch): Promise<boolean>;
/**

@@ -8,0 +9,0 @@ * TODO: [๐Ÿ“][๐Ÿง ] Test and implement `isDomainNameFree`

@@ -0,1 +1,2 @@

import type { PromptbookFetch } from '../../execution/PromptbookFetch';
import type { string_name } from '../../types/typeAliases';

@@ -5,3 +6,3 @@ /**

*/
export declare function isGithubNameFree(name: string_name): Promise<boolean>;
export declare function isGithubNameFree(name: string_name, fetch: PromptbookFetch): Promise<boolean>;
/**

@@ -8,0 +9,0 @@ * TODO: [๐Ÿ“][๐Ÿง ] Test and implement `isGithubNameFree`

@@ -11,2 +11,2 @@ import type { SetOptional } from 'type-fest';

*/
export declare function makeKnowledgeSourceHandler(knowledgeSource: SetOptional<KnowledgeSourceJson, 'name'>, tools: Pick<ExecutionTools, 'fs'>, options?: Pick<PrepareAndScrapeOptions, 'rootDirname' | 'isVerbose'>): Promise<ScraperSourceHandler>;
export declare function makeKnowledgeSourceHandler(knowledgeSource: SetOptional<KnowledgeSourceJson, 'name'>, tools: Pick<ExecutionTools, 'fs' | 'fetch'>, options?: Pick<PrepareAndScrapeOptions, 'rootDirname' | 'isVerbose'>): Promise<ScraperSourceHandler>;
{
"name": "@promptbook/types",
"version": "0.80.0",
"version": "0.81.0-5",
"description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",

@@ -55,4 +55,4 @@ "--note-0": " <- [๐ŸŠ]",

"peerDependencies": {
"@promptbook/core": "0.80.0"
"@promptbook/core": "0.81.0-5"
}
}

@@ -26,2 +26,6 @@ <!-- โš ๏ธ WARNING: This code has been generated so that any manual changes will be overwritten -->

<blockquote style="color: #ff8811">
<b>โš  Warning:</b> This is a pre-release version of the library. It is not yet ready for production use. Please look at <a href="https://www.npmjs.com/package/@promptbook/core?activeTab=versions">latest stable release</a>.
</blockquote>
## ๐Ÿ“ฆ Package `@promptbook/types`

@@ -276,2 +280,4 @@

- **[@promptbook/website-crawler](https://www.npmjs.com/package/@promptbook/website-crawler)** - Crawl knowledge from the web
- **[@promptbook/editable](https://www.npmjs.com/package/@promptbook/editable)** - Editable book as native javascript object with imperative object API
- **[@promptbook/templates](https://www.npmjs.com/package/@promptbook/templates)** - Usefull templates and examples of books which can be used as a starting point
- **[@promptbook/types](https://www.npmjs.com/package/@promptbook/types)** - Just typescript types used in the library

@@ -278,0 +284,0 @@ - **[@promptbook/cli](https://www.npmjs.com/package/@promptbook/cli)** - Command line interface utilities for promptbooks

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