@asyncapi/parser
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -271,6 +271,4 @@ const YAML = require('js-yaml'); | ||
if (typeof str !== 'string') return; | ||
const channelName = str; | ||
const url = new URL(`http://${channelName}`); | ||
return url.search; | ||
return str.match(/\?((.*=.*)(&?))/g); | ||
}; | ||
@@ -277,0 +275,0 @@ |
{ | ||
"name": "@asyncapi/parser", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "JavaScript AsyncAPI parser.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -191,2 +191,5 @@ <h5 align="center"> | ||
</tr> | ||
<tr> | ||
<td align="center"><a href="https://www.linkedin.com/in/jbreitenbaumer/"><img src="https://avatars3.githubusercontent.com/u/683438?v=4" width="100px;" alt=""/><br /><sub><b>Jürgen B.</b></sub></a><br /><a href="https://github.com/asyncapi/parser-js/commits?author=juergenbr" title="Code">💻</a></td> | ||
</tr> | ||
</table> | ||
@@ -193,0 +196,0 @@ |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1097694
200
6543