Skip to content

Commit

Permalink
Merge branch 'master' into issue-907-sidebar-broken
Browse files Browse the repository at this point in the history
  • Loading branch information
AceTheCreator authored Oct 17, 2024
2 parents 738ab84 + 4253f29 commit 837bc81
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 19 deletions.
2 changes: 1 addition & 1 deletion library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/react-component",
"version": "2.3.3",
"version": "2.3.4",
"private": false,
"description": "A React component for AsyncAPI specification.",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion library/src/components/Href.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const Href: React.FunctionComponent<Props> = ({
}) => (
<a
href={href}
title={title}
title={title ? `${title} (Opens in new window)` : 'Opens in new window'}
className={className}
target="_blank"
rel="nofollow noopener noreferrer"
Expand Down
14 changes: 2 additions & 12 deletions library/src/helpers/__tests__/schema.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -896,21 +896,11 @@ describe('SchemaHelpers', () => {

test('should not render title because title is undefined', () => {
expect(
SchemaHelpers.applicatorSchemaName(
0,
FIRST_CASE,
OTHER_CASES,
undefined,
),
SchemaHelpers.applicatorSchemaName(0, FIRST_CASE, OTHER_CASES),
).toMatchSnapshot();

expect(
SchemaHelpers.applicatorSchemaName(
1,
FIRST_CASE,
OTHER_CASES,
undefined,
),
SchemaHelpers.applicatorSchemaName(1, FIRST_CASE, OTHER_CASES),
).toMatchSnapshot();
});

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions web-component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/web-component",
"version": "2.3.3",
"version": "2.3.4",
"private": false,
"description": "A web component for AsyncAPI specification. Based on @asyncapi/react-component.",
"repository": {
Expand Down Expand Up @@ -44,7 +44,7 @@
"install:reactcomp": "chmod +x ./bump-react-comp.sh && ./bump-react-comp.sh"
},
"dependencies": {
"@asyncapi/react-component": "^2.3.3",
"@asyncapi/react-component": "^2.3.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"web-react-components": "^1.4.2"
Expand Down

0 comments on commit 837bc81

Please sign in to comment.