cnpm / cnpmcore

Private NPM Registry for Enterprise
https://npmmirror.com
MIT License
607 stars 80 forks source link

Different tarball with original npm registry. #588

Closed JounQin closed 11 months ago

JounQin commented 1 year ago

https://registry.npmmirror.com/gifsicle/-/gifsicle-5.3.0.tgz

https://registry.npmjs.org/gifsicle/-/gifsicle-5.3.0.tgz

image
github-actions[bot] commented 1 year ago

我们已经看到你的反馈,如果是功能缺陷,可以提供一下重现该问题的方式;如果是新功能需求,我们会尽快加入讨论。同时我们非常期待你可以加入我们的贡献者行列,让项目可以长期可持续发展。

yangxiaolang commented 1 year ago

cnpm 有可能用了其他的压缩算法,我手动计算从 registry.npmjs.orgregistry.npmmirror.com 两个源的 gifsicle-5.3.0.tgz 的 checksum, registry.npmmirror.com 的 checksum 似乎对不上 而且我看 registry.npmmirror.com_id 其实是 gifsicle@5.2.1 企业微信截图_16941616043890

yangxiaolang commented 1 year ago

cnpm 的 gifsicle@5.3.0 似乎就是 gifsicle@5.2.1,这两个的 checksum 是一致,并且跟 npm 源的 gifsicle@5.2.1 的也是一致的

https://npmmirror.com/package/gifsicle/files?version=5.3.0#L49 https://npmjs.com/package/gifsicle/v/5.3.0?activeTab=code

elrrrrrrr commented 11 months ago

@fengmk2 看上去是同步异常了需要手动删除一下异常数据? 2021-12-13T14:30:33.919Z 同步时间有点久了,不确定是 npm registry 还是 cnpmcore 的 bug。

fengmk2 commented 11 months ago

删除命令似乎没有生效

fengmk2 commented 11 months ago

https://registry.npmmirror.com/-/package/gifsicle/syncs/6538783382e7e473181113a7/log 已经重新同步

fengmk2 commented 11 months ago

https://npmmirror.com/package/gifsicle/files?version=5.3.0#L7 缓存已经刷新