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

@promptbook/execute-javascript

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/execute-javascript - npm Package Compare versions

Comparing version 0.81.0-8 to 0.81.0-9

2

esm/index.es.js

@@ -20,3 +20,3 @@ import _spaceTrim, { spaceTrim } from 'spacetrim';

*/
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-7';
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-8';
/**

@@ -23,0 +23,0 @@ * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine

@@ -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 };

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/execute-javascript",
"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": {

@@ -26,3 +26,3 @@ (function (global, factory) {

*/
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-7';
var PROMPTBOOK_ENGINE_VERSION = '0.81.0-8';
/**

@@ -29,0 +29,0 @@ * TODO: string_promptbook_version should be constrained to the all versions of Promptbook engine

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