Skip to content

Commit

Permalink
feat: Update to latest asyncapi js-parser (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
derberg authored Aug 5, 2020
1 parent defbfa4 commit 3862250
Show file tree
Hide file tree
Showing 5 changed files with 92 additions and 57 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
.DS_Store
142 changes: 88 additions & 54 deletions runner/js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion runner/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "ISC",
"dependencies": {
"amf-client-js": "^4.0.4",
"asyncapi-parser": "^0.15.0",
"@asyncapi/parser": "^0.30.0",
"minimist": "^1.2.3",
"mustache": "^3.0.1",
"walk": "^2.3.14"
Expand Down
2 changes: 1 addition & 1 deletion runner/js/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const PARSERS_META = {
},
'asyncapi-parser': {
url: 'https://github.com/asyncapi/parser-js',
version: package.dependencies['asyncapi-parser']
version: package.dependencies['@asyncapi/parser']
}
}

Expand Down
2 changes: 1 addition & 1 deletion runner/js/src/parsers.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const fs = require('fs')

const asyncapi = require('asyncapi-parser')
const asyncapi = require('@asyncapi/parser')
const amf = require('amf-client-js')

// https://github.com/asyncapi/parser-js
Expand Down

0 comments on commit 3862250

Please sign in to comment.