![]() ![]() There are many examples of this pattern in theĮven if you're not familiar with any of those use cases, surely you recall "jQuery plugins" from back when you were aĬlient-side developer: little s you would drop into your page that would attach things to jQuery.prototype Package, even though it does not always directly use the host package. A plugin package is meant to be used with another "host" There's one use case where this falls down, however: plugins. Everyone's code works! The Problem: Plugins ![]() This is, generally, great: now some-other-library has its own copy of request v1 that it can use, while not Request version 2 and some-other-library, but some-other-library depends on request version 1, the resultingĭependency graph looks like: ├── In particular, it handles sub-dependencies very well: if my package depends on Reposted from Domenic's blog with permission. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |