Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
diat-live-inspector
Advanced tools
开启一个Node.js进程的inspect端口,并与其通信。
SIGUSR1 + inspector protocol
SIGUSR1
没法用在windows上,所以这个lib不支持windows。const { Communication } = require('diat-live-inspector')
(async () => {
const comm = new Communication({
pid: PID
})
// 开始通信
await comm.connect()
// 执行一个表达式
const ret = await comm.execCode('process.version')
console.log(ret) // 输出: { result: { type: 'string', value: 'v10.16.0' } }
// 关闭通信
await comm.disconnect()
})();
TODO
通过Communication.event
是Events
实例,可以通过其监听到inspector协议中的事件。除了inspector协议的事件外,还包括Communication
自定义的事件,有:
LiveInspector.close
: ws关闭。参数表示关闭的原因,包含: code, reasonFAQs
开启一个Node.js进程的inspect端口,并与其通信
The npm package diat-live-inspector receives a total of 11 weekly downloads. As such, diat-live-inspector popularity was classified as not popular.
We found that diat-live-inspector 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.