Lines 1-22javascript
1import { createRequire as __extjsCreateRequire } from "node:module"; const require = __extjsCreateRequire(import.meta.url);
2import { createRequire } from "module";
MediumDynamic Require
Package source references dynamic require/import behavior.
dist/839.mjsView on unpkg · L1 3import { execFileSync, spawn, spawnSync as external_child_process_spawnSync } from "child_process";
4import { buildExecEnv, detectPackageManagerFromLockfile } from "prefers-yarn";
HighChild Process
Package source references child process execution.
dist/839.mjsView on unpkg · L2 HighCross File Remote Execution Context
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/839.mjsView on unpkg · L2 5import pintor from "pintor";
6import { EventEmitter } from "node:events";
7import { package_namespaceObject, buildSuccessWithWarnings, buildWarningsDetails, loadCommandConfig, needsInstall, getDirs, buildCommandFailed, sanitize, writingTypeDefinitions, buildWebpack, assertNoManagedDependencyConflicts, debugDirs, debugBrowser, normalizeBrowser, debugOutputPath, loadCustomConfig, buildSuccess, writingTypeDefinitionsError, getDistPath, loadBrowserConfig, getProjectStructure, authorInstallNotice, resolveCompanionExtensionsConfig, getSpecialFoldersDataForProjectRoot } from "./101.mjs";
8import { stripBom, parseJsonSafe } from "./23.mjs";
9import { getCanonicalContentScriptEntryName } from "./291.mjs";
10import { fileURLToPath as __rspack_fileURLToPath } from "node:url";
11import { dirname as __rspack_dirname } from "node:path";
12var __rspack_import_meta_dirname__ = __rspack_dirname(__rspack_fileURLToPath(import.meta.url));
13import * as __rspack_external_fs from "fs";
14import * as __rspack_external_path from "path";
15import * as __rspack_external_fs_promises_400951f8 from "fs/promises";
16function getBuildSummary(browser, info) {
17 const assets = info?.assets || [];
20 total_assets: assets.length,
21 total_bytes: assets.reduce((n, a)=>n + (a.size || 0), 0),
22 largest_asset_bytes: assets.reduce((m, a)=>Math.max(m, a.size || 0), 0),