Lines 1-31javascript
1import { tsConfigPaths, protocolExternalResolver, esbuild, removeDeployer, getPackageRootPath, subpathExternalsResolver, esmShim } from './chunk-ORSNDVAB.js';
2import { slash, isDependencyPartOfPackage, getPackageName, isBuiltinModule, isBareModuleSpecifier, isExternalProtocolImport, getCompiledDepCachePath, rollupSafeName, getNodeResolveOptions } from './chunk-V6F2NMS2.js';
3import { existsSync } from 'fs';
4import { readFile, writeFile } from 'fs/promises';
5import * as path from 'path';
6import { dirname, join, relative, basename as basename$1 } from 'path';
7import * as babel2 from '@babel/core';
8import babel2__default, { types } from '@babel/core';
9import { MastraBaseError, ErrorCategory, ErrorDomain, MastraError } from '@mastra/core/error';
10import * as pkg from 'empathic/package';
11import { createWorkspacesCache, findWorkspaces, findWorkspacesRoot } from 'find-workspaces';
12import { spawn as spawn$1 } from 'child_process';
13import { fileURLToPath, pathToFileURL } from 'url';
HighChild Process
Package source references child process execution.
dist/chunk-FQC6UUHS.jsView on unpkg · L11 HighCross File Remote Execution Context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/chunk-FQC6UUHS.jsView on unpkg · L11 14import { noopLogger } from '@mastra/core/logger';
15import commonjs from '@rollup/plugin-commonjs';
16import json from '@rollup/plugin-json';
17import virtual from '@rollup/plugin-virtual';
18import { readJSON } from 'fs-extra/esm';
19import { resolveModule, getPackageInfo } from 'local-pkg';
20import { rollup } from 'rollup';
21import { basename } from 'path/posix';
22import { optimizeLodashImports } from '@optimize-lodash/rollup-plugin';
23import nodeResolve from '@rollup/plugin-node-resolve';
24import * as resolve from 'resolve.exports';
26// ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/stacktrace-parser/0.1.11/63406bc765474556691ebd1b24eaa0c5b032f058a26bbaff13797a2780d98220/node_modules/stacktrace-parser/dist/stack-trace-parser.esm.js
27var UNKNOWN_FUNCTION = "<unknown>";
28function parse(stackString) {
29 var lines = stackString.split("\n");
30 return lines.reduce(function(stack, line) {
31 var parseResult = parseChrome(line) || parseWinjs(line) || parseGecko(line) || parseNode(line) || parseJSC(line);