Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
asyncapi-converter
Advanced tools
Convert AsyncAPI documents from version 1.x to version 2.0.0.
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.asynapi.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 8 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.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.