@redocly/revel 0.141.0-next.7 → 0.141.0-next.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @redocly/revel
|
|
2
2
|
|
|
3
|
+
## 0.141.0-next.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ef4b5acde6b: Fixed security vulnerabilities `CVE-2026-126355`, `CVE-2026-126356`, `CVE-2026-126357`, `CVE-2026-126358` and `CVE-2026-126359` by upgrading `hono` to version `4.13.18`.
|
|
8
|
+
- eb7c2577b5c: Updated `@redocly/openapi-core` to version `2.78.0`.
|
|
9
|
+
- e2f013813c6: Fixed an issue where **Copy for LLM**, **View as Markdown**, **Open in ChatGPT**, **Open in Claude**, and **Open in Grok** page actions were displayed and failed on pages without a Markdown copy.
|
|
10
|
+
- Updated dependencies [27c9c56babc]
|
|
11
|
+
- Updated dependencies [eb7c2577b5c]
|
|
12
|
+
- Updated dependencies [457d1e5a3e2]
|
|
13
|
+
- Updated dependencies [e2f013813c6]
|
|
14
|
+
- Updated dependencies [1b5009c48c7]
|
|
15
|
+
- @redocly/api-docs@0.6.0-next.8
|
|
16
|
+
- @redocly/theme@0.73.0-next.4
|
|
17
|
+
- @redocly/realm-asyncapi-sdk@0.18.0-next.1
|
|
18
|
+
- @redocly/portal-plugin-mock-server@0.26.0-next.2
|
|
19
|
+
|
|
3
20
|
## 0.141.0-next.7
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import*as
|
|
1
|
+
import*as f from"workerpool";import{withPathPrefix as g}from"@redocly/theme/core/utils";import{envConfig as m}from"../config/env-config.js";import{telemetry as a}from"../telemetry/index.js";import{TimeoutExceededError as E}from"./errors/timeout-exceeded.js";import{serializeRequest as S}from"./helpers/serialize-request.js";import{apiRoutesWorkers as A,API_ROUTES_WORKER_KEY as T}from"../workers/api-routes-worker-pool.js";import{API_FUNCTIONS_REQUEST_HANDLER_ID as u}from"../plugins/api-functions/index.js";import{toWorkerConfig as h}from"../workers/worker-config.js";const R=1e4,M=15;async function U(e,r,i){a.initialize();const t=r.get("auth"),s=await i.resolveRouteStaticData(e)||{},c=g(e.slug);try{const{status:o,headers:p,body:n}=await A.exec(T,[{serverOutDir:i.serverOutDir,slug:c,requestHandlerId:e.requestHandlerId,maxResponseSizeMB:e.maxResponseSizeMB??M,ctxData:{user:{teams:t.teams,email:t.claims.email,claims:t.claims,idpAccessToken:t.idpAccessToken,idpId:t.claims.idpId,isAuthenticated:t.isAuthenticated},config:h(i.config,i.configFile),outdir:i.outdir,baseUrl:new URL(r.req.url).origin},staticData:{...s,props:{...s.props,routeSlug:c,outdir:i.outdir}},req:await S(r.req.raw),sqldRemoteDatabaseUrl:m.SQLD_REMOTE_DATABASE_URL,sqldRemoteDatabaseAuthToken:m.SQLD_REMOTE_DATABASE_AUTH_TOKEN}],{timeout:e.timeoutMs??R});_({requestHandlerId:e.requestHandlerId,status:o,ctx:r,body:n});const d=n.data?Buffer.from(n.data):null;return new Response(d,{status:o,headers:p})}catch(o){throw l({requestHandlerId:e.requestHandlerId,error:o}),o instanceof f.Promise.TimeoutError?new E("Timeout exceeded"):o}}function _({requestHandlerId:e,status:r,ctx:i,body:t}){e.startsWith(u)?a.sendApiFunctionCalledMessage([{id:"apiFunctionId",object:"apiFunction",uri:"urn:redocly:realm:api:apiFunction:apiFunctionId",handler:e,status:r,message:null}]):(a.sendMockServerCalledMessage([{id:e,object:"mockServer",uri:`urn:redocly:realm:api:mockServer:${e}`,error:null,handler:e,headers:{"user-agent":i.req.header("user-agent")??null},status:r}]),r>=500&&l({requestHandlerId:e,error:new Error(D(t))}))}function D(e){const r=e.data?Buffer.from(e.data).toString("utf8"):"",i=r.slice(0,1e3)||"Empty 5xx response";try{const{message:t}=JSON.parse(r);return typeof t=="string"?t:i}catch{return i}}function l({requestHandlerId:e,error:r}){e.startsWith(u)?a.sendApiFunctionErrorMessage([{id:"apiFunctionId",object:"apiFunction",uri:"urn:redocly:realm:api:apiFunction:apiFunctionId",status:500,handler:e,message:r.message}]):a.sendMockServerErrorMessage([{id:e,object:"mockServer",uri:`urn:redocly:realm:api:mockServer:${e}`,handler:e,message:r.message}])}export{U as runApiRoutesWorker,l as sendTelemetryErrorMessage};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/revel",
|
|
3
|
-
"version": "0.141.0-next.
|
|
3
|
+
"version": "0.141.0-next.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@hono/zod-validator": "0.8.0",
|
|
21
21
|
"@jitl/quickjs-singlefile-mjs-release-sync": "0.32.0",
|
|
22
22
|
"@libsql/client": "0.17.3",
|
|
23
|
-
"@markdoc/markdoc": "npm:@redocly/markdoc@0.7.
|
|
23
|
+
"@markdoc/markdoc": "npm:@redocly/markdoc@0.7.1",
|
|
24
24
|
"@modelcontextprotocol/server": "2.3.1",
|
|
25
25
|
"@opentelemetry/api": "1.9.1",
|
|
26
26
|
"@opentelemetry/context-zone": "2.0.1",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"@opentelemetry/sdk-trace-web": "2.8.0",
|
|
34
34
|
"@opentelemetry/semantic-conventions": "1.40.0",
|
|
35
35
|
"@redocly/ajv": "8.18.0",
|
|
36
|
-
"@redocly/api-docs": "0.6.0-next.
|
|
36
|
+
"@redocly/api-docs": "0.6.0-next.8",
|
|
37
37
|
"@redocly/config": "0.74.0",
|
|
38
|
-
"@redocly/markdoc": "0.7.
|
|
39
|
-
"@redocly/openapi-core": "2.
|
|
38
|
+
"@redocly/markdoc": "0.7.1",
|
|
39
|
+
"@redocly/openapi-core": "2.78.0",
|
|
40
40
|
"@redocly/portal-legacy-ui": "0.19.0",
|
|
41
|
-
"@redocly/portal-plugin-mock-server": "0.26.0-next.
|
|
42
|
-
"@redocly/realm-asyncapi-sdk": "0.18.0-next.
|
|
43
|
-
"@redocly/theme": "0.73.0-next.
|
|
41
|
+
"@redocly/portal-plugin-mock-server": "0.26.0-next.2",
|
|
42
|
+
"@redocly/realm-asyncapi-sdk": "0.18.0-next.1",
|
|
43
|
+
"@redocly/theme": "0.73.0-next.4",
|
|
44
44
|
"@shikijs/transformers": "3.21.0",
|
|
45
45
|
"@tanstack/react-query": "5.62.3",
|
|
46
46
|
"@tanstack/react-table": "8.21.3",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"fflate": "0.7.5",
|
|
63
63
|
"flexsearch": "0.7.43",
|
|
64
64
|
"graphql": "16.14.2",
|
|
65
|
-
"hono": "4.13.
|
|
65
|
+
"hono": "4.13.18",
|
|
66
66
|
"i18next": "22.4.15",
|
|
67
67
|
"is-glob": "4.0.3",
|
|
68
68
|
"js-yaml": "4.3.2",
|