
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
fly-cat-console
Advanced tools
可以考虑改成 log.success() log.json({ a: 1231213, b: { c: 123 } }, '请求结果.......') log.img() log() 这种形式,考虑结合webpack 转义为对应的类型
可以考虑改成 log.success() log.json({ a: 1231213, b: { c: 123 } }, '请求结果.......') log.img() log() 这种形式,考虑结合webpack 转义为对应的类型
所以还需要去研究一下 webpack 看如何去实现这个功能,可以参考大牛实现 try{}catch{} 封装捕获 async 和 await 的实现方式
如果webpack 实现较为困难,则将这种较为简陋的方式封装成 npm 包 发布到 github 上
使用方式类似于 import Log from 'easy-log' window.log = new Log({ success: 'green', warning: 'orange', danger: 'red', primary: 'blue' })
最重要的一点是不能破坏 浏览器自行的 log 打印时候的 文件以及代码行数的信息
通过不同的方式实现 浏览器和小黑板控制器的彩色打印功能 就像axios 一样,分别兼容不同的容器环境
FAQs
可以考虑改成 log.success() log.json({ a: 1231213, b: { c: 123 } }, '请求结果.......') log.img() log() 这种形式,考虑结合webpack 转义为对应的类型
The npm package fly-cat-console receives a total of 1 weekly downloads. As such, fly-cat-console popularity was classified as not popular.
We found that fly-cat-console demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.