Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@asyncapi/specs

Package Overview
Dependencies
Maintainers
3
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@asyncapi/specs - npm Package Compare versions

Comparing version 6.0.0-next-major-spec.2 to 6.0.0-next-major-spec.3

45

definitions/3.0.0/multiFormatSchema.json

@@ -36,3 +36,10 @@ {

"schema": {
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json"
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json"
}
]
}

@@ -81,3 +88,10 @@ }

"schema": {
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json"
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/schema.json"
}
]
}

@@ -104,3 +118,10 @@ }

"schema": {
"$ref": "http://json-schema.org/draft-07/schema"
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://json-schema.org/draft-07/schema"
}
]
}

@@ -128,3 +149,10 @@ }

"schema": {
"$ref": "http://asyncapi.com/definitions/3.0.0/openapiSchema_3_0.json"
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/openapiSchema_3_0.json"
}
]
}

@@ -152,3 +180,10 @@ }

"schema": {
"$ref": "http://asyncapi.com/definitions/3.0.0/avroSchema_v1.json"
"oneOf": [
{
"$ref": "http://asyncapi.com/definitions/3.0.0/Reference.json"
},
{
"$ref": "http://asyncapi.com/definitions/3.0.0/avroSchema_v1.json"
}
]
}

@@ -155,0 +190,0 @@ }

2

package.json
{
"name": "@asyncapi/specs",
"version": "6.0.0-next-major-spec.2",
"version": "6.0.0-next-major-spec.3",
"description": "AsyncAPI schema versions",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -14,6 +14,6 @@ const path = require('path');

// definitionsRegex is used to transform the name of a definition into a valid one to be used in the -without-$id.json files.
const definitionsRegex = /http:\/\/asyncapi\.com\/definitions\/[^\/]*\/(.+)\.json\#?(.*)/i
const definitionsRegex = /http:\/\/asyncapi\.com\/definitions\/[^/]*\/(.+)\.json#?(.*)/i
// definitionsRegex is used to transform the name of a binding into a valid one to be used in the -without-$id.json files.
const bindingsRegex = /http:\/\/asyncapi\.com\/(bindings\/[^\/]+)\/([^\/]+)\/(.+)\.json(.*)/i
const bindingsRegex = /http:\/\/asyncapi\.com\/(bindings\/[^/]+)\/([^/]+)\/(.+)\.json(.*)/i

@@ -160,3 +160,3 @@ /**

return path.basename(def, '.json') // TODO is this really needed?
return path.basename(def, '.json')
}

@@ -163,0 +163,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc