executor 1.1.1 → 1.1.2
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/bin/executor.mjs +5 -1
- package/package.json +1 -1
- package/resources/web/assets/{highlighted-body-TPN3WLV5-Bp60oMTV.js → highlighted-body-TPN3WLV5-ujAFxVWb.js} +1 -1
- package/resources/web/assets/{index-DD-vWr1W.js → index-i5je4_fY.js} +2 -2
- package/resources/web/assets/{mermaid-O7DHMXV3-BA_ilq_v.js → mermaid-O7DHMXV3-BFM3xgSf.js} +20 -20
- package/resources/web/index.html +1 -1
package/bin/executor.mjs
CHANGED
|
@@ -203921,9 +203921,13 @@ var invokeGraphqlHttpRequest = (input) => gen2(function* () {
|
|
|
203921
203921
|
try: () => parseGraphqlResponseBody(response),
|
|
203922
203922
|
catch: (cause2) => graphqlToolError(`Failed decoding GraphQL response for ${input.path}`, cause2)
|
|
203923
203923
|
});
|
|
203924
|
+
const responseHeaders = {};
|
|
203925
|
+
response.headers.forEach((value6, key) => {
|
|
203926
|
+
responseHeaders[key] = value6;
|
|
203927
|
+
});
|
|
203924
203928
|
return {
|
|
203925
203929
|
status: response.status,
|
|
203926
|
-
headers: sanitizeResponseHeaders2(
|
|
203930
|
+
headers: sanitizeResponseHeaders2(responseHeaders),
|
|
203927
203931
|
body: body2,
|
|
203928
203932
|
isError: response.status >= 400 || hasGraphqlErrors(body2)
|
|
203929
203933
|
};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,R as c,M as p,B as x}from"./mermaid-O7DHMXV3-
|
|
1
|
+
import{r,R as c,M as p,B as x}from"./mermaid-O7DHMXV3-BFM3xgSf.js";import{j as d}from"./index-CRuElBS1.js";var R=({code:i,language:e,raw:t,className:g,startLine:u,...m})=>{let{shikiTheme:o}=r.useContext(c),a=p(),[n,s]=r.useState(t);return r.useEffect(()=>{if(!a){s(t);return}let l=a.highlight({code:i,language:e,themes:o},h=>{s(h)});l&&s(l)},[i,e,o,a,t]),d.jsx(x,{className:g,language:e,result:n,startLine:u,...m})};export{R as HighlightedCodeBlockBody};
|