Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rebase branch master into next #234

Merged
merged 20 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
2ec4971
fix: add searching for `replyAddresses` component of v3 (#213)
aeworxet Jan 9, 2024
003f495
chore(release): v0.3.1 (#214)
asyncapi-bot Jan 9, 2024
e984a79
chore: remove JSON.stringify() from example code (#215)
aeworxet Jan 16, 2024
b3ec2c5
fix: update @asyncapi/parser to 3.0.3 version (#217)
asyncapi-bot Jan 29, 2024
add3060
chore(release): v0.3.2 (#218)
asyncapi-bot Jan 29, 2024
b7237e5
fix: update @asyncapi/parser to 3.0.4 version (#219)
asyncapi-bot Jan 30, 2024
19b6f11
chore(release): v0.3.3 (#220)
asyncapi-bot Jan 30, 2024
75e19db
fix: update @asyncapi/parser to 3.0.5 version (#221)
asyncapi-bot Feb 4, 2024
e8c9c64
chore(release): v0.3.4 (#222)
asyncapi-bot Feb 4, 2024
95080a2
fix: update @asyncapi/parser to 3.0.6 version (#223)
asyncapi-bot Feb 16, 2024
adfa155
chore(release): v0.3.5 (#224)
asyncapi-bot Feb 16, 2024
9dfb12f
fix: update @asyncapi/parser to 3.0.7 version (#225)
asyncapi-bot Feb 21, 2024
ac2bccb
chore(release): v0.3.6 (#226)
asyncapi-bot Feb 21, 2024
2aaecd5
ci: update of files from global .github repo (#227)
asyncapi-bot Mar 11, 2024
59ce2ff
fix: update @asyncapi/parser to 3.0.8 version (#228)
asyncapi-bot Mar 14, 2024
19871f1
chore(release): v0.3.7 (#229)
asyncapi-bot Mar 14, 2024
1c393e9
fix: update @asyncapi/parser to 3.0.9 version (#230)
asyncapi-bot Mar 14, 2024
8920f98
chore(release): v0.3.8 (#231)
asyncapi-bot Mar 14, 2024
beac12e
fix: update @asyncapi/parser to 3.0.10 version (#232)
asyncapi-bot Mar 14, 2024
4a20ce7
chore(release): v0.3.9 (#233)
asyncapi-bot Mar 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ 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@26a4f13d740254719971325046822a169aaa7441 # using v5.-.- https://github.com/derberg/npm-dependency-manager-for-your-github-org/releases/tag/v5.0.0
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
with:
github_token: ${{ secrets.GH_TOKEN }}
committer_username: asyncapi-bot
committer_email: info@asyncapi.io
repos_to_ignore: spec,bindings
repos_to_ignore: spec,bindings,saunter
2 changes: 1 addition & 1 deletion examples/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { Optimizer } = require('../lib/Optimizer')
const input = require('fs').readFileSync('./examples/input.yaml', 'utf8')
const optimizer = new Optimizer(input)
optimizer.getReport().then((report) => {
console.log(JSON.stringify(report))
console.log(report)
const optimizedDocument = optimizer.getOptimizedDocument({
output: 'YAML',
rules: {
Expand Down
34 changes: 17 additions & 17 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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@asyncapi/optimizer",
"version": "0.3.0",
"version": "0.3.9",
"description": "This library will optimize the AsyncAPI specification file.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down Expand Up @@ -56,7 +56,7 @@
"access": "public"
},
"dependencies": {
"@asyncapi/parser": "^3.0.2",
"@asyncapi/parser": "^3.0.10",
"@types/debug": "^4.1.8",
"debug": "^4.3.4",
"js-yaml": "^4.1.0",
Expand Down
1 change: 1 addition & 0 deletions src/ComponentProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ export const getOptimizableComponents = (
parameters: getAllComponents('parameters'),
correlationIds: getAllComponents('correlationIds'),
replies: getAllComponents('replies'),
replyAddresses: getAllComponents('replyAddresses'),
externalDocs: getAllComponents('externalDocs'),
tags: getAllComponents('tags'),
operationTraits: getAllComponents('operationTraits'),
Expand Down
Loading