@builder.io/dev-tools
Advanced tools
Comparing version 1.3.3 to 1.3.4
{ | ||
"name": "@builder.io/dev-tools", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"description": "Builder.io Visual CMS Devtools", | ||
@@ -5,0 +5,0 @@ "type": "module", |
import type { AddCliOptions, FileNode, FolderNode, Snippet, SyncInfo } from "../../types"; | ||
export declare function addCommand(opts: AddCliOptions): Promise<SyncInfo | undefined>; | ||
export declare function fetchSnippet(id: string): Promise<Snippet | null>; | ||
export declare function writeFiles(snippet: Snippet, files: Array<FileNode | FolderNode>, rootPath: string, addSessionLink: boolean): Promise<FileNode[]>; | ||
export declare function suggestRootPath(framework: string): string; | ||
export declare function writeFiles(appRootDir: string, snippet: Snippet, files: Array<FileNode | FolderNode>, rootPath: string, addSessionLink: boolean): Promise<FileNode[]>; | ||
export declare function suggestRootPath(appRootDir: string, framework: string): string; |
@@ -17,2 +17,3 @@ import type { DevToolsSys } from "../types"; | ||
incomplete?: boolean; | ||
stopReason?: "end" | "limit" | "error"; | ||
} | ||
@@ -19,0 +20,0 @@ export declare const runCodeCommand: (sys: DevToolsSys, subCommand: string, args: CLIArgs) => Promise<void>; |
@@ -12,2 +12,4 @@ import type { DevToolsSys } from "../types"; | ||
export declare function getGitRemoteURL(repoPath: string): string; | ||
export declare function findPackageJsonDir(dir: string): string | null; | ||
export declare function findAppRootDir(dir: string): string | null; | ||
export {}; |
@@ -53,2 +53,3 @@ /// <reference types="node" /> | ||
getRepoInfo: () => Promise<RepoInfo>; | ||
Sentry: typeof import("@sentry/node") | undefined; | ||
ts: typeof import("typescript"); | ||
@@ -55,0 +56,0 @@ version: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Network access
Supply chain riskThis module accesses the network.
Found 4 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 2 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 35 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
9384261
217
25691
145
13