infiniloom-node 0.4.3 → 0.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +205 -0
- package/index.d.ts +722 -430
- package/index.js +24 -62
- package/infiniloom.darwin-arm64.node +0 -0
- package/infiniloom.darwin-x64.node +0 -0
- package/infiniloom.linux-arm64-gnu.node +0 -0
- package/infiniloom.linux-x64-gnu.node +0 -0
- package/infiniloom.win32-x64-msvc.node +0 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -310,89 +310,51 @@ if (!nativeBinding) {
|
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
const {
|
|
314
|
-
// Core functions
|
|
315
|
-
pack,
|
|
316
|
-
scan,
|
|
317
|
-
scanWithOptions,
|
|
318
|
-
countTokens,
|
|
319
|
-
semanticCompress,
|
|
320
|
-
isGitRepo,
|
|
321
|
-
scanSecurity,
|
|
322
|
-
// Index API
|
|
323
|
-
buildIndex,
|
|
324
|
-
indexStatus,
|
|
325
|
-
// Call graph API
|
|
326
|
-
findSymbol,
|
|
327
|
-
getCallers,
|
|
328
|
-
getCallees,
|
|
329
|
-
getReferences,
|
|
330
|
-
getCallGraph,
|
|
331
|
-
// Chunk API
|
|
332
|
-
chunk,
|
|
333
|
-
// Impact API
|
|
334
|
-
analyzeImpact,
|
|
335
|
-
// Diff context API
|
|
336
|
-
getDiffContext,
|
|
337
|
-
// Async versions
|
|
338
|
-
packAsync,
|
|
339
|
-
scanAsync,
|
|
340
|
-
buildIndexAsync,
|
|
341
|
-
findSymbolAsync,
|
|
342
|
-
getCallersAsync,
|
|
343
|
-
getCalleesAsync,
|
|
344
|
-
getReferencesAsync,
|
|
345
|
-
getCallGraphAsync,
|
|
346
|
-
chunkAsync,
|
|
347
|
-
analyzeImpactAsync,
|
|
348
|
-
getDiffContextAsync,
|
|
349
|
-
// Classes
|
|
350
|
-
Infiniloom,
|
|
351
|
-
GitRepo
|
|
352
|
-
} = nativeBinding
|
|
313
|
+
const { pack, scan, scanWithOptions, countTokens, Infiniloom, semanticCompress, isGitRepo, GitRepo, scanSecurity, buildIndex, indexStatus, findSymbol, getCallers, getCallees, getReferences, getCallGraph, findSymbolAsync, getCallersAsync, getCalleesAsync, getReferencesAsync, getCallGraphAsync, chunk, analyzeImpact, getDiffContext, packAsync, scanAsync, buildIndexAsync, chunkAsync, analyzeImpactAsync, getDiffContextAsync, getSymbolsInFile, getSymbolSource, getChangedSymbols, getTestsForFile, getCallSites, getSymbolsInFileAsync, getSymbolSourceAsync, getChangedSymbolsAsync, getTestsForFileAsync, getCallSitesAsync, getChangedSymbolsFiltered, getTransitiveCallers, getCallSitesWithContext, getChangedSymbolsFilteredAsync, getTransitiveCallersAsync, getCallSitesWithContextAsync } = nativeBinding
|
|
353
314
|
|
|
354
|
-
// Core functions
|
|
355
315
|
module.exports.pack = pack
|
|
356
316
|
module.exports.scan = scan
|
|
357
317
|
module.exports.scanWithOptions = scanWithOptions
|
|
358
318
|
module.exports.countTokens = countTokens
|
|
319
|
+
module.exports.Infiniloom = Infiniloom
|
|
359
320
|
module.exports.semanticCompress = semanticCompress
|
|
360
321
|
module.exports.isGitRepo = isGitRepo
|
|
322
|
+
module.exports.GitRepo = GitRepo
|
|
361
323
|
module.exports.scanSecurity = scanSecurity
|
|
362
|
-
|
|
363
|
-
// Index API
|
|
364
324
|
module.exports.buildIndex = buildIndex
|
|
365
325
|
module.exports.indexStatus = indexStatus
|
|
366
|
-
|
|
367
|
-
// Call graph API
|
|
368
326
|
module.exports.findSymbol = findSymbol
|
|
369
327
|
module.exports.getCallers = getCallers
|
|
370
328
|
module.exports.getCallees = getCallees
|
|
371
329
|
module.exports.getReferences = getReferences
|
|
372
330
|
module.exports.getCallGraph = getCallGraph
|
|
373
|
-
|
|
374
|
-
|
|
331
|
+
module.exports.findSymbolAsync = findSymbolAsync
|
|
332
|
+
module.exports.getCallersAsync = getCallersAsync
|
|
333
|
+
module.exports.getCalleesAsync = getCalleesAsync
|
|
334
|
+
module.exports.getReferencesAsync = getReferencesAsync
|
|
335
|
+
module.exports.getCallGraphAsync = getCallGraphAsync
|
|
375
336
|
module.exports.chunk = chunk
|
|
376
|
-
|
|
377
|
-
// Impact API
|
|
378
337
|
module.exports.analyzeImpact = analyzeImpact
|
|
379
|
-
|
|
380
|
-
// Diff context API
|
|
381
338
|
module.exports.getDiffContext = getDiffContext
|
|
382
|
-
|
|
383
|
-
// Async versions
|
|
384
339
|
module.exports.packAsync = packAsync
|
|
385
340
|
module.exports.scanAsync = scanAsync
|
|
386
341
|
module.exports.buildIndexAsync = buildIndexAsync
|
|
387
|
-
module.exports.findSymbolAsync = findSymbolAsync
|
|
388
|
-
module.exports.getCallersAsync = getCallersAsync
|
|
389
|
-
module.exports.getCalleesAsync = getCalleesAsync
|
|
390
|
-
module.exports.getReferencesAsync = getReferencesAsync
|
|
391
|
-
module.exports.getCallGraphAsync = getCallGraphAsync
|
|
392
342
|
module.exports.chunkAsync = chunkAsync
|
|
393
343
|
module.exports.analyzeImpactAsync = analyzeImpactAsync
|
|
394
344
|
module.exports.getDiffContextAsync = getDiffContextAsync
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
module.exports.
|
|
398
|
-
module.exports.
|
|
345
|
+
module.exports.getSymbolsInFile = getSymbolsInFile
|
|
346
|
+
module.exports.getSymbolSource = getSymbolSource
|
|
347
|
+
module.exports.getChangedSymbols = getChangedSymbols
|
|
348
|
+
module.exports.getTestsForFile = getTestsForFile
|
|
349
|
+
module.exports.getCallSites = getCallSites
|
|
350
|
+
module.exports.getSymbolsInFileAsync = getSymbolsInFileAsync
|
|
351
|
+
module.exports.getSymbolSourceAsync = getSymbolSourceAsync
|
|
352
|
+
module.exports.getChangedSymbolsAsync = getChangedSymbolsAsync
|
|
353
|
+
module.exports.getTestsForFileAsync = getTestsForFileAsync
|
|
354
|
+
module.exports.getCallSitesAsync = getCallSitesAsync
|
|
355
|
+
module.exports.getChangedSymbolsFiltered = getChangedSymbolsFiltered
|
|
356
|
+
module.exports.getTransitiveCallers = getTransitiveCallers
|
|
357
|
+
module.exports.getCallSitesWithContext = getCallSitesWithContext
|
|
358
|
+
module.exports.getChangedSymbolsFilteredAsync = getChangedSymbolsFilteredAsync
|
|
359
|
+
module.exports.getTransitiveCallersAsync = getTransitiveCallersAsync
|
|
360
|
+
module.exports.getCallSitesWithContextAsync = getCallSitesWithContextAsync
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|