Closed sohale closed 2 years ago
Hey so it's not really proxyquire's obligation to distinguish itself from rewire and demonstrate that it doesn't mutate private scopes. That said, docs PRs are always welcome and if they're obvious improvements or well explained we'll merge.
PRs are branches pushed to your fork and then opened against an upstream. You don't have access to push anything directly here.
The first example confused me the first time read it. It left an ambiguity and did not clarify a main difference between
rewire
andproxyquire
when it is read for the first time: Current: (Note that the variablepath
is the same as the package name, hence, the reader may think the variable is stubbed (as inrewire
) -- especially users who are used torewire
.Suggestion: (note variable name is not
path
)PS. I tried to create a pull request, but could not