@getmikk/core 2.0.11 → 2.0.12
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/package.json
CHANGED
|
@@ -96,7 +96,6 @@ export class ContractGenerator {
|
|
|
96
96
|
const clusterFileSet = new Set(cluster.files)
|
|
97
97
|
const purposes: string[] = []
|
|
98
98
|
const fnNames: string[] = []
|
|
99
|
-
let hasExported = 0
|
|
100
99
|
let totalFunctions = 0
|
|
101
100
|
|
|
102
101
|
for (const file of parsedFiles) {
|
|
@@ -104,7 +103,6 @@ export class ContractGenerator {
|
|
|
104
103
|
for (const fn of file.functions) {
|
|
105
104
|
totalFunctions++
|
|
106
105
|
fnNames.push(fn.name)
|
|
107
|
-
if (fn.isExported) hasExported++
|
|
108
106
|
if (fn.purpose) purposes.push(fn.purpose)
|
|
109
107
|
}
|
|
110
108
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as path from 'node:path'
|
|
2
|
-
import { createHash } from 'node:crypto'
|
|
3
1
|
import type { MikkContract, MikkLock } from './schema.js'
|
|
4
2
|
import type { DependencyGraph } from '../graph/types.js'
|
|
5
3
|
import type { ParsedFile } from '../parser/types.js'
|
|
@@ -338,7 +336,7 @@ export class LockCompiler {
|
|
|
338
336
|
private compileFiles(
|
|
339
337
|
parsedFiles: ParsedFile[],
|
|
340
338
|
contract: MikkContract,
|
|
341
|
-
|
|
339
|
+
_graph: DependencyGraph
|
|
342
340
|
): Record<string, MikkLock['files'][string]> {
|
|
343
341
|
const result: Record<string, MikkLock['files'][string]> = {}
|
|
344
342
|
|