@tng-sh/js 0.2.6 → 0.2.7
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/bin/tng.js +1 -1
- package/index.d.ts +0 -2
- package/index.js +1 -2
- package/package.json +1 -1
- package/tng_sh_js.linux-arm64-gnu.node +0 -0
- package/tng_sh_js.linux-x64-gnu.node +0 -0
package/bin/tng.js
CHANGED
|
@@ -29,7 +29,7 @@ process.on('uncaughtException', (err) => {
|
|
|
29
29
|
program
|
|
30
30
|
.name('tng')
|
|
31
31
|
.description('TNG - Advanced Code Audit, Test Generation, Visualization, Clone Detection, and Dead Code Analysis for JavaScript/TypeScript')
|
|
32
|
-
.version('0.2.
|
|
32
|
+
.version('0.2.7');
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* Copy text to system clipboard
|
package/index.d.ts
CHANGED
|
@@ -56,8 +56,6 @@ export declare function applyEditsAtomic(operationsJson: string): string
|
|
|
56
56
|
export declare function generateTest(filePath: string, methodName: string, className: string | undefined | null, testType: string | undefined | null, configJson: string, callback: (...args: any[]) => any): string
|
|
57
57
|
/** Analyzes a method and generates a symbolic execution trace. */
|
|
58
58
|
export declare function getSymbolicTrace(filePath: string, methodName: string, className?: string | undefined | null): string
|
|
59
|
-
/** Analyzes a method and generates a symbolic execution trace v2. */
|
|
60
|
-
export declare function getSymbolicTraceV2(filePath: string, methodName: string, className?: string | undefined | null, projectRoot?: string | undefined | null): string
|
|
61
59
|
/**
|
|
62
60
|
* Analyzes a file for code clones (duplicates).
|
|
63
61
|
* Returns a JSON string containing the matches found.
|
package/index.js
CHANGED
|
@@ -310,7 +310,7 @@ if (!nativeBinding) {
|
|
|
310
310
|
throw new Error(`Failed to load native binding`)
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
const { getFileOutline, getProjectMetadata, findCallSites, ping, submitJob, getUserStats, runAudit, applyEdit, applyEditsAtomic, generateTest, getSymbolicTrace,
|
|
313
|
+
const { getFileOutline, getProjectMetadata, findCallSites, ping, submitJob, getUserStats, runAudit, applyEdit, applyEditsAtomic, generateTest, getSymbolicTrace, analyzeClones, detectDeadCode, listDeadcodeFiles, analyzeImpact } = nativeBinding
|
|
314
314
|
|
|
315
315
|
module.exports.getFileOutline = getFileOutline
|
|
316
316
|
module.exports.getProjectMetadata = getProjectMetadata
|
|
@@ -323,7 +323,6 @@ module.exports.applyEdit = applyEdit
|
|
|
323
323
|
module.exports.applyEditsAtomic = applyEditsAtomic
|
|
324
324
|
module.exports.generateTest = generateTest
|
|
325
325
|
module.exports.getSymbolicTrace = getSymbolicTrace
|
|
326
|
-
module.exports.getSymbolicTraceV2 = getSymbolicTraceV2
|
|
327
326
|
module.exports.analyzeClones = analyzeClones
|
|
328
327
|
module.exports.detectDeadCode = detectDeadCode
|
|
329
328
|
module.exports.listDeadcodeFiles = listDeadcodeFiles
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|