Skip to content

refactor: Use module augmentation to remove some dependency cycle - #173

Merged
jameslan merged 1 commit into
masterfrom
features/dep-cycle
Sep 13, 2026
Merged

refactor: Use module augmentation to remove some dependency cycle#173
jameslan merged 1 commit into
masterfrom
features/dep-cycle

Conversation

@jameslan

Copy link
Copy Markdown
Owner

Previously, files import each other to implement some method.
Using module augmentation allows the method to be added from another file, thus only one-way import is needed.

Previously, files import each other to implement some method.
Using module augmentation allows the method to be added from another file, thus only one-way import is needed.
@github-actions

Copy link
Copy Markdown

Coverage after merging features/dep-cycle into master will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   c14n.mts100%100%100%100%
   diag.mts99.51%100%90.91%100%
   disposable.mts100%100%100%100%
   disposeShim.mts100%100%100%100%
   document.mts100%100%100%100%
   dtd.mts100%100%100%100%
   index.mts100%100%100%100%
   libxml2.mts99.90%99.20%100%100%684
   metadataShim.mts100%100%100%100%
   nodejs.mts100%100%100%100%
   nodes.mts99.91%99.21%100%100%73
   utils.mts100%100%100%100%
   validates.mts100%100%100%100%
   xpath.mts100%100%100%100%

@jameslan
jameslan merged commit 004e0fa into master Sep 13, 2026
28 checks passed
github-actions Bot pushed a commit that referenced this pull request Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant