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

@promptbook/anthropic-claude

Package Overview
Dependencies
Maintainers
0
Versions
262
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@promptbook/anthropic-claude - npm Package Compare versions

Comparing version 0.72.0-32 to 0.72.0-33

esm/typings/src/utils/execCommand/$execCommandNormalizeOptions.d.ts

2

esm/typings/src/utils/execCommand/$execCommand.d.ts

@@ -5,5 +5,7 @@ import type { ExecCommandOptions } from './ExecCommandOptions';

*
*
* Note: There are 2 similar functions in the codebase:
* - `$execCommand` which runs a single command
* - `$execCommands` which runs multiple commands
* Note: `$` is used to indicate that this function is not a pure function - it runs a command in a shell
*

@@ -10,0 +12,0 @@ * @public exported from `@promptbook/node`

@@ -7,2 +7,3 @@ /**

* - `$execCommands` which runs multiple commands
* Note: `$` is used to indicate that this function is not a pure function - it runs a commands in a shell
*

@@ -9,0 +10,0 @@ * @public exported from `@promptbook/node`

@@ -8,3 +8,3 @@ /**

*/
export type ExecCommandOptions = string | RequiredAndOptional<ExecCommandOptionsAdvanced, 'command', 'args' | 'cwd' | 'crashOnError' | 'timeout'>;
export type ExecCommandOptions = string | RequiredAndOptional<ExecCommandOptionsAdvanced, 'command', 'args' | 'cwd' | 'crashOnError' | 'timeout' | 'isVerbose'>;
/**

@@ -14,8 +14,34 @@ * Advanced options for `execCommand`

export type ExecCommandOptionsAdvanced = {
/**
* Command to run
*/
readonly command: string;
/**
* Arguments for the command
*/
readonly args: string[];
/**
* Current working directory
*
* @default process.cwd()
*/
readonly cwd: string;
/**
* If `true` then the command will throw an error if the return code is not `0`
*/
readonly crashOnError: boolean;
/**
* Timeout in milliseconds
*/
readonly timeout: number;
/**
* If `true` then the command and entire CLI output will be logged to the console
*
* @default false
*/
readonly isVerbose?: boolean;
};
export {};
/**
* TODO: [⏳] Make DEFAULT_TIMEOUT_MS as global constant
*/

4

package.json
{
"name": "@promptbook/anthropic-claude",
"version": "0.72.0-32",
"version": "0.72.0-33",
"description": "Supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.72.0-32"
"@promptbook/core": "0.72.0-33"
},

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

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