Skip to content

Commit 16ed232

Browse files
authored
chore(deps): pin @redocly/cli to v2.15.1 (#198)
1 parent 35f8521 commit 16ed232

File tree

13 files changed

+508
-498
lines changed

13 files changed

+508
-498
lines changed

package-lock.json

Lines changed: 488 additions & 478 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/jentic-openapi-transformer-redocly/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pip install jentic-openapi-transformer-redocly
2626
The Redocly CLI will be automatically downloaded via npx on first use, or you can install it globally:
2727

2828
```bash
29-
npm install -g @redocly/cli@2.14.3
29+
npm install -g @redocly/cli@2.15.1
3030
```
3131

3232
## Quick Start
@@ -126,7 +126,7 @@ uv run --package jentic-openapi-transformer-redocly pytest packages/jentic-opena
126126
class RedoclyBundlerBackend(BaseBundlerBackend):
127127
def __init__(
128128
self,
129-
redocly_path: str = "npx --yes @redocly/cli@2.14.3",
129+
redocly_path: str = "npx --yes @redocly/cli@2.15.1",
130130
timeout: float = 600.0,
131131
allowed_base_dir: str | Path | None = None,
132132
) -> None

packages/jentic-openapi-transformer-redocly/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"description": "OpenAPI bundler using Redocly CLI for jentic-openapi-tools",
55
"private": true,
66
"dependencies": {
7-
"@redocly/cli": "=2.14.3"
7+
"@redocly/cli": "=2.15.1"
88
}
99
}

packages/jentic-openapi-transformer-redocly/src/jentic/apitools/openapi/transformer/bundler/backends/redocly/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@
1818
class RedoclyBundlerBackend(BaseBundlerBackend):
1919
def __init__(
2020
self,
21-
redocly_path: str = "npx --yes @redocly/cli@2.14.3",
21+
redocly_path: str = "npx --yes @redocly/cli@2.15.1",
2222
timeout: float = 600.0,
2323
allowed_base_dir: str | Path | None = None,
2424
):
2525
"""
2626
Initialize the RedoclyBundler.
2727
2828
Args:
29-
redocly_path: Path to the redocly CLI executable (default: "npx --yes @redocly/cli@2.14.3").
29+
redocly_path: Path to the redocly CLI executable (default: "npx --yes @redocly/cli@2.15.1").
3030
Uses shell-safe parsing to handle quoted arguments properly.
3131
timeout: Maximum time in seconds to wait for Redocly CLI execution (default: 600.0)
3232
allowed_base_dir: Optional base directory for path security validation.

packages/jentic-openapi-transformer-redocly/tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def redocly_cli_available() -> bool:
7979
"""Check if Redocly CLI is available on the system."""
8080
try:
8181
result = subprocess.run(
82-
["npx", "--yes", "@redocly/cli@^2.14.3", "--version"], capture_output=True, timeout=10
82+
["npx", "--yes", "@redocly/cli@2.15.1", "--version"], capture_output=True, timeout=10
8383
)
8484
return result.returncode == 0
8585
except (subprocess.TimeoutExpired, FileNotFoundError):
@@ -98,7 +98,7 @@ def pytest_runtest_setup(item):
9898
if item.get_closest_marker("requires_redocly_cli"):
9999
try:
100100
result = subprocess.run(
101-
["npx", "--yes", "@redocly/cli@^2.14.3", "--version"],
101+
["npx", "--yes", "@redocly/cli@2.15.1", "--version"],
102102
capture_output=True,
103103
timeout=10,
104104
)

packages/jentic-openapi-transformer-redocly/tests/test_redocly_bundle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class TestRedoclyBundlerUnit:
7676
def test_init_with_defaults(self):
7777
"""Test RedoclyBundlerBackend initialization with default values."""
7878
bundler = RedoclyBundlerBackend()
79-
assert bundler.redocly_path == "npx --yes @redocly/cli@2.14.3"
79+
assert bundler.redocly_path == "npx --yes @redocly/cli@2.15.1"
8080
assert bundler.timeout == 600.0
8181

8282
def test_init_with_custom_path(self, redocly_bundler_with_custom_path: RedoclyBundlerBackend):

packages/jentic-openapi-transformer/tests/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def redocly_cli_available() -> bool:
208208
"""Check if Redocly CLI is available on the system."""
209209
try:
210210
result = subprocess.run(
211-
["npx", "--yes", "@redocly/cli@^2.14.3", "--version"], capture_output=True, timeout=10
211+
["npx", "--yes", "@redocly/cli@2.15.1", "--version"], capture_output=True, timeout=10
212212
)
213213
return result.returncode == 0
214214
except (subprocess.TimeoutExpired, FileNotFoundError):
@@ -227,7 +227,7 @@ def pytest_runtest_setup(item):
227227
if item.get_closest_marker("requires_redocly_cli"):
228228
try:
229229
result = subprocess.run(
230-
["npx", "--yes", "@redocly/cli@^2.14.3", "--version"],
230+
["npx", "--yes", "@redocly/cli@2.15.1", "--version"],
231231
capture_output=True,
232232
timeout=10,
233233
)

packages/jentic-openapi-validator-redocly/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ pip install jentic-openapi-validator-redocly
2626
The Redocly CLI will be automatically downloaded via npx on first use, or you can install it globally:
2727

2828
```bash
29-
npm install -g @redocly/cli@2.14.3
29+
npm install -g @redocly/cli@2.15.1
3030
```
3131

3232
## Quick Start
@@ -72,7 +72,7 @@ print(f"Document is valid: {result.valid}")
7272
validator = RedoclyValidatorBackend(redocly_path="/usr/local/bin/redocly")
7373

7474
# Use specific version via npx
75-
validator = RedoclyValidatorBackend(redocly_path="npx --yes @redocly/cli@2.14.3")
75+
validator = RedoclyValidatorBackend(redocly_path="npx --yes @redocly/cli@2.15.1")
7676
```
7777

7878
### Custom Rulesets
@@ -243,7 +243,7 @@ uv run --package jentic-openapi-validator-redocly pytest packages/jentic-openapi
243243
class RedoclyValidatorBackend(BaseValidatorBackend):
244244
def __init__(
245245
self,
246-
redocly_path: str = "npx --yes @redocly/cli@2.14.3",
246+
redocly_path: str = "npx --yes @redocly/cli@2.15.1",
247247
ruleset_path: str | None = None,
248248
timeout: float = 600.0,
249249
allowed_base_dir: str | Path | None = None,

packages/jentic-openapi-validator-redocly/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"description": "OpenAPI validator using Redocly for jentic-openapi-tools",
55
"private": true,
66
"dependencies": {
7-
"@redocly/cli": "=2.14.3"
7+
"@redocly/cli": "=2.15.1"
88
}
99
}

packages/jentic-openapi-validator-redocly/src/jentic/apitools/openapi/validator/backends/redocly/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
class RedoclyValidatorBackend(BaseValidatorBackend):
3535
def __init__(
3636
self,
37-
redocly_path: str = "npx --yes @redocly/cli@2.14.3",
37+
redocly_path: str = "npx --yes @redocly/cli@2.15.1",
3838
ruleset_path: str | None = None,
3939
timeout: float = 600.0,
4040
allowed_base_dir: str | Path | None = None,
@@ -44,7 +44,7 @@ def __init__(
4444
Initialize the RedoclyValidatorBackend.
4545
4646
Args:
47-
redocly_path: Path to the redocly CLI executable (default: "npx --yes @redocly/cli@2.14.3").
47+
redocly_path: Path to the redocly CLI executable (default: "npx --yes @redocly/cli@2.15.1").
4848
Uses shell-safe parsing to handle quoted arguments properly.
4949
ruleset_path: Path to a custom ruleset file. If None, uses bundled default ruleset.
5050
timeout: Maximum time in seconds to wait for Redocly CLI execution (default: 600.0)

0 commit comments

Comments
 (0)