Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
asyncapi-converter
Advanced tools
Convert AsyncAPI documents older to newer versions.
npm i -g asyncapi-converter
Minimal example:
asyncapi-converter streetlights.yml
# Result:
asyncapi: '2.0.0'
channels:
...
Specify the application id:
asyncapi-converter --id=urn:com.asynapi.streetlights streetlights.yml
# Result:
asyncapi: '2.0.0'
id: 'urn:com.asynapi.streetlights'
...
Save the result in a file:
asyncapi-converter streetlights.yml > streetlights2.yml
const { convert } = require('asyncapi-converter')
try {
const asyncapi = fs.readFileSync('streetlights.yml', 'utf-8')
console.log(convert(asyncapi, '2.0.0', {
id: 'urn:com.asyncapi.streetlights'
}))
} catch (e) {
console.error(e)
}
stream
instead of topics
or events
) are converted correctly but information about framing type and delimiter is missing until a protocolInfo for that purpose is created.FAQs
Convert AsyncAPI documents from older to newer versions.
The npm package asyncapi-converter receives a total of 24 weekly downloads. As such, asyncapi-converter popularity was classified as not popular.
We found that asyncapi-converter 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.
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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.