waynecz / dadda-translate-crx

🐱 比较好看的 Chrome 划词翻译(搜狗)插件,自带生词簿及吐司弹词记忆,可与有道、扇贝单词同步
https://chrome.google.com/webstore/detail/%E7%81%AB%E5%B1%B1%E7%BF%BB%E8%AF%91-%E5%88%92%E8%AF%8D%E5%92%8C%E7%BD%91%E9%A1%B5%E7%BF%BB%E8%AF%91/klgfhbiooeogdfodpopgppeadghjjemk?hl=zh-CN
MIT License
1.65k stars 121 forks source link

Update module dependence md5 and other #168

Closed huiyifyj closed 5 years ago

huiyifyj commented 5 years ago
  1. Update package.json file:

    • Add private property (set it true).
    • Remove 'node_modules/.bin/' in script property: it is default env when you use run npm script.
  2. Change md5 dependence from md5 to @xn-02f/md5:

    • @xn-02f/md5 is library with zero dependence, md5 depend on charenc, crypt and is-buffer.
    • @xn-02f/md5 is more suitable and more secure than md5 for your usage.