xcyn

Results 5 issues of xcyn

![image](https://user-images.githubusercontent.com/19171028/80356816-9d1e9100-88ac-11ea-963a-65a4d0706857.png) ` const macNotification = window.electronRequire('node-mac-notifier'); const notificationInstance = new macNotification(name, { tag:new Date().toString(), body: msg, icon: cPhoto, renotify: true, soundName: true, canReply: true, otherButtonTitle: '关闭', isOtherButton: true }); `

在nestjs使用中node16+以上版本中使用cat发现编译报错。 后发现社区有类似问题还未解决,参考: https://github.com/dianping/cat/issues/2140 尝试编译官方版本只能支持到node12以内。 问题原因: 项目中使用早期的 V8 API 来操作 JavaScript 对象。 在 Node.js 13 后,由于 V8 的 API 更新,某些早期的方法不再有效或需要调整。 解决方案: 使用条件编译指令对语法进行处理。