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

[js] Update all Yarn dependencies (2023-09-20) #1014

Merged
merged 3 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"glob": "^10.3.4",
"jquery": "^3.7.0",
"jstz": "^2.1.1",
"postcss": "^8.4.29",
"postcss": "^8.4.30",
"postcss-css-variables": "^0.19.0",
"postcss-extend-rule": "^4.0.0",
"postcss-import": "^15.1.0",
Expand Down
5 changes: 4 additions & 1 deletion test/controllers/api/open_api_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ class Api::OpenApiControllerTest < Api::Test
puts output if warnings
refute warnings

assert output.include?("Woohoo! Your OpenAPI definition is valid.")
# redocly/openapi-core changed the format of their success message in version 1.2.0.
# https://github.com/Redocly/redocly-cli/pull/1239
# We use a robust regex here so that we can match both formats.
assert output.match?(/Woohoo! Your (Open)?API (definition|description) is valid./)
end
end
5 changes: 4 additions & 1 deletion test/system/super_scaffolding_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ def setup
test "OpenAPI V3 document is still valid" do
visit "http://localhost:3001/api/v1/openapi.yaml"
puts(output = `yarn exec redocly lint http://localhost:3001/api/v1/openapi.yaml 1> /dev/stdout 2> /dev/stdout; rm openapi.yaml`)
assert output.include?("Woohoo! Your OpenAPI definition is valid.")
# redocly/openapi-core changed the format of their success message in version 1.2.0.
# https://github.com/Redocly/redocly-cli/pull/1239
# We use a robust regex here so that we can match both formats.
assert output.match?(/Woohoo! Your (Open)?API (definition|description) is valid./)
end
end
24 changes: 12 additions & 12 deletions yarn.lock

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

Loading