SYMBOL INDEX (310 symbols across 59 files) FILE: lib/bin.ts function main (line 6) | async function main() { FILE: lib/chmod.ts function plusx (line 3) | async function plusx(file: string) { FILE: lib/common.ts constant STORE_BLOB (line 5) | const STORE_BLOB = 0; constant STORE_CONTENT (line 6) | const STORE_CONTENT = 1; constant STORE_LINKS (line 7) | const STORE_LINKS = 2; constant STORE_STAT (line 8) | const STORE_STAT = 3; constant ALIAS_AS_RELATIVE (line 9) | const ALIAS_AS_RELATIVE = 0; constant ALIAS_AS_RESOLVABLE (line 10) | const ALIAS_AS_RESOLVABLE = 1; function uppercaseDriveLetter (line 15) | function uppercaseDriveLetter(f: string) { function removeTrailingSlashes (line 20) | function removeTrailingSlashes(f: string) { function pathToString (line 49) | function pathToString(p: string | URL | Buffer, win: boolean): string { function isRootPath (line 63) | function isRootPath(p: string | URL | Buffer) { function normalizePath (line 73) | function normalizePath(f: string | URL | Buffer) { function isPackageJson (line 87) | function isPackageJson(file: string) { function isDotJS (line 91) | function isDotJS(file: string) { function isDotJSON (line 95) | function isDotJSON(file: string) { function isDotNODE (line 99) | function isDotNODE(file: string) { function replaceSlashes (line 103) | function replaceSlashes(file: string, slash: string) { function injectSnapshot (line 117) | function injectSnapshot(file: string) { function longestCommonLength (line 141) | function longestCommonLength(s1: string, s2: string) { function withoutNodeModules (line 153) | function withoutNodeModules(file: string) { function retrieveDenominator (line 157) | function retrieveDenominator(files: string[]) { function substituteDenominator (line 174) | function substituteDenominator(f: string, denominator: number) { function snapshotify (line 179) | function snapshotify(file: string, slash: string) { function insideSnapshot (line 183) | function insideSnapshot(f: Buffer | string | URL) { function stripSnapshot (line 208) | function stripSnapshot(f: string) { function removeUplevels (line 230) | function removeUplevels(f: string) { function toNormalizedRealPath (line 258) | function toNormalizedRealPath(requestPath: string) { FILE: lib/compress_type.ts type CompressType (line 1) | enum CompressType { FILE: lib/detector.ts function isLiteral (line 8) | function isLiteral(node: babelTypes.Node): node is babelTypes.Literal { function getLiteralValue (line 24) | function getLiteralValue(node: babelTypes.Literal) { function reconstructSpecifiers (line 40) | function reconstructSpecifiers( function reconstruct (line 82) | function reconstruct(node: babelTypes.Node) { type Was (line 99) | interface Was { function forge (line 105) | function forge(pattern: string, was: Was) { function valid2 (line 115) | function valid2(v2?: Was['v2']) { function visitorRequireResolve (line 124) | function visitorRequireResolve(n: babelTypes.Node) { function visitorRequire (line 153) | function visitorRequire(n: babelTypes.Node) { function visitorImport (line 176) | function visitorImport(n: babelTypes.Node) { function visitorPathJoin (line 184) | function visitorPathJoin(n: babelTypes.Node) { function visitorSuccessful (line 224) | function visitorSuccessful(node: babelTypes.Node, test = false) { function nonLiteralRequireResolve (line 286) | function nonLiteralRequireResolve(n: babelTypes.Node) { function nonLiteralRequire (line 325) | function nonLiteralRequire(n: babelTypes.Node) { function visitorNonLiteral (line 358) | function visitorNonLiteral(n: babelTypes.Node) { function isRequire (line 376) | function isRequire(n: babelTypes.Node) { function isRequireResolve (line 398) | function isRequireResolve(n: babelTypes.Node) { function visitorMalformed (line 426) | function visitorMalformed(n: babelTypes.Node) { function visitorUseSCWD (line 436) | function visitorUseSCWD(n: babelTypes.Node) { type VisitorFunction (line 464) | type VisitorFunction = (node: babelTypes.Node, trying?: boolean) => bool... function traverse (line 466) | function traverse(ast: babelTypes.File, visitor: VisitorFunction) { function parse (line 498) | function parse(body: string) { function detect (line 505) | function detect(body: string, visitor: VisitorFunction) { FILE: lib/fabricator.ts function fabricate (line 49) | function fabricate( function fabricateTwice (line 152) | function fabricateTwice( function shutdown (line 169) | function shutdown() { FILE: lib/follow.ts constant PROOF (line 8) | const PROOF = 'a-proof-that-main-is-captured.js'; function parentDirectoriesContain (line 10) | function parentDirectoriesContain(parent: string, directory: string) { type FollowOptions (line 28) | interface FollowOptions extends Pick { function follow (line 34) | function follow(x: string, opts: FollowOptions) { FILE: lib/help.ts function help (line 3) | function help() { FILE: lib/index.ts function isConfiguration (line 35) | function isConfiguration(file: string) { function parseTargets (line 53) | function parseTargets(items: string[]): NodeTarget[] { function stringifyTarget (line 98) | function stringifyTarget(target: NodeTarget) { type DifferentResult (line 103) | interface DifferentResult { function differentParts (line 109) | function differentParts(targets: NodeTarget[]): DifferentResult { function stringifyTargetForOutput (line 137) | function stringifyTargetForOutput( function fabricatorForTarget (line 159) | function fabricatorForTarget({ nodeRange, arch }: NodeTarget) { function needWithDryRun (line 180) | async function needWithDryRun({ function needViaCache (line 199) | async function needViaCache(target: NodeTarget) { function exec (line 221) | async function exec(argv2: string[]) { FILE: lib/mach-o.ts function parseCStr (line 3) | function parseCStr(buf: Buffer) { function patchCommand (line 11) | function patchCommand(type: number, buf: Buffer, file: Buffer) { function patchMachOExecutable (line 35) | function patchMachOExecutable(file: Buffer) { function signMachOExecutable (line 60) | function signMachOExecutable(executable: string) { FILE: lib/packer.ts function itemsToText (line 34) | function itemsToText(items: T[]) { function hasAnyStore (line 39) | function hasAnyStore(record: FileRecord) { type PackerOptions (line 47) | interface PackerOptions { type Stripe (line 54) | interface Stripe { function packer (line 62) | function packer({ FILE: lib/producer.ts type NotFound (line 18) | interface NotFound { type Placeholder (line 22) | interface Placeholder { type PlaceholderTypes (line 28) | type PlaceholderTypes = type PlaceholderMap (line 34) | type PlaceholderMap = Record; function discoverPlaceholder (line 36) | function discoverPlaceholder( function injectPlaceholder (line 51) | function injectPlaceholder( function discoverPlaceholders (line 82) | function discoverPlaceholders(binaryBuffer: Buffer) { function injectPlaceholders (line 104) | function injectPlaceholders( function makeBakeryValueFromBakes (line 157) | function makeBakeryValueFromBakes(bakes: string[]) { function replaceDollarWise (line 172) | function replaceDollarWise(s: string, sf: string, st: string) { function makePreludeBufferFromPrelude (line 176) | function makePreludeBufferFromPrelude(prelude: string) { function findPackageJson (line 182) | function findPackageJson(nodeFile: string) { function nativePrebuildInstall (line 200) | function nativePrebuildInstall(target: Target, nodeFile: string) { type ProducerOptions (line 252) | interface ProducerOptions { function getOrCreateHash (line 295) | function getOrCreateHash(fileOrFolderName: string) { function makeKey (line 307) | function makeKey( function producer (line 316) | function producer({ FILE: lib/refiner.ts function hasParent (line 13) | function hasParent(file: string, records: FileRecords) { function purgeTopDirectories (line 24) | function purgeTopDirectories(records: FileRecords) { function denominate (line 59) | function denominate( function refiner (line 102) | function refiner( FILE: lib/types.ts type FileRecord (line 3) | interface FileRecord { type FileRecords (line 12) | type FileRecords = Record; type License (line 14) | type License = type Patches (line 20) | type Patches = Record< type ConfigDictionary (line 25) | type ConfigDictionary = Record< type PkgOptions (line 35) | interface PkgOptions { type PackageJson (line 44) | interface PackageJson { type NodeTarget (line 61) | interface NodeTarget { type Target (line 68) | interface Target extends NodeTarget { type SymLinks (line 74) | type SymLinks = Record; FILE: lib/walker.ts type Marker (line 37) | interface Marker { type Task (line 48) | interface Task { type Derivative (line 56) | interface Derivative { function unlikelyJavascript (line 75) | function unlikelyJavascript(file: string) { function isPublic (line 79) | function isPublic(config: PackageJson) { function upon (line 156) | function upon(p: string, base: string) { function collect (line 181) | function collect(ps: string[]) { function expandFiles (line 185) | function expandFiles(efs: string | string[], base: string) { function stepRead (line 195) | async function stepRead(record: FileRecord) { function stepStrip (line 213) | function stepStrip(record: FileRecord) { function stepDetect (line 227) | function stepDetect( function findCommonJunctionPoint (line 305) | function findCommonJunctionPoint(file: string, realFile: string) { type WalkerParams (line 315) | interface WalkerParams { class Walker (line 321) | class Walker { method constructor (line 334) | constructor() { method appendRecord (line 343) | appendRecord({ file, store }: Task) { method append (line 362) | private append(task: Task) { method appendSymlink (line 387) | appendSymlink(file: string, realFile: string) { method appendStat (line 418) | appendStat(task: Task) { method appendFileInFolder (line 423) | appendFileInFolder(task: Task) { method appendBlobOrContent (line 444) | appendBlobOrContent(task: Task) { method appendFilesFromConfig (line 466) | async appendFilesFromConfig(marker: Marker) { method stepActivate (line 551) | async stepActivate(marker: Marker, derivatives: Derivative[]) { method hasPatch (line 662) | hasPatch(record: FileRecord) { method stepPatch (line 672) | stepPatch(record: FileRecord) { method stepDerivatives_ALIAS_AS_RELATIVE (line 702) | async stepDerivatives_ALIAS_AS_RELATIVE( method stepDerivatives_ALIAS_AS_RESOLVABLE (line 736) | async stepDerivatives_ALIAS_AS_RESOLVABLE( method stepDerivatives (line 842) | async stepDerivatives( method step_STORE_ANY (line 872) | async step_STORE_ANY(record: FileRecord, marker: Marker, store: number) { method step_STORE_LINKS (line 927) | step_STORE_LINKS(record: FileRecord, data: unknown) { method step_STORE_STAT (line 951) | async step_STORE_STAT(record: FileRecord) { method step (line 990) | async step(task: Task) { method readDictionary (line 1011) | async readDictionary(marker: Marker) { method start (line 1046) | async start( function walker (line 1090) | async function walker(...args: Parameters) { FILE: prelude/bootstrap.js constant FLAG_ENABLE_PROJECT (line 51) | let FLAG_ENABLE_PROJECT = false; constant NODE_VERSION_MAJOR (line 52) | const NODE_VERSION_MAJOR = process.version.match(/^v(\d+)/)[1] | 0; constant NODE_VERSION_MINOR (line 53) | const NODE_VERSION_MINOR = process.version.match(/^v\d+.(\d+)/)[1] | 0; constant ARGV0 (line 61) | const ARGV0 = process.argv[0]; constant EXECPATH (line 62) | const EXECPATH = process.execPath; constant ENTRYPOINT (line 63) | let ENTRYPOINT = process.argv[1]; constant EXECSTAT (line 95) | const EXECSTAT = fs.statSync(EXECPATH); function insideMountpoint (line 108) | function insideMountpoint(f) { function readdirMountpoints (line 128) | function readdirMountpoints(path_) { function translate (line 140) | function translate(f) { function cloneArgs (line 146) | function cloneArgs(args_) { function translateNth (line 150) | function translateNth(args_, index, f) { function createMountpoint (line 156) | function createMountpoint(interior, exterior) { constant DEFAULT_COPY_CHUNK_SIZE (line 161) | const DEFAULT_COPY_CHUNK_SIZE = 10 * 1024 * 1024; function copyInChunks (line 162) | function copyInChunks( function copyFolderRecursiveSync (line 183) | function copyFolderRecursiveSync(source, target) { function createDirRecursively (line 252) | function createDirRecursively(dir) { function replace (line 289) | function replace(k) { function findVirtualFileSystemKey (line 301) | function findVirtualFileSystemKey(path_, slash) { function toOriginal (line 314) | function toOriginal(fShort) { function findVirtualFileSystemKeyAndFollowLinks (line 329) | function findVirtualFileSystemKeyAndFollowLinks(path_) { function realpathFromSnapshot (line 345) | function realpathFromSnapshot(path_) { function findVirtualFileSystemEntry (line 350) | function findVirtualFileSystemEntry(path_) { function projectToFilesystem (line 361) | function projectToFilesystem(f) { function projectToNearby (line 387) | function projectToNearby(f) { function findNativeAddonSyncFreeFromRequire (line 390) | function findNativeAddonSyncFreeFromRequire(path_) { function findNativeAddonSyncUnderRequire (line 403) | function findNativeAddonSyncUnderRequire(path_) { function asap (line 412) | function asap(cb) { function dezalgo (line 416) | function dezalgo(cb) { function rethrow (line 436) | function rethrow(error, arg) { function readPayload (line 448) | function readPayload(buffer, offset, length, position, callback) { function readPayloadSync (line 459) | function readPayloadSync(buffer, offset, length, position) { function payloadCopyUni (line 469) | function payloadCopyUni( function payloadCopyMany (line 495) | function payloadCopyMany(source, target, targetStart, sourceStart, cb) { function payloadCopyManySync (line 517) | function payloadCopyManySync(source, target, targetStart, sourceStart) { constant GZIP (line 534) | const GZIP = 1; constant BROTLI (line 535) | const BROTLI = 2; function payloadFile (line 536) | function payloadFile(pointer, cb) { function payloadFileSync (line 556) | function payloadFileSync(pointer) { function assertEncoding (line 644) | function assertEncoding(encoding) { function maybeCallback (line 650) | function maybeCallback(args) { function error_ENOENT (line 655) | function error_ENOENT(fileOrDirectory, path_) { function error_EISDIR (line 668) | function error_EISDIR(path_) { function error_ENOTDIR (line 677) | function error_ENOTDIR(path_) { function removeTemporaryFolderAndContent (line 690) | function removeTemporaryFolderAndContent(folder) { function deflateSync (line 712) | function deflateSync(snapshotFilename) { function uncompressExternallyPath (line 739) | function uncompressExternallyPath(path_) { function uncompressExternallyAndOpen (line 745) | function uncompressExternallyAndOpen(dock) { function openFromSnapshot (line 751) | function openFromSnapshot(path_, uncompress, cb) { function readFromSnapshotSub (line 815) | function readFromSnapshotSub( function readFromSnapshot (line 868) | function readFromSnapshot(fd, buffer, offset, length, position, cb) { function writeToSnapshot (line 961) | function writeToSnapshot(cb) { function readFileOptions (line 1020) | function readFileOptions(options, hasCallback) { function readFileFromSnapshotSub (line 1033) | function readFileFromSnapshotSub(entityContent, cb) { function readFileFromSnapshot (line 1041) | function readFileFromSnapshot(path_, cb) { function _streamCopy (line 1135) | function _streamCopy() { function readdirOptions (line 1195) | function readdirOptions(options, hasCallback) { function Dirent (line 1208) | function Dirent(name, type) { function getFileTypes (line 1230) | function getFileTypes(path_, entries) { function readdirRoot (line 1242) | function readdirRoot(path_, options, cb) { function readdirFromSnapshotSub (line 1264) | function readdirFromSnapshotSub(entityLinks, path_, cb) { function readdirFromSnapshot (line 1276) | function readdirFromSnapshot(path_, cb) { function restore (line 1392) | function restore(s) { function findNativeAddonForStat (line 1441) | function findNativeAddonForStat(path_, cb) { function statFromSnapshotSub (line 1452) | function statFromSnapshotSub(entityStat, cb) { function statFromSnapshot (line 1464) | function statFromSnapshot(path_, cb) { function fstatFromSnapshot (line 1527) | function fstatFromSnapshot(fd, cb) { function findNativeAddonForExists (line 1556) | function findNativeAddonForExists(path_) { function existsFromSnapshot (line 1562) | function existsFromSnapshot(path_) { function accessFromSnapshot (line 1595) | function accessFromSnapshot(path_, cb) { function mkdirFailInSnapshot (line 1629) | function mkdirFailInSnapshot(path_, cb) { function makeLong (line 1737) | function makeLong(f) { function revertMakingLong (line 1741) | function revertMakingLong(f) { function findNativeAddonForInternalModuleStat (line 1746) | function findNativeAddonForInternalModuleStat(path_) { function setOptsEnv (line 2000) | function setOptsEnv(args) { function startsWith2 (line 2013) | function startsWith2(args, index, name, impostor) { function startsWith (line 2031) | function startsWith(args, index, name) { function modifyLong (line 2043) | function modifyLong(args, index) { function modifyShort (line 2053) | function modifyShort(args) { method value (line 2130) | value(path_) { function revertMakingLong (line 2194) | function revertMakingLong(f) { FILE: prelude/diagnostic.js function dumpLevel (line 15) | function dumpLevel(filename, level, tree) { function wrap (line 45) | function wrap(obj, name) { FILE: test/test-42-fetch-all/main.js function nodeRangeToNodeVersion (line 11) | function nodeRangeToNodeVersion(nodeRange) { FILE: test/test-42-path-related-values/main.js function pad (line 45) | function pad(s, width) { FILE: test/test-48-common/main.js function substituteMany (line 10) | function substituteMany(files) { FILE: test/test-50-console-trace/main.js function extractFileName (line 26) | function extractFileName(line) { FILE: test/test-50-for-await-of/test-x-index.js class AsyncIterator (line 3) | class AsyncIterator { method constructor (line 4) | constructor() { method next (line 9) | next() { method [Symbol.asyncIterator] (line 18) | [Symbol.asyncIterator]() { function t (line 25) | async function t() { FILE: test/test-50-fs-runtime-layer-2/main.js function bitty (line 21) | function bitty(version) { FILE: test/test-50-fs-runtime-layer-2/test-x-index.js function dumpError (line 11) | function dumpError(error) { function test01 (line 29) | function test01() { function test01e (line 109) | function test01e(badFd) { function test02 (line 192) | function test02() { function test03 (line 209) | function test03() { function test04 (line 271) | function test04() { function test05 (line 307) | function test05() { function test06 (line 331) | function test06() { function test07 (line 356) | function test07() { FILE: test/test-50-fs-runtime-layer-3/test-x-index.js function test01 (line 12) | function test01() { function test02 (line 32) | function test02() { FILE: test/test-50-fs-runtime-layer/test-x1-index.js function firstLowerCase (line 12) | function firstLowerCase(s) { function firstUpperCase (line 16) | function firstUpperCase(s) { FILE: test/test-50-fs-runtime-layer/test-x2-index.js function firstLowerCase (line 13) | function firstLowerCase(s) { function firstUpperCase (line 17) | function firstUpperCase(s) { FILE: test/test-50-fs-runtime-layer/test-x3-index.js function firstLowerCase (line 12) | function firstLowerCase(s) { function firstUpperCase (line 16) | function firstUpperCase(s) { FILE: test/test-50-many-arrow-functions/test-x-index.js function EventEmitter (line 3) | function EventEmitter() { FILE: test/test-50-may-exclude/test-x-index.js function func1 (line 7) | function func1() { function func2 (line 21) | function func2() { FILE: test/test-50-no-super-in-constructor/test-x-index.js class UpnpService (line 6) | class UpnpService { method constructor (line 7) | constructor() { FILE: test/test-50-package-a-binary/test-x-index.js function sha256 (line 7) | function sha256(s) { FILE: test/test-50-package-json-8/sub/sub/test-y-require.js function main (line 5) | function main() { FILE: test/test-50-package-json-8b/sub/sub/test-y-require.js function main (line 5) | function main() { FILE: test/test-50-package-json-8p/sub/sub/test-y-require.js function main (line 5) | function main() { FILE: test/test-50-path-as-buffer/main.js function isNode8 (line 19) | function isNode8(version) { FILE: test/test-50-should-disclose-package/main.js function rightReducer (line 17) | function rightReducer(mappy, line, index, right) { FILE: test/test-50-spawn/main.js function rnd (line 16) | function rnd() { function stripTraceOpt (line 34) | function stripTraceOpt(lines) { FILE: test/test-79-npm/any-promise/any-promise.js function p (line 5) | function p() { FILE: test/test-79-npm/connect-mongo/connect-mongo.js function Store (line 3) | function Store() { function MemoryStore (line 7) | function MemoryStore() {} FILE: test/test-79-npm/connect-redis/connect-redis.js function Store (line 3) | function Store() { function MemoryStore (line 7) | function MemoryStore() {} FILE: test/test-79-npm/express-session/express-session.js function genuuid (line 7) | function genuuid() { FILE: test/test-79-npm/kerberos/kerberos.js function isModuleNotFoundError (line 3) | function isModuleNotFoundError(error) { function hideTryBlockFromBundleDetectorIgnoreFlag (line 12) | function hideTryBlockFromBundleDetectorIgnoreFlag() { function hideTryBlockFromBundleDetectorIgnoreFlag2 (line 27) | function hideTryBlockFromBundleDetectorIgnoreFlag2() { FILE: test/test-79-npm/main.js constant UPM (line 9) | const UPM = process.env.USE_PREINSTALLED_MODULES || false; function applyMetaToRight (line 35) | function applyMetaToRight(right, meta) { function save (line 51) | function save() { function stamp2string (line 71) | function stamp2string(s) { function update (line 76) | function update(p, r, v, note) { FILE: test/test-79-npm/times.js function nextJob (line 15) | function nextJob() { function queueJob (line 20) | function queueJob(foldyName) { function getLatestTime (line 28) | function getLatestTime(foldyName, cb) { FILE: test/test-79-npm/update-notifier/update-notifier.js function runNotifier (line 17) | function runNotifier() { FILE: test/test-80-compression-node-opcua/main.js function pkgCompress (line 73) | function pkgCompress(compressMode, output) { FILE: test/test-80-compression-various-file-access/main.js function runTest (line 17) | async function runTest(input) { FILE: test/test-80-compression-various-file-access/test.js function withReadFileSync (line 9) | function withReadFileSync() { function withDirectAccess (line 15) | async function withDirectAccess() { function withReadStream (line 29) | async function withReadStream() { function withReadStream2 (line 41) | async function withReadStream2() { function readbinaryFile (line 52) | async function readbinaryFile() { function readbinaryFileWithStream (line 63) | async function readbinaryFileWithStream() { FILE: test/test-80-compression-various-file-access/test_with_new_fs_promises.js constant MAJOR_VERSION (line 6) | const MAJOR_VERSION = parseInt(process.version.match(/v([0-9]+)/)[1], 10); function withPromises (line 18) | async function withPromises() { function withPromisesReadFile (line 46) | async function withPromisesReadFile() { function withPromiseReadDir (line 57) | async function withPromiseReadDir() { FILE: test/test-80-compression/main.js function pkgCompress (line 40) | function pkgCompress(compressMode, output) { FILE: test/test-99-#1130/read.js function serializeFiles (line 30) | function serializeFiles(files) { FILE: test/test-99-#1191/main.js function doTestWithCompression (line 48) | function doTestWithCompression() { function doTestNoCompression (line 63) | function doTestNoCompression() { FILE: test/test-99-#1192/main.js function runTest (line 53) | function runTest(doCompress) { FILE: test/test-99-#1505/stat.js function test (line 16) | async function test() { function serialize (line 27) | function serialize(result) { FILE: test/test-99-#775/a.js constant MAJOR_VERSION (line 6) | const MAJOR_VERSION = parseInt(process.version.match(/v([0-9]+)/)[1], 10); FILE: test/test-99-#775/main.js constant MAJOR_VERSION (line 13) | const MAJOR_VERSION = parseInt(process.version.match(/v([0-9]+)/)[1], 10); FILE: test/test-99-#938-withfiletypes/read.js function isLastEntryString (line 5) | function isLastEntryString(files) { function isLastEntryDirent (line 10) | function isLastEntryDirent(files) { FILE: test/test.js function joinAndForward (line 43) | function joinAndForward(d) {