Closed YipZong closed 3 years ago
@YipZong ping
Thank you very much for your contribution!
I have invited you to join our Wechaty GitHub Organization, please accept it. (See also: wechaty/PMC#16)
We also have a WeChat room for contributors only which can discuss Wechaty at a deeper level, you are welcome to join and if you are interested.
Please add @lijiarui wechat: _ruirui0914 and send her this pr link. She will invite you into Wechaty Contributor Room
Cheers!
This is to address the issue raised here https://github.com/wechaty/wechaty-getting-started/issues/173 where two versions of puppeteer & Chromium are downloaded
The root reason is that:
wechaty-puppet-wechat
is usingpuppeteer": "^7.1.0
whilewechaty-puppet-whatsapp "^0.2.4"
is using"whatsapp-web.js": "^1.12.6
" which has an underlying dependency ofpuppeteer
currently with version5.5.0.
whatsapp-web
had a recent PR merged (see here https://github.com/pedroslopez/whatsapp-web.js/pull/750) forupgrading
puppeteer from5.5.0
to10.1.0
.It will be likely released in the next version of
whatsapp-web
. Since the presence of"^"
in the config file,puppet-whatsapp
will use the most updated compatible version upon next deployment, and thus automatically have the most updated version ofpuppeteer
By then,wechaty-puppet-wechat
will have an outdated version ofpuppeteer
. If wechat and whatsapp have the same version of puppeteer, the original issue raised will be solved.