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
243
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.74.0-13 to 0.74.0

esm/typings/src/utils/expectation-counters/config.d.ts

4

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

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

import { $isRunningInWebWorker } from '../utils/environment/$isRunningInWebWorker';
import { CHARACTERS_PER_STANDARD_LINE } from '../utils/expectation-counters/config';
import { LINES_PER_STANDARD_PAGE } from '../utils/expectation-counters/config';
import { countCharacters } from '../utils/expectation-counters/countCharacters';

@@ -87,2 +89,4 @@ import { countLines } from '../utils/expectation-counters/countLines';

export { $isRunningInWebWorker };
export { CHARACTERS_PER_STANDARD_LINE };
export { LINES_PER_STANDARD_PAGE };
export { countCharacters };

@@ -89,0 +93,0 @@ export { countLines };

2

esm/typings/src/cli/cli-commands/run.d.ts

@@ -9,3 +9,3 @@ import type { Command as Program } from 'commander';

/**
* TODO: !!!!!! Catch and wrap all errors from CLI
* TODO: !!!!! Catch and wrap all errors from CLI
* TODO: [๐Ÿง ] Pass `maxExecutionAttempts`, `csvSettings`

@@ -12,0 +12,0 @@ * TODO: [๐Ÿฅƒ][main] !!! Allow `ptbk run` without configuring any llm tools

import { promptbookCli } from './promptbookCli';
/**
* Note: [๐Ÿ”บ] Purpose of this file is to export CLI for production environment
*/
/**
* Hidden utilities which should not be used by external consumers.

@@ -8,3 +11,3 @@ *

export declare const _CLI: {
_initialize: typeof promptbookCli;
_initialize_promptbookCli: typeof promptbookCli;
};

@@ -11,0 +14,0 @@ /**

#!/usr/bin/env ts-node
/**
* Note: Purpose of this file !!!!!!! vs other place
* Note: [๐Ÿ”บ] Purpose of this file is to test the CLI in development environment
*/
import '../../_packages/cli.index.ts';

@@ -5,4 +5,6 @@ import type { ExpectationAmount } from '../../types/PipelineJson/Expectations';

*
* Note: This does not check only for the presence of newlines, but also for the length of the standard line.
*
* @public exported from `@promptbook/utils`
*/
export declare function countLines(text: string): ExpectationAmount;

@@ -5,4 +5,6 @@ import type { ExpectationAmount } from '../../types/PipelineJson/Expectations';

*
* Note: This does not check only for the count of newlines, but also for the length of the standard line and length of the standard page.
*
* @public exported from `@promptbook/utils`
*/
export declare function countPages(text: string): ExpectationAmount;
{
"name": "@promptbook/node",
"version": "0.74.0-13",
"version": "0.74.0",
"description": "Supercharge your use of large language models",

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

"peerDependencies": {
"@promptbook/core": "0.74.0-13"
"@promptbook/core": "0.74.0"
},

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

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

- ๐Ÿ’™ Working on [the **Book** language v1](https://github.com/webgptorg/book)
- ๐Ÿ’™ Working [the **Book** language v1.0.0](https://github.com/webgptorg/book)
- ๐Ÿ–ค Run books from CLI - `npx ptbk run path/to/your/book`
- ๐Ÿ“š Support of `.docx`, `.doc` and `.pdf` documents

@@ -28,6 +29,2 @@ - โœจ **Support of [OpenAI o1 model](https://openai.com/o1/)**

<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/node`

@@ -34,0 +31,0 @@

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