UNPKG
apisurf
Version:
latest (1.4.0)
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.1
0.1.0
Analyze API surface changes between npm package versions to catch breaking changes
apisurf
/
lib
/
utilities
/
parseCommonJSStatically.d.ts
6 lines
(5 loc)
•
252 B
TypeScript
View Raw
1
2
3
4
5
6
import { ApiSurface }
from
'../types/ApiSurface.js'
;
/** * Parse CommonJS module exports using static analysis (regex-based) */
export
declare
function
parseCommonJSStatically
(
sourceContent:
string
, packageName:
string
, version:
string
):
ApiSurface
;