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

@promptbook/fake-llm

Package Overview
Dependencies
Maintainers
0
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/fake-llm - npm Package Compare versions

Comparing version 0.81.0-8 to 0.81.0-9

2

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

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

import type { Parameters } from '../types/typeAliases';
import type { InputParameters } from '../types/typeAliases';
import type { string_reserved_parameter_name } from '../types/typeAliases';

@@ -411,2 +412,3 @@ import type { ReservedParameters } from '../types/typeAliases';

export type { Parameters };
export type { InputParameters };
export type { string_reserved_parameter_name };

@@ -413,0 +415,0 @@ export type { ReservedParameters };

4

esm/typings/src/execution/createPipelineExecutor/10-executePipeline.d.ts
import type { Promisable, ReadonlyDeep } from 'type-fest';
import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';
import type { TaskProgress } from '../../types/TaskProgress';
import type { Parameters } from '../../types/typeAliases';
import type { InputParameters } from '../../types/typeAliases';
import type { PipelineExecutorResult } from '../PipelineExecutorResult';

@@ -16,3 +16,3 @@ import type { CreatePipelineExecutorOptions } from './00-CreatePipelineExecutorOptions';

*/
readonly inputParameters: Readonly<Parameters>;
readonly inputParameters: Readonly<InputParameters>;
/**

@@ -19,0 +19,0 @@ * @@@

import type { Promisable } from 'type-fest';
import type { TaskProgress } from '../types/TaskProgress';
import type { Parameters } from '../types/typeAliases';
import type { InputParameters } from '../types/typeAliases';
import type { PipelineExecutorResult } from './PipelineExecutorResult';

@@ -14,3 +14,3 @@ /**

export type PipelineExecutor = {
(inputParameters: Parameters, onProgress?: (taskProgress: TaskProgress) => Promisable<void>): Promise<PipelineExecutorResult>;
(inputParameters: InputParameters, onProgress?: (taskProgress: TaskProgress) => Promisable<void>): Promise<PipelineExecutorResult>;
};

@@ -17,0 +17,0 @@ /**

import type { TupleToUnion } from 'type-fest';
import { RESERVED_PARAMETER_NAMES } from '../constants';
import type { really_unknown } from '../utils/organization/really_unknown';
/**

@@ -111,2 +112,9 @@ * Semantic helper

/**
* Parameters to pass to execution of the pipeline
*
* Note: [πŸš‰] This should be fully serializable as JSON
* @see https://ptbk.io/parameters
*/
export type InputParameters = Exclude<Record<string_parameter_name, really_unknown>, ReservedParameters>;
/**
* Semantic helper

@@ -113,0 +121,0 @@ * Unique identifier of reserved parameter

import { Promisable } from 'type-fest';
import type { PipelineExecutorResult } from '../execution/PipelineExecutorResult';
import type { TaskProgress } from '../types/TaskProgress';
import type { Parameters } from '../types/typeAliases';
import type { InputParameters } from '../types/typeAliases';
import type { string_pipeline_url } from '../types/typeAliases';

@@ -15,3 +15,3 @@ /**

*/
run(book: string_pipeline_url, inputParameters: Parameters, onProgress?: ((taskProgress: TaskProgress) => Promisable<void>) | undefined): Promise<PipelineExecutorResult>;
execute(book: string_pipeline_url, inputParameters: InputParameters, onProgress?: ((taskProgress: TaskProgress) => Promisable<void>) | undefined): Promise<PipelineExecutorResult>;
};

@@ -18,0 +18,0 @@ /**

{
"name": "@promptbook/fake-llm",
"version": "0.81.0-8",
"version": "0.81.0-9",
"description": "It's time for a paradigm shift. The future of software in plain English, French or Latin",

@@ -57,3 +57,3 @@ "--note-0": " <- [🐊]",

"peerDependencies": {
"@promptbook/core": "0.81.0-8"
"@promptbook/core": "0.81.0-9"
},

@@ -60,0 +60,0 @@ "dependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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