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

@promptbook/node

Package Overview
Dependencies
Maintainers
0
Versions
278
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.81.0-11 to 0.81.0-12

esm/typings/src/utils/validators/filePath/isPathRoot.d.ts

2

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

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

import { isValidEmail } from '../utils/validators/email/isValidEmail';
import { isPathRoot } from '../utils/validators/filePath/isPathRoot';
import { isValidFilePath } from '../utils/validators/filePath/isValidFilePath';

@@ -151,2 +152,3 @@ import { isValidJavascriptName } from '../utils/validators/javascriptName/isValidJavascriptName';

export { isValidEmail };
export { isPathRoot };
export { isValidFilePath };

@@ -153,0 +155,0 @@ export { isValidJavascriptName };

8

esm/typings/src/other/templates/getBookTemplate.d.ts

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

import type { PipelineCollection } from '../../collection/PipelineCollection';
import type { string_formfactor_name } from '../../formfactors/_common/string_formfactor_name';

@@ -10,3 +9,3 @@ import type { PipelineJson } from '../../pipeline/PipelineJson/PipelineJson';

*/
export declare let templatesPipelineCollection: PipelineCollection | null;
export declare let pipelines: Array<PipelineJson> | null;
/**

@@ -17,7 +16,6 @@ * Get template for new book

*/
export declare function getBookTemplate(formfactorName: string_formfactor_name): PipelineJson;
export declare function getBookTemplate(formfactorName: string_formfactor_name): ReadonlyArray<PipelineJson>;
/**
* TODO: !!!!!! Test
* TODO: Unit test
* TODO: [๐Ÿง ] Which is the best place for this function
* TODO: !!!!!! `book string template notation
*/

@@ -8,1 +8,4 @@ import type { PromptbookFetch } from '../../../execution/PromptbookFetch';

export declare const scraperFetch: PromptbookFetch;
/**
* TODO: [๐Ÿง ] Maybe rename because it is not used only for scrapers but also in `$getCompiledBook`
*/

@@ -12,3 +12,4 @@ import type { really_any } from '../../../utils/organization/really_any';

/**
* TODO: Probbably remove in favour of `keepImported`
* TODO: !! [1] This maybe does memory leak
*/

@@ -10,1 +10,4 @@ import type { string_filename } from '../../../types/typeAliases';

export declare function isValidFilePath(filename: really_unknown): filename is string_filename;
/**
* TODO: [๐Ÿ] Implement for MacOs
*/
import { Promisable } from 'type-fest';
import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson';
import type { ExecutionTools } from '../execution/ExecutionTools';
import type { PipelineExecutorResult } from '../execution/PipelineExecutorResult';
import type { PipelineJson } from '../pipeline/PipelineJson/PipelineJson';
import type { PipelineString } from '../pipeline/PipelineString';

@@ -26,3 +26,3 @@ import type { TaskProgress } from '../types/TaskProgress';

*/
getExecutionTools(): Promise<ExecutionTools>;
getExecutionTools(): Promise<Required<Pick<ExecutionTools, 'fs' | 'fetch'>>>;
/**

@@ -38,3 +38,3 @@ * TODO: Make standalone function from this exported from node and used here and in `ptbk run`

*/
getPipeline(pipelineSource: string_filename | string_pipeline_url | PipelineString): Promise<PipelineJson>;
getCompiledBook(pipelineSource: string_filename | string_pipeline_url | PipelineString): Promise<PipelineJson>;
}

@@ -41,0 +41,0 @@ /**

{
"name": "@promptbook/node",
"version": "0.81.0-11",
"version": "0.81.0-12",
"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-11"
"@promptbook/core": "0.81.0-12"
},

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

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

- **[@promptbook/types](https://www.npmjs.com/package/@promptbook/types)** - Just typescript types used in the library
- **[@promptbook/cli](https://www.npmjs.com/package/@promptbook/cli)** - Command line interface utilities for promptbooks
- โญ **[@promptbook/cli](https://www.npmjs.com/package/@promptbook/cli)** - Command line interface utilities for promptbooks

@@ -265,0 +265,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