parser-js
parser-js copied to clipboard
fix: upgrade @asyncapi/specs
Description
This PR upgrades the @asyncapi/specs library to the new v3.
One important note is, that with the new @asyncapi/specs package, the schema for validating JSON Schema's has to be removed in validation libraries. Why?
Long story short, because the AsyncAPI JSON Schema documents are written with a specific meta schema. That meta schema, is already loaded by Ajv, and when you try to load the bundled AsyncAPI JSON Schema, it now contains that same meta schema, because we use it for payload validation. And Ajv does NOT like to load duplicate schemas and simply throw an error and cannot validate documents.
Related issue(s) Blocked by https://github.com/asyncapi/spec-json-schemas/pull/128
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
PR is ready
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
@jonaslagoni sorry for being so late 😓 please solve conflicts and I can accept
@jonaslagoni sorry for being so late 😓 please solve conflicts and I can accept
Done 👍
Kudos, SonarCloud Quality Gate passed! 
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
:tada: This PR is included in version 1.15.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This PR is included in version 2.0.0-next-major.18 :tada:
The release is available on:
Your semantic-release bot :package::rocket: