MK (fengmk2)
MK (fengmk2)
不太明白什么是 `releasing Zalgo`, 于是找到了这篇文章 [Designing APIs for Asynchrony](http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony)
争吵太多了,我在实际使用 Promise 过程中还真遇到内存问题。不知道算 co 的 bug 还是 Promise 的 bug。详情可查看 https://github.com/cnpm/mirrors/pull/41 - 如果是 co 的问题,那么为何 thunk 版的 co 没问题? - 如果是 Promise 的问题,那么是我的使用co方式不对,还是 co 使用 Promise 的方式不对?
https://github.com/cnpm/cnpmcore/pull/337 支持 exists 模式了。
https://github.com/cnpm/cnpmcore/issues/452#issuecomment-1558274752 支持 semver range 查询可以解决这个问题。 靠 @killagu 的 SQL 算法优化。
先从 PackageManagerService 入手是试试,将 packageManagerService.listPackageFullManifests 移到 PackageQueryService 不过目前的架构图跟 https://www.yuque.com/liberty/rf322x/nhe0zu#p6Giu 描述的还不一样,得想想。 ```txt +--------------------------------+ +--------+ +----------+ | Controller | | | | | +----^-------------^-------------+ | | | | | | | | |...
https://github.com/cnpm/cnpmcore/issues/348 走这种模式
https://github.com/eggjs/egg-passport/pull/20 高难度
https://github.com/node-modules/address/pull/37
先 hotfix node 版本 https://github.com/cnpm/bug-versions/pull/201