From ce9e5670b5f863d8a8535e9b234e435d4f394ad6 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Sun, 31 Mar 2024 19:24:53 +0200 Subject: [PATCH 01/17] fix: update @asyncapi/parser to 3.0.11 version (#963) --- library/package.json | 2 +- package-lock.json | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/library/package.json b/library/package.json index bd1869337..157fd6010 100644 --- a/library/package.json +++ b/library/package.json @@ -70,8 +70,8 @@ "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.18", "@asyncapi/openapi-schema-parser": "^3.0.18", + "@asyncapi/parser": "^3.0.11", "@asyncapi/protobuf-schema-parser": "^3.2.8", - "@asyncapi/parser": "^3.0.10", "highlight.js": "^10.7.2", "isomorphic-dompurify": "^0.13.0", "marked": "^4.0.14", diff --git a/package-lock.json b/package-lock.json index 802f1dc17..63b17709d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.18", "@asyncapi/openapi-schema-parser": "^3.0.18", - "@asyncapi/parser": "^3.0.10", + "@asyncapi/parser": "^3.0.11", "@asyncapi/protobuf-schema-parser": "^3.2.8", "highlight.js": "^10.7.2", "isomorphic-dompurify": "^0.13.0", @@ -263,11 +263,11 @@ } }, "node_modules/@asyncapi/parser": { - "version": "3.0.10", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.10.tgz", - "integrity": "sha512-x9qo7SHGzPWbC1XCRyilcI+Z6UZsWZ9uRl05h9j4G/v+3IjNG3krwngiAbt59nbLlYZD/nBS7Hc03GayoocnQw==", + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.11.tgz", + "integrity": "sha512-YrmPY6Me7Eh6yH7xISKrDuiybaNVDUxVjbChUAoJZ4dnVGAmMVTxQTlwoqEwQ9bfTHzAb3RixdJ3TC6I4RoHNw==", "dependencies": { - "@asyncapi/specs": "^6.5.3", + "@asyncapi/specs": "^6.5.4", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "@stoplight/json": "^3.20.2", "@stoplight/json-ref-readers": "^1.2.2", @@ -303,9 +303,9 @@ "link": true }, "node_modules/@asyncapi/specs": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.5.3.tgz", - "integrity": "sha512-mZROlCOLkZEWy5tN4pPop3JEJflSKmLLMGO1TebF5wjnroqZ3yp/GuGUxVIl3jVNxFk1i5nZ2AtWzAD/HaUj3Q==", + "version": "6.5.4", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.5.4.tgz", + "integrity": "sha512-olC+iuboGIGjFRKuqfwaXxm5I6Wae3JohmySwMfExl21nYUd88IbfwywunOPLWyLV05aXeoTJ5tDXiM9e4gWcQ==", "dependencies": { "@types/json-schema": "^7.0.11" } From b6a6f80140cc68d8e20e490b12d4f336eeaee004 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Sun, 31 Mar 2024 19:49:52 +0200 Subject: [PATCH 02/17] fix: update @asyncapi/avro-schema-parser to 3.0.19 version (#964) --- library/package.json | 2 +- package-lock.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/package.json b/library/package.json index 157fd6010..d3778244e 100644 --- a/library/package.json +++ b/library/package.json @@ -68,7 +68,7 @@ "get:version": "echo $npm_package_version" }, "dependencies": { - "@asyncapi/avro-schema-parser": "^3.0.18", + "@asyncapi/avro-schema-parser": "^3.0.19", "@asyncapi/openapi-schema-parser": "^3.0.18", "@asyncapi/parser": "^3.0.11", "@asyncapi/protobuf-schema-parser": "^3.2.8", diff --git a/package-lock.json b/package-lock.json index 63b17709d..e11e5e04d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "version": "1.4.2", "license": "Apache-2.0", "dependencies": { - "@asyncapi/avro-schema-parser": "^3.0.18", + "@asyncapi/avro-schema-parser": "^3.0.19", "@asyncapi/openapi-schema-parser": "^3.0.18", "@asyncapi/parser": "^3.0.11", "@asyncapi/protobuf-schema-parser": "^3.2.8", @@ -241,11 +241,11 @@ } }, "node_modules/@asyncapi/avro-schema-parser": { - "version": "3.0.18", - "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.18.tgz", - "integrity": "sha512-2w8cq10apV7Kc+mBPIaIhmErj1oJF8cERpTZKjFti1uoQCXX3oZ9H0wQCajlYNOANuh/a0F4JMEd2R/lM0PFXw==", + "version": "3.0.19", + "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.19.tgz", + "integrity": "sha512-1+qwxeAbSpp2OQw1TkjWemS7v646lSVM2RMJzDAh5qP5w33hM2xLXcuYC2O72l2AbCl4bkRfXTjTWLLq8qiPAA==", "dependencies": { - "@asyncapi/parser": "^3.0.10", + "@asyncapi/parser": "^3.0.11", "@types/json-schema": "^7.0.11", "avsc": "^5.7.6" } From e9ae0af9568b1b6a21384c05a21cbb955a4b3f70 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Sun, 31 Mar 2024 20:42:02 +0200 Subject: [PATCH 03/17] chore(release): v1.4.4 (#968) --- library/package.json | 2 +- package-lock.json | 10 +++++----- playground/package.json | 4 ++-- web-component/package.json | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/library/package.json b/library/package.json index d3778244e..22234e312 100644 --- a/library/package.json +++ b/library/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/react-component", - "version": "1.4.2", + "version": "1.4.4", "private": false, "description": "A React component for AsyncAPI specification.", "repository": { diff --git a/package-lock.json b/package-lock.json index e11e5e04d..fd555587d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ }, "library": { "name": "@asyncapi/react-component", - "version": "1.4.2", + "version": "1.4.4", "license": "Apache-2.0", "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.19", @@ -27639,9 +27639,9 @@ } }, "playground": { - "version": "1.4.2", + "version": "1.4.4", "dependencies": { - "@asyncapi/react-component": "^1.4.2", + "@asyncapi/react-component": "^1.4.4", "@codemirror/lang-yaml": "^6.0.0", "@uiw/codemirror-theme-material": "^4.21.24", "@uiw/react-codemirror": "^4.21.24", @@ -27854,10 +27854,10 @@ }, "web-component": { "name": "@asyncapi/web-component", - "version": "1.4.2", + "version": "1.4.4", "license": "Apache-2.0", "dependencies": { - "@asyncapi/react-component": "^1.4.2", + "@asyncapi/react-component": "^1.4.4", "react": "^16.8.0", "react-dom": "^16.8.0", "web-react-components": "^1.4.2" diff --git a/playground/package.json b/playground/package.json index 266ea6624..2cd2b5fa9 100644 --- a/playground/package.json +++ b/playground/package.json @@ -1,6 +1,6 @@ { "name": "playground", - "version": "1.4.2", + "version": "1.4.4", "private": true, "scripts": { "build": "next build && touch out/.nojekyll", @@ -9,7 +9,7 @@ "install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh" }, "dependencies": { - "@asyncapi/react-component": "^1.4.2", + "@asyncapi/react-component": "^1.4.4", "@codemirror/lang-yaml": "^6.0.0", "@uiw/codemirror-theme-material": "^4.21.24", "@uiw/react-codemirror": "^4.21.24", diff --git a/web-component/package.json b/web-component/package.json index 822633a9a..dd3128745 100644 --- a/web-component/package.json +++ b/web-component/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/web-component", - "version": "1.4.2", + "version": "1.4.4", "private": false, "description": "A web component for AsyncAPI specification. Based on @asyncapi/react-component.", "repository": { @@ -44,7 +44,7 @@ "install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh" }, "dependencies": { - "@asyncapi/react-component": "^1.4.2", + "@asyncapi/react-component": "^1.4.4", "react": "^16.8.0", "react-dom": "^16.8.0", "web-react-components": "^1.4.2" From 50e851fbf6f3d83475741c70faedf9e435d91824 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Tue, 2 Apr 2024 20:50:07 +0200 Subject: [PATCH 04/17] ci: update of files from global .github repo (#969) --- .github/workflows/if-nodejs-pr-testing.yml | 7 ++++--- .github/workflows/if-nodejs-release.yml | 12 ++++++++++-- .github/workflows/if-nodejs-version-bump.yml | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/if-nodejs-pr-testing.yml b/.github/workflows/if-nodejs-pr-testing.yml index 691f83503..75eaaac7b 100644 --- a/.github/workflows/if-nodejs-pr-testing.yml +++ b/.github/workflows/if-nodejs-pr-testing.yml @@ -33,6 +33,7 @@ jobs: id: should_run name: Should Run run: echo "shouldrun=true" >> $GITHUB_OUTPUT + shell: bash - if: steps.should_run.outputs.shouldrun == 'true' name: Set git to use LF #to once and for all finish neverending fight between Unix and Windows run: | @@ -60,13 +61,13 @@ jobs: - if: steps.packagejson.outputs.exists == 'true' name: Install dependencies id: first-installation - run: npm install --loglevel verbose + run: npm ci continue-on-error: true - if: steps.first-installation.outputs.status == 'failure' && steps.packagejson.outputs.exists == 'true' name: Clear NPM cache and install deps again run: | npm cache clean --force - npm install --loglevel verbose + npm ci - if: steps.packagejson.outputs.exists == 'true' name: Test run: npm test --if-present @@ -75,4 +76,4 @@ jobs: run: npm run lint --if-present - if: steps.packagejson.outputs.exists == 'true' name: Run release assets generation to make sure PR does not break it - run: npm run generate:assets --if-present \ No newline at end of file + run: npm run generate:assets --if-present diff --git a/.github/workflows/if-nodejs-release.yml b/.github/workflows/if-nodejs-release.yml index 97cbb112c..fbad21df5 100644 --- a/.github/workflows/if-nodejs-release.yml +++ b/.github/workflows/if-nodejs-release.yml @@ -85,6 +85,7 @@ jobs: - name: Check if Node.js project and has package.json id: packagejson run: test -e ./package.json && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT + shell: bash - if: steps.packagejson.outputs.exists == 'true' name: Check package-lock version uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master @@ -98,7 +99,14 @@ jobs: cache-dependency-path: '**/package-lock.json' - if: steps.packagejson.outputs.exists == 'true' name: Install dependencies - run: npm install + id: first-installation + run: npm ci + continue-on-error: true + - if: steps.first-installation.outputs.status == 'failure' && steps.packagejson.outputs.exists == 'true' + name: Clear NPM cache and install deps again + run: | + npm cache clean --force + npm ci - if: steps.packagejson.outputs.exists == 'true' name: Add plugin for conventional commits for semantic-release run: npm install --save-dev conventional-changelog-conventionalcommits@5.0.0 @@ -123,4 +131,4 @@ jobs: fields: repo,action,workflow text: 'Release workflow failed in release job' env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_FAIL_NOTIFY }} \ No newline at end of file + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_FAIL_NOTIFY }} diff --git a/.github/workflows/if-nodejs-version-bump.yml b/.github/workflows/if-nodejs-version-bump.yml index 7e27f90bb..36847d803 100644 --- a/.github/workflows/if-nodejs-version-bump.yml +++ b/.github/workflows/if-nodejs-version-bump.yml @@ -37,7 +37,7 @@ jobs: cache-dependency-path: '**/package-lock.json' - if: steps.packagejson.outputs.exists == 'true' name: Install dependencies - run: npm install + run: npm ci - if: steps.packagejson.outputs.exists == 'true' name: Assets generation run: npm run generate:assets --if-present From 52c15840b48ff4c9608a1363895477fed3f69fa0 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Tue, 2 Apr 2024 21:51:22 +0200 Subject: [PATCH 05/17] ci: update of files from global .github repo (#970) --- .github/workflows/help-command.yml | 1 + .../workflows/please-take-a-look-command.yml | 54 +++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 .github/workflows/please-take-a-look-command.yml diff --git a/.github/workflows/help-command.yml b/.github/workflows/help-command.yml index d4ba4a44c..ada81682e 100644 --- a/.github/workflows/help-command.yml +++ b/.github/workflows/help-command.yml @@ -31,6 +31,7 @@ jobs: At the moment the following comments are supported in pull requests: + - \`/please-take-a-look` or \`/ptal\` - This comment will add a comment to the PR asking for attention from the reviewrs who have not reviewed the PR yet. - \`/ready-to-merge\` or \`/rtm\` - This comment will trigger automerge of PR in case all required checks are green, approvals in place and do-not-merge label is not added - \`/do-not-merge\` or \`/dnm\` - This comment will block automerging even if all conditions are met and ready-to-merge label is added - \`/autoupdate\` or \`/au\` - This comment will add \`autoupdate\` label to the PR and keeps your PR up-to-date to the target branch's future changes. Unless there is a merge conflict or it is a draft PR.` diff --git a/.github/workflows/please-take-a-look-command.yml b/.github/workflows/please-take-a-look-command.yml new file mode 100644 index 000000000..216055ca5 --- /dev/null +++ b/.github/workflows/please-take-a-look-command.yml @@ -0,0 +1,54 @@ +# This action is centrally managed in https://github.com/asyncapi/.github/ +# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in above mentioned repo + +# It uses Github actions to listen for comments on issues and pull requests and +# if the comment contains /ping-for-attention or /pfa it will add a comment pinging +# the code-owners who have not yet reviewed the pull request + +name: Please take a Look + +on: + issue_comment: + types: [created] + +jobs: + ping-for-attention: + if: > + github.event.issue.pull_request && + github.event.issue.state != 'closed' && + github.actor != 'asyncapi-bot' && + ( + contains(github.event.comment.body, '/please-take-a-look') || + contains(github.event.comment.body, '/ptal') || + contains(github.event.comment.body, '/PTAL') + ) + runs-on: ubuntu-latest + steps: + - name: Check for Please Take a Look Command + uses: actions/github-script@v6 + with: + github-token: ${{ secrets.GH_TOKEN }} + script: | + const prDetailsUrl = context.payload.issue.pull_request.url; + const { data: pull } = await github.request(prDetailsUrl); + const reviewers = pull.requested_reviewers.map(reviewer => reviewer.login); + + const { data: reviews } = await github.rest.pulls.listReviews({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.issue.number + }); + + const reviewersWhoHaveReviewed = reviews.map(review => review.user.login); + + const reviewersWhoHaveNotReviewed = reviewers.filter(reviewer => !reviewersWhoHaveReviewed.includes(reviewer)); + + if (reviewersWhoHaveNotReviewed.length > 0) { + const comment = reviewersWhoHaveNotReviewed.map(reviewer => `@${reviewer}`).join(' '); + await github.rest.issues.createComment({ + issue_number: context.issue.number, + owner: context.repo.owner, + repo: context.repo.repo, + body: `${comment} Please take a look at this PR. Thanks! :wave:` + }); + } From a4e2fc082781b6299ec55004fac39898ecfb6033 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Wed, 3 Apr 2024 16:58:28 +0200 Subject: [PATCH 06/17] fix: update @asyncapi/parser to 3.0.12 version (#971) --- library/package.json | 2 +- package-lock.json | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/library/package.json b/library/package.json index 22234e312..291916e1e 100644 --- a/library/package.json +++ b/library/package.json @@ -70,7 +70,7 @@ "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.19", "@asyncapi/openapi-schema-parser": "^3.0.18", - "@asyncapi/parser": "^3.0.11", + "@asyncapi/parser": "^3.0.12", "@asyncapi/protobuf-schema-parser": "^3.2.8", "highlight.js": "^10.7.2", "isomorphic-dompurify": "^0.13.0", diff --git a/package-lock.json b/package-lock.json index fd555587d..ca28fd6c8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.19", "@asyncapi/openapi-schema-parser": "^3.0.18", - "@asyncapi/parser": "^3.0.11", + "@asyncapi/parser": "^3.0.12", "@asyncapi/protobuf-schema-parser": "^3.2.8", "highlight.js": "^10.7.2", "isomorphic-dompurify": "^0.13.0", @@ -263,11 +263,11 @@ } }, "node_modules/@asyncapi/parser": { - "version": "3.0.11", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.11.tgz", - "integrity": "sha512-YrmPY6Me7Eh6yH7xISKrDuiybaNVDUxVjbChUAoJZ4dnVGAmMVTxQTlwoqEwQ9bfTHzAb3RixdJ3TC6I4RoHNw==", + "version": "3.0.12", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.12.tgz", + "integrity": "sha512-F46FSg6XZDy8LSE0U8MnK0JsvRdDXN2XwE/prewr6d+JE1DNR7fwYAFty7SNh2Ym04D5G+YHZEm2QbbzOsrbsQ==", "dependencies": { - "@asyncapi/specs": "^6.5.4", + "@asyncapi/specs": "^6.5.5", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "@stoplight/json": "^3.20.2", "@stoplight/json-ref-readers": "^1.2.2", @@ -303,9 +303,9 @@ "link": true }, "node_modules/@asyncapi/specs": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.5.4.tgz", - "integrity": "sha512-olC+iuboGIGjFRKuqfwaXxm5I6Wae3JohmySwMfExl21nYUd88IbfwywunOPLWyLV05aXeoTJ5tDXiM9e4gWcQ==", + "version": "6.5.5", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.5.5.tgz", + "integrity": "sha512-5uPO22ZsLjh6ZdSHF/wROogOaA3BlYUOQqBf5+hdBbXXj/jIHJWHTYSLWCvws7DQM0++tHslFZ+xWbURTc927w==", "dependencies": { "@types/json-schema": "^7.0.11" } From 0eb53a3bdcff2b7435b3feb8774dbf27bf04928b Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Wed, 3 Apr 2024 17:42:00 +0200 Subject: [PATCH 07/17] fix: update @asyncapi/protobuf-schema-parser to 3.2.10 version (#973) --- library/package.json | 2 +- package-lock.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/package.json b/library/package.json index 291916e1e..21260bc77 100644 --- a/library/package.json +++ b/library/package.json @@ -71,7 +71,7 @@ "@asyncapi/avro-schema-parser": "^3.0.19", "@asyncapi/openapi-schema-parser": "^3.0.18", "@asyncapi/parser": "^3.0.12", - "@asyncapi/protobuf-schema-parser": "^3.2.8", + "@asyncapi/protobuf-schema-parser": "^3.2.10", "highlight.js": "^10.7.2", "isomorphic-dompurify": "^0.13.0", "marked": "^4.0.14", diff --git a/package-lock.json b/package-lock.json index ca28fd6c8..e2aad95fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -38,7 +38,7 @@ "@asyncapi/avro-schema-parser": "^3.0.19", "@asyncapi/openapi-schema-parser": "^3.0.18", "@asyncapi/parser": "^3.0.12", - "@asyncapi/protobuf-schema-parser": "^3.2.8", + "@asyncapi/protobuf-schema-parser": "^3.2.10", "highlight.js": "^10.7.2", "isomorphic-dompurify": "^0.13.0", "marked": "^4.0.14", @@ -289,11 +289,11 @@ } }, "node_modules/@asyncapi/protobuf-schema-parser": { - "version": "3.2.8", - "resolved": "https://registry.npmjs.org/@asyncapi/protobuf-schema-parser/-/protobuf-schema-parser-3.2.8.tgz", - "integrity": "sha512-qYKutNQTkMNrf8BB9d6o2JS/4LC+r6Fkugvg46gW66kN9dKMU2nguHWM+MdcG89nk5keM2Olz4IN8AvWqX9iew==", + "version": "3.2.10", + "resolved": "https://registry.npmjs.org/@asyncapi/protobuf-schema-parser/-/protobuf-schema-parser-3.2.10.tgz", + "integrity": "sha512-k/+W3cTXy1JgUN5QEXV8MsIBwO7iGoxWLgLqyFY3qwEPLwBbydYxS9DLoo+0hI8jV70sInmnI7DLSUKQNEoK9g==", "dependencies": { - "@asyncapi/parser": "^3.0.10", + "@asyncapi/parser": "^3.0.12", "@types/protocol-buffers-schema": "^3.4.1", "protobufjs": "^7.2.6" } From 51923c1cd8ff69bddef8be8faaadb866cfe76237 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Wed, 3 Apr 2024 17:53:38 +0200 Subject: [PATCH 08/17] chore(release): v1.4.5 (#975) --- library/package.json | 2 +- package-lock.json | 10 +++++----- playground/package.json | 4 ++-- web-component/package.json | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/library/package.json b/library/package.json index 21260bc77..94de5a545 100644 --- a/library/package.json +++ b/library/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/react-component", - "version": "1.4.4", + "version": "1.4.5", "private": false, "description": "A React component for AsyncAPI specification.", "repository": { diff --git a/package-lock.json b/package-lock.json index e2aad95fd..ee0175e90 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ }, "library": { "name": "@asyncapi/react-component", - "version": "1.4.4", + "version": "1.4.5", "license": "Apache-2.0", "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.19", @@ -27639,9 +27639,9 @@ } }, "playground": { - "version": "1.4.4", + "version": "1.4.5", "dependencies": { - "@asyncapi/react-component": "^1.4.4", + "@asyncapi/react-component": "^1.4.5", "@codemirror/lang-yaml": "^6.0.0", "@uiw/codemirror-theme-material": "^4.21.24", "@uiw/react-codemirror": "^4.21.24", @@ -27854,10 +27854,10 @@ }, "web-component": { "name": "@asyncapi/web-component", - "version": "1.4.4", + "version": "1.4.5", "license": "Apache-2.0", "dependencies": { - "@asyncapi/react-component": "^1.4.4", + "@asyncapi/react-component": "^1.4.5", "react": "^16.8.0", "react-dom": "^16.8.0", "web-react-components": "^1.4.2" diff --git a/playground/package.json b/playground/package.json index 2cd2b5fa9..d02fafe67 100644 --- a/playground/package.json +++ b/playground/package.json @@ -1,6 +1,6 @@ { "name": "playground", - "version": "1.4.4", + "version": "1.4.5", "private": true, "scripts": { "build": "next build && touch out/.nojekyll", @@ -9,7 +9,7 @@ "install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh" }, "dependencies": { - "@asyncapi/react-component": "^1.4.4", + "@asyncapi/react-component": "^1.4.5", "@codemirror/lang-yaml": "^6.0.0", "@uiw/codemirror-theme-material": "^4.21.24", "@uiw/react-codemirror": "^4.21.24", diff --git a/web-component/package.json b/web-component/package.json index dd3128745..3e4c85c43 100644 --- a/web-component/package.json +++ b/web-component/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/web-component", - "version": "1.4.4", + "version": "1.4.5", "private": false, "description": "A web component for AsyncAPI specification. Based on @asyncapi/react-component.", "repository": { @@ -44,7 +44,7 @@ "install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh" }, "dependencies": { - "@asyncapi/react-component": "^1.4.4", + "@asyncapi/react-component": "^1.4.5", "react": "^16.8.0", "react-dom": "^16.8.0", "web-react-components": "^1.4.2" From 5c98838e5588a1593ad9ad5419206aa3bb3d8e86 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Wed, 3 Apr 2024 20:16:08 +0200 Subject: [PATCH 09/17] ci: update of files from global .github repo (#976) --- .github/workflows/if-nodejs-pr-testing.yml | 2 +- .github/workflows/if-nodejs-release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/if-nodejs-pr-testing.yml b/.github/workflows/if-nodejs-pr-testing.yml index 75eaaac7b..73a2af5c2 100644 --- a/.github/workflows/if-nodejs-pr-testing.yml +++ b/.github/workflows/if-nodejs-pr-testing.yml @@ -63,7 +63,7 @@ jobs: id: first-installation run: npm ci continue-on-error: true - - if: steps.first-installation.outputs.status == 'failure' && steps.packagejson.outputs.exists == 'true' + - if: steps.first-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' name: Clear NPM cache and install deps again run: | npm cache clean --force diff --git a/.github/workflows/if-nodejs-release.yml b/.github/workflows/if-nodejs-release.yml index fbad21df5..f407e59ae 100644 --- a/.github/workflows/if-nodejs-release.yml +++ b/.github/workflows/if-nodejs-release.yml @@ -102,7 +102,7 @@ jobs: id: first-installation run: npm ci continue-on-error: true - - if: steps.first-installation.outputs.status == 'failure' && steps.packagejson.outputs.exists == 'true' + - if: steps.first-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' name: Clear NPM cache and install deps again run: | npm cache clean --force From 8b64b11053f4745e070b6efdf0e7f3c42f4f5560 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Thu, 4 Apr 2024 16:14:31 +0200 Subject: [PATCH 10/17] ci: update of files from global .github repo (#977) --- .github/workflows/please-take-a-look-command.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/please-take-a-look-command.yml b/.github/workflows/please-take-a-look-command.yml index 216055ca5..b26cbc41a 100644 --- a/.github/workflows/please-take-a-look-command.yml +++ b/.github/workflows/please-take-a-look-command.yml @@ -2,8 +2,8 @@ # Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in above mentioned repo # It uses Github actions to listen for comments on issues and pull requests and -# if the comment contains /ping-for-attention or /pfa it will add a comment pinging -# the code-owners who have not yet reviewed the pull request +# if the comment contains /please-take-a-look or /ptal it will add a comment pinging +# the code-owners who are reviewers for PR name: Please take a Look @@ -44,7 +44,7 @@ jobs: const reviewersWhoHaveNotReviewed = reviewers.filter(reviewer => !reviewersWhoHaveReviewed.includes(reviewer)); if (reviewersWhoHaveNotReviewed.length > 0) { - const comment = reviewersWhoHaveNotReviewed.map(reviewer => `@${reviewer}`).join(' '); + const comment = reviewersWhoHaveNotReviewed.filter(reviewer => reviewer !== 'asyncapi-bot-eve' ).map(reviewer => `@${reviewer}`).join(' '); await github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, From 96c2255473b7f57e2923128970d0c56034755708 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Mon, 8 Apr 2024 14:18:59 +0200 Subject: [PATCH 11/17] ci: update of files from global .github repo (#979) --- .github/workflows/help-command.yml | 2 +- .../workflows/issues-prs-notifications.yml | 2 +- .github/workflows/lint-pr-title.yml | 2 +- .github/workflows/stale-issues-prs.yml | 2 +- .../workflows/welcome-first-time-contrib.yml | 2 +- CONTRIBUTING.md | 89 ++++++++++++++----- 6 files changed, 71 insertions(+), 28 deletions(-) diff --git a/.github/workflows/help-command.yml b/.github/workflows/help-command.yml index ada81682e..55353bb89 100644 --- a/.github/workflows/help-command.yml +++ b/.github/workflows/help-command.yml @@ -31,7 +31,7 @@ jobs: At the moment the following comments are supported in pull requests: - - \`/please-take-a-look` or \`/ptal\` - This comment will add a comment to the PR asking for attention from the reviewrs who have not reviewed the PR yet. + - \`/please-take-a-look\` or \`/ptal\` - This comment will add a comment to the PR asking for attention from the reviewrs who have not reviewed the PR yet. - \`/ready-to-merge\` or \`/rtm\` - This comment will trigger automerge of PR in case all required checks are green, approvals in place and do-not-merge label is not added - \`/do-not-merge\` or \`/dnm\` - This comment will block automerging even if all conditions are met and ready-to-merge label is added - \`/autoupdate\` or \`/au\` - This comment will add \`autoupdate\` label to the PR and keeps your PR up-to-date to the target branch's future changes. Unless there is a merge conflict or it is a draft PR.` diff --git a/.github/workflows/issues-prs-notifications.yml b/.github/workflows/issues-prs-notifications.yml index 1af62f57c..78ebe9601 100644 --- a/.github/workflows/issues-prs-notifications.yml +++ b/.github/workflows/issues-prs-notifications.yml @@ -73,4 +73,4 @@ jobs: SLACK_WEBHOOK: ${{secrets.SLACK_GITHUB_NEWISSUEPR}} SLACK_TITLE: 💬 New Discussion in ${{github.repository}} 💬 SLACK_MESSAGE: ${{steps.discussionmarkdown.outputs.text}} - MSG_MINIMAL: true \ No newline at end of file + MSG_MINIMAL: true diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml index 3edb0ff93..77aa1c6e4 100644 --- a/.github/workflows/lint-pr-title.yml +++ b/.github/workflows/lint-pr-title.yml @@ -44,4 +44,4 @@ jobs: with: header: pr-title-lint-error delete: true - GITHUB_TOKEN: ${{ secrets.GH_TOKEN}} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GH_TOKEN}} diff --git a/.github/workflows/stale-issues-prs.yml b/.github/workflows/stale-issues-prs.yml index 70c8c9bb4..ed1fcf19a 100644 --- a/.github/workflows/stale-issues-prs.yml +++ b/.github/workflows/stale-issues-prs.yml @@ -42,4 +42,4 @@ jobs: stale-pr-label: stale exempt-issue-labels: keep-open exempt-pr-labels: keep-open - close-issue-reason: not_planned \ No newline at end of file + close-issue-reason: not_planned diff --git a/.github/workflows/welcome-first-time-contrib.yml b/.github/workflows/welcome-first-time-contrib.yml index be95be9f7..cbc23ce7c 100644 --- a/.github/workflows/welcome-first-time-contrib.yml +++ b/.github/workflows/welcome-first-time-contrib.yml @@ -82,4 +82,4 @@ jobs: body: message, event: 'COMMENT' }); - } \ No newline at end of file + } diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 367e68c25..1334921c2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,36 +1,79 @@ -# Contributing +# Contributing to AsyncAPI +We love your input! We want to make contributing to this project as easy and transparent as possible. -## Overview +## Contribution recogniton -Learn the rules to follow when you contribute code or content to this project. +We use [All Contributors](https://allcontributors.org/docs/en/specification) specification to handle recognitions. For more details read [this](https://github.com/asyncapi/community/blob/master/recognize-contributors.md) document. -## Contributing process +## Summary of the contribution flow -The contributing process in this project relies on the [GitHub flow](https://guides.github.com/introduction/flow/index.html). This means that you contribute through pull requests (PRs). When adding new code or content to this project, follow these rules: +The following is a summary of the ideal contribution flow. Please, note that Pull Requests can also be rejected by the maintainers when appropriate. -1. Fork this repository. -1. Make your changes. Do not forgot about: - - [Naming and architecture convention](./docs/development/guide.md#naming-and-architecture-convention) - - [Project structure](./docs/development/guide.md#project-structure) - - Tests - - Updating relevant documents if you add, remove, update props or configuration. -1. Create a PR. +``` + ┌───────────────────────┐ + │ │ + │ Open an issue │ + │ (a bug report or a │ + │ feature request) │ + │ │ + └───────────────────────┘ + ⇩ + ┌───────────────────────┐ + │ │ + │ Open a Pull Request │ + │ (only after issue │ + │ is approved) │ + │ │ + └───────────────────────┘ + ⇩ + ┌───────────────────────┐ + │ │ + │ Your changes will │ + │ be merged and │ + │ published on the next │ + │ release │ + │ │ + └───────────────────────┘ +``` -PRs are very welcome. However, if you want to add a new feature, use GitHub issues to discuss your ideas first. +## Code of Conduct +AsyncAPI has adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](./CODE_OF_CONDUCT.md) so that you can understand what sort of behaviour is expected. + +## Our Development Process +We use Github to host code, to track issues and feature requests, as well as accept pull requests. + +## Issues +[Open an issue](https://github.com/asyncapi/asyncapi/issues/new) **only** if you want to report a bug or a feature. Don't open issues for questions or support, instead join our [Slack workspace](https://www.asyncapi.com/slack-invite) and ask there. Don't forget to follow our [Slack Etiquette](https://github.com/asyncapi/community/blob/master/slack-etiquette.md) while interacting with community members! It's more likely you'll get help, and much faster! + +## Bug Reports and Feature Requests + +Please use our issues templates that provide you with hints on what information we need from you to help you out. + +## Pull Requests + +**Please, make sure you open an issue before starting with a Pull Request, unless it's a typo or a really obvious error.** Pull requests are the best way to propose changes to the specification. Get familiar with our document that explains [Git workflow](https://github.com/asyncapi/community/blob/master/git-workflow.md) used in our repositories. ## Conventional commits -This project follows the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) specification. Releasing to GitHub and NPM is done with the support of [semantic-release](https://semantic-release.gitbook.io/semantic-release/). +Our repositories follow [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/#summary) specification. Releasing to GitHub and NPM is done with the support of [semantic-release](https://semantic-release.gitbook.io/semantic-release/). + +Pull requests should have a title that follows the specification, otherwise, merging is blocked. If you are not familiar with the specification simply ask maintainers to modify. You can also use this cheatsheet if you want: + +- `fix: ` prefix in the title indicates that PR is a bug fix and PATCH release must be triggered. +- `feat: ` prefix in the title indicates that PR is a feature and MINOR release must be triggered. +- `docs: ` prefix in the title indicates that PR is only related to the documentation and there is no need to trigger release. +- `chore: ` prefix in the title indicates that PR is only related to cleanup in the project and there is no need to trigger release. +- `test: ` prefix in the title indicates that PR is only related to tests and there is no need to trigger release. +- `refactor: ` prefix in the title indicates that PR is only related to refactoring and there is no need to trigger release. + +What about MAJOR release? just add `!` to the prefix, like `fix!: ` or `refactor!: ` -A PR should have a title that follows the specification, otherwise, merging is blocked. If you are not familiar with the specification, simply ask maintainers to modify the PR. You can also use this cheatsheet: +Prefix that follows specification is not enough though. Remember that the title must be clear and descriptive with usage of [imperative mood](https://chris.beams.io/posts/git-commit/#imperative). -- `fix: ` prefix in the title indicates that a PR is a bug fix and the PATCH release must be triggered. -- `feat: ` prefix in the title indicates that a PR is a feature and the MINOR release must be triggered. -- `docs: ` prefix in the title indicates that a PR is only related to the documentation and there is no need to trigger a release. -- `chore: ` prefix in the title indicates that a PR is only related to the project cleanup and there is no need to trigger a release. -- `test: ` prefix in the title indicates that a PR is only related to tests and there is no need to trigger a release. -- `refactor: ` prefix in the title indicates that a PR is only related to refactoring and there is no need to trigger a release. +Happy contributing :heart: -For a MAJOR release, just add `!` to the prefix, like `fix!: ` or `refactor!: `. +## License +When you submit changes, your submissions are understood to be under the same [Apache 2.0 License](https://github.com/asyncapi/asyncapi/blob/master/LICENSE) that covers the project. Feel free to [contact the maintainers](https://www.asyncapi.com/slack-invite) if that's a concern. -A prefix that follows the specification is not enough though. Remember that the title must be clear, descriptive, and in the [imperative mood](https://chris.beams.io/posts/git-commit/#imperative). \ No newline at end of file +## References +This document was adapted from the open-source contribution guidelines for [Facebook's Draft](https://github.com/facebook/draft-js/blob/master/CONTRIBUTING.md). \ No newline at end of file From 330d0941479faab389aab1a48c17f3895a4f0ace Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Tue, 9 Apr 2024 18:18:42 +0200 Subject: [PATCH 12/17] ci: update of files from global .github repo (#980) --- .github/workflows/if-nodejs-pr-testing.yml | 24 ++++++++--------- .github/workflows/if-nodejs-release.yml | 31 ++++++++++------------ 2 files changed, 26 insertions(+), 29 deletions(-) diff --git a/.github/workflows/if-nodejs-pr-testing.yml b/.github/workflows/if-nodejs-pr-testing.yml index 73a2af5c2..66ea65528 100644 --- a/.github/workflows/if-nodejs-pr-testing.yml +++ b/.github/workflows/if-nodejs-pr-testing.yml @@ -39,9 +39,10 @@ jobs: run: | git config --global core.autocrlf false git config --global core.eol lf + shell: bash - if: steps.should_run.outputs.shouldrun == 'true' name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - if: steps.should_run.outputs.shouldrun == 'true' name: Check if Node.js project and has package.json id: packagejson @@ -53,27 +54,26 @@ jobs: id: lockversion - if: steps.packagejson.outputs.exists == 'true' name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "${{ steps.lockversion.outputs.version }}" - cache: 'npm' - cache-dependency-path: '**/package-lock.json' + - if: steps.lockversion.outputs.version == '18' && matrix.os == 'windows-latest' + #npm cli 10 is buggy because of some cache issue + name: Install npm cli 8 + shell: bash + run: npm install -g npm@8.19.4 - if: steps.packagejson.outputs.exists == 'true' name: Install dependencies - id: first-installation + shell: bash run: npm ci - continue-on-error: true - - if: steps.first-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' - name: Clear NPM cache and install deps again - run: | - npm cache clean --force - npm ci - if: steps.packagejson.outputs.exists == 'true' name: Test run: npm test --if-present - - if: steps.packagejson.outputs.exists == 'true' + - if: steps.packagejson.outputs.exists == 'true' && matrix.os == 'ubuntu-latest' + #linting should run just one and not on all possible operating systems name: Run linter run: npm run lint --if-present - if: steps.packagejson.outputs.exists == 'true' name: Run release assets generation to make sure PR does not break it + shell: bash run: npm run generate:assets --if-present diff --git a/.github/workflows/if-nodejs-release.yml b/.github/workflows/if-nodejs-release.yml index f407e59ae..234c5a9c5 100644 --- a/.github/workflows/if-nodejs-release.yml +++ b/.github/workflows/if-nodejs-release.yml @@ -38,8 +38,9 @@ jobs: run: | git config --global core.autocrlf false git config --global core.eol lf + shell: bash - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check if Node.js project and has package.json id: packagejson run: test -e ./package.json && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT @@ -50,14 +51,18 @@ jobs: id: lockversion - if: steps.packagejson.outputs.exists == 'true' name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "${{ steps.lockversion.outputs.version }}" - cache: 'npm' - cache-dependency-path: '**/package-lock.json' + - if: steps.lockversion.outputs.version == '18' && matrix.os == 'windows-latest' + name: Install npm cli 8 + shell: bash + #npm cli 10 is buggy because of some cache issues + run: npm install -g npm@8.19.4 - if: steps.packagejson.outputs.exists == 'true' name: Install dependencies - run: npm install + shell: bash + run: npm ci - if: steps.packagejson.outputs.exists == 'true' name: Run test run: npm test --if-present @@ -81,7 +86,7 @@ jobs: git config --global core.autocrlf false git config --global core.eol lf - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check if Node.js project and has package.json id: packagejson run: test -e ./package.json && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT @@ -92,21 +97,13 @@ jobs: id: lockversion - if: steps.packagejson.outputs.exists == 'true' name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "${{ steps.lockversion.outputs.version }}" - cache: 'npm' - cache-dependency-path: '**/package-lock.json' - if: steps.packagejson.outputs.exists == 'true' name: Install dependencies - id: first-installation + shell: bash run: npm ci - continue-on-error: true - - if: steps.first-installation.outcome != 'success' && steps.packagejson.outputs.exists == 'true' - name: Clear NPM cache and install deps again - run: | - npm cache clean --force - npm ci - if: steps.packagejson.outputs.exists == 'true' name: Add plugin for conventional commits for semantic-release run: npm install --save-dev conventional-changelog-conventionalcommits@5.0.0 @@ -131,4 +128,4 @@ jobs: fields: repo,action,workflow text: 'Release workflow failed in release job' env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_FAIL_NOTIFY }} + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CI_FAIL_NOTIFY }} \ No newline at end of file From 927cc617b68a90916176b544b850a9348e3c251b Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Tue, 9 Apr 2024 18:34:18 +0200 Subject: [PATCH 13/17] ci: update of files from global .github repo (#981) --- .github/workflows/bump.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml index dff50cfaa..1e17ccf2d 100644 --- a/.github/workflows/bump.yml +++ b/.github/workflows/bump.yml @@ -26,9 +26,10 @@ jobs: run: test -e ./package.json && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT - if: steps.packagejson.outputs.exists == 'true' name: Bumping latest version of this package in other repositories - uses: derberg/npm-dependency-manager-for-your-github-org@3df56be95bcaa5c76a9c9a4af863ab151545b649 # using v6.-.- https://github.com/derberg/npm-dependency-manager-for-your-github-org/releases/tag/v6 + uses: derberg/npm-dependency-manager-for-your-github-org@1eafd3bf3974f21d395c1abac855cb04b295d570 # using v6.-.- https://github.com/derberg/npm-dependency-manager-for-your-github-org/releases/tag/v6 with: github_token: ${{ secrets.GH_TOKEN }} committer_username: asyncapi-bot committer_email: info@asyncapi.io repos_to_ignore: spec,bindings,saunter + custom_id: "dependency update from asyncapi bot" From 82a92f63df7a536ffe0092621e68739c4b3d9cb7 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Mon, 15 Apr 2024 13:02:11 +0200 Subject: [PATCH 14/17] fix: update @asyncapi/parser to 3.0.13 version and others (#982) --- library/package.json | 6 +++--- package-lock.json | 36 ++++++++++++++++++------------------ 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/library/package.json b/library/package.json index 94de5a545..74448adb9 100644 --- a/library/package.json +++ b/library/package.json @@ -68,10 +68,10 @@ "get:version": "echo $npm_package_version" }, "dependencies": { - "@asyncapi/avro-schema-parser": "^3.0.19", + "@asyncapi/avro-schema-parser": "^3.0.21", "@asyncapi/openapi-schema-parser": "^3.0.18", - "@asyncapi/parser": "^3.0.12", - "@asyncapi/protobuf-schema-parser": "^3.2.10", + "@asyncapi/parser": "^3.0.13", + "@asyncapi/protobuf-schema-parser": "^3.2.11", "highlight.js": "^10.7.2", "isomorphic-dompurify": "^0.13.0", "marked": "^4.0.14", diff --git a/package-lock.json b/package-lock.json index ee0175e90..02ea4d77d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,10 +35,10 @@ "version": "1.4.5", "license": "Apache-2.0", "dependencies": { - "@asyncapi/avro-schema-parser": "^3.0.19", + "@asyncapi/avro-schema-parser": "^3.0.21", "@asyncapi/openapi-schema-parser": "^3.0.18", - "@asyncapi/parser": "^3.0.12", - "@asyncapi/protobuf-schema-parser": "^3.2.10", + "@asyncapi/parser": "^3.0.13", + "@asyncapi/protobuf-schema-parser": "^3.2.11", "highlight.js": "^10.7.2", "isomorphic-dompurify": "^0.13.0", "marked": "^4.0.14", @@ -241,11 +241,11 @@ } }, "node_modules/@asyncapi/avro-schema-parser": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.19.tgz", - "integrity": "sha512-1+qwxeAbSpp2OQw1TkjWemS7v646lSVM2RMJzDAh5qP5w33hM2xLXcuYC2O72l2AbCl4bkRfXTjTWLLq8qiPAA==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.21.tgz", + "integrity": "sha512-ybHSI5yLWm/10BK8DEUrpecHP6JX8GgFzCbM3oRnohyTc27eWXXA0GRIhAJtb3FvqgG1GuuWvZH+jAlUuSJBMg==", "dependencies": { - "@asyncapi/parser": "^3.0.11", + "@asyncapi/parser": "^3.0.13", "@types/json-schema": "^7.0.11", "avsc": "^5.7.6" } @@ -263,11 +263,11 @@ } }, "node_modules/@asyncapi/parser": { - "version": "3.0.12", - "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.12.tgz", - "integrity": "sha512-F46FSg6XZDy8LSE0U8MnK0JsvRdDXN2XwE/prewr6d+JE1DNR7fwYAFty7SNh2Ym04D5G+YHZEm2QbbzOsrbsQ==", + "version": "3.0.13", + "resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.13.tgz", + "integrity": "sha512-ULNVAsfdLJJJeBDCAWGfleEzmkKJCWcZaYzhTIrqccJa6yZvWrMPLGMYhJhBkdczDxjtdi0iqMmxEy2GC36mUA==", "dependencies": { - "@asyncapi/specs": "^6.5.5", + "@asyncapi/specs": "^6.5.6", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "@stoplight/json": "^3.20.2", "@stoplight/json-ref-readers": "^1.2.2", @@ -289,11 +289,11 @@ } }, "node_modules/@asyncapi/protobuf-schema-parser": { - "version": "3.2.10", - "resolved": "https://registry.npmjs.org/@asyncapi/protobuf-schema-parser/-/protobuf-schema-parser-3.2.10.tgz", - "integrity": "sha512-k/+W3cTXy1JgUN5QEXV8MsIBwO7iGoxWLgLqyFY3qwEPLwBbydYxS9DLoo+0hI8jV70sInmnI7DLSUKQNEoK9g==", + "version": "3.2.11", + "resolved": "https://registry.npmjs.org/@asyncapi/protobuf-schema-parser/-/protobuf-schema-parser-3.2.11.tgz", + "integrity": "sha512-zmN5Rb4OMuTKCFi1qWG2x+Q7gwk622jVRu3biAisHNjvJn80GtQwXB66tJ2FGhSfd9OcreU8sEfDKf+KzjqMAA==", "dependencies": { - "@asyncapi/parser": "^3.0.12", + "@asyncapi/parser": "^3.0.13", "@types/protocol-buffers-schema": "^3.4.1", "protobufjs": "^7.2.6" } @@ -303,9 +303,9 @@ "link": true }, "node_modules/@asyncapi/specs": { - "version": "6.5.5", - "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.5.5.tgz", - "integrity": "sha512-5uPO22ZsLjh6ZdSHF/wROogOaA3BlYUOQqBf5+hdBbXXj/jIHJWHTYSLWCvws7DQM0++tHslFZ+xWbURTc927w==", + "version": "6.5.6", + "resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-6.5.6.tgz", + "integrity": "sha512-TI3OIY0UFf7wPyjV9GjKqL6C4YJ0xOJ7wX33sxVqCf0XXIq4otGHa1XiBcCUAgdbMlO7b8jsFRxuUsVXCsYDVQ==", "dependencies": { "@types/json-schema": "^7.0.11" } From 68ea4f6820110326b8c57f0a194ec2c345094ba0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 13:11:10 +0200 Subject: [PATCH 15/17] chore(deps-dev): bump postcss from 7.0.39 to 8.4.38 (#983) --- package-lock.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index 02ea4d77d..e94e04138 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20173,9 +20173,9 @@ } }, "node_modules/postcss": { - "version": "8.4.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.35.tgz", - "integrity": "sha512-u5U8qYpBCpN13BsiEB0CbR1Hhh4Gc0zLFuedrHJKMctHCHAGrMdG0PRM/KErzAL3CU6/eckEtmHNB3x6e3c0vA==", + "version": "8.4.38", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.38.tgz", + "integrity": "sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A==", "dev": true, "funding": [ { @@ -20194,7 +20194,7 @@ "dependencies": { "nanoid": "^3.3.7", "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" + "source-map-js": "^1.2.0" }, "engines": { "node": "^10 || ^12 || >=14" @@ -24065,9 +24065,9 @@ } }, "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.0.tgz", + "integrity": "sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==", "engines": { "node": ">=0.10.0" } From b19e4d1318ee2dd6a6fcfbb4f35934d3ea1061bd Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Mon, 15 Apr 2024 13:48:56 +0200 Subject: [PATCH 16/17] fix: update @asyncapi/openapi-schema-parser to 3.0.21 version and others (#984) --- library/package.json | 2 +- package-lock.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/library/package.json b/library/package.json index 74448adb9..72fbf7ddc 100644 --- a/library/package.json +++ b/library/package.json @@ -69,7 +69,7 @@ }, "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.21", - "@asyncapi/openapi-schema-parser": "^3.0.18", + "@asyncapi/openapi-schema-parser": "^3.0.21", "@asyncapi/parser": "^3.0.13", "@asyncapi/protobuf-schema-parser": "^3.2.11", "highlight.js": "^10.7.2", diff --git a/package-lock.json b/package-lock.json index e94e04138..12cf732d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "license": "Apache-2.0", "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.21", - "@asyncapi/openapi-schema-parser": "^3.0.18", + "@asyncapi/openapi-schema-parser": "^3.0.21", "@asyncapi/parser": "^3.0.13", "@asyncapi/protobuf-schema-parser": "^3.2.11", "highlight.js": "^10.7.2", @@ -251,11 +251,11 @@ } }, "node_modules/@asyncapi/openapi-schema-parser": { - "version": "3.0.18", - "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.18.tgz", - "integrity": "sha512-azKEwm9wel7QS/Fz0y1C9eCUIfUEZE/JrQlGybPmQKHS213RKyo5Rjpzo9nqGc4VT7o1URDIMaYTnYdgfMitew==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.21.tgz", + "integrity": "sha512-lecylfA49DLTzrSAjFuuj1u8joffgIpX860dISjky0/CqNX408tLTqEhcL/jsGBsbhqNBh5lc4foJQZyWxlNJw==", "dependencies": { - "@asyncapi/parser": "^3.0.10", + "@asyncapi/parser": "^3.0.13", "@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0", "ajv": "^8.11.0", "ajv-errors": "^3.0.0", From 82aa366b5d548de23eb6fa9e1ff3bbe05bb2ae64 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Mon, 15 Apr 2024 14:08:03 +0200 Subject: [PATCH 17/17] chore(release): v1.4.6 (#985) --- library/package.json | 2 +- package-lock.json | 10 +++++----- playground/package.json | 4 ++-- web-component/package.json | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/library/package.json b/library/package.json index 72fbf7ddc..1801834a1 100644 --- a/library/package.json +++ b/library/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/react-component", - "version": "1.4.5", + "version": "1.4.6", "private": false, "description": "A React component for AsyncAPI specification.", "repository": { diff --git a/package-lock.json b/package-lock.json index 12cf732d8..88292bbae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -32,7 +32,7 @@ }, "library": { "name": "@asyncapi/react-component", - "version": "1.4.5", + "version": "1.4.6", "license": "Apache-2.0", "dependencies": { "@asyncapi/avro-schema-parser": "^3.0.21", @@ -27639,9 +27639,9 @@ } }, "playground": { - "version": "1.4.5", + "version": "1.4.6", "dependencies": { - "@asyncapi/react-component": "^1.4.5", + "@asyncapi/react-component": "^1.4.6", "@codemirror/lang-yaml": "^6.0.0", "@uiw/codemirror-theme-material": "^4.21.24", "@uiw/react-codemirror": "^4.21.24", @@ -27854,10 +27854,10 @@ }, "web-component": { "name": "@asyncapi/web-component", - "version": "1.4.5", + "version": "1.4.6", "license": "Apache-2.0", "dependencies": { - "@asyncapi/react-component": "^1.4.5", + "@asyncapi/react-component": "^1.4.6", "react": "^16.8.0", "react-dom": "^16.8.0", "web-react-components": "^1.4.2" diff --git a/playground/package.json b/playground/package.json index d02fafe67..d6e744dc7 100644 --- a/playground/package.json +++ b/playground/package.json @@ -1,6 +1,6 @@ { "name": "playground", - "version": "1.4.5", + "version": "1.4.6", "private": true, "scripts": { "build": "next build && touch out/.nojekyll", @@ -9,7 +9,7 @@ "install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh" }, "dependencies": { - "@asyncapi/react-component": "^1.4.5", + "@asyncapi/react-component": "^1.4.6", "@codemirror/lang-yaml": "^6.0.0", "@uiw/codemirror-theme-material": "^4.21.24", "@uiw/react-codemirror": "^4.21.24", diff --git a/web-component/package.json b/web-component/package.json index 3e4c85c43..b17e5f5e7 100644 --- a/web-component/package.json +++ b/web-component/package.json @@ -1,6 +1,6 @@ { "name": "@asyncapi/web-component", - "version": "1.4.5", + "version": "1.4.6", "private": false, "description": "A web component for AsyncAPI specification. Based on @asyncapi/react-component.", "repository": { @@ -44,7 +44,7 @@ "install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh" }, "dependencies": { - "@asyncapi/react-component": "^1.4.5", + "@asyncapi/react-component": "^1.4.6", "react": "^16.8.0", "react-dom": "^16.8.0", "web-react-components": "^1.4.2"