stepzen-graphiql 1.0.9 → 1.1.1
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/README.md +2 -0
- package/dist/{SchemaReference-D_Mm8n0P.js → SchemaReference-CydbnVnE.js} +1 -1
- package/dist/{SchemaReference-C1CvCBII.mjs → SchemaReference-O1hfpXGp.mjs} +1 -1
- package/dist/{brace-fold-CzNb2jBd.js → brace-fold-DyEDA6CJ.js} +1 -1
- package/dist/{brace-fold-CfbCm-ya.mjs → brace-fold-VxazhuKh.mjs} +1 -1
- package/dist/{closebrackets-D-_zPnV6.mjs → closebrackets-C6N5hS39.mjs} +1 -1
- package/dist/{closebrackets-Y4QJk5tc.js → closebrackets-DMYkULjQ.js} +1 -1
- package/dist/{codemirror-BqGFn5SG.js → codemirror-Bwb2chlF.js} +1 -1
- package/dist/{codemirror-DYvERIYG.mjs → codemirror-DbwC_74X.mjs} +1 -1
- package/dist/{comment-DPVOtsPg.js → comment-CDLzhS51.js} +1 -1
- package/dist/{comment-Dj3eYK9p.mjs → comment-CzVlHM6d.mjs} +1 -1
- package/dist/components/ExplorerPage/GraphiQLInterface.d.ts +7 -0
- package/dist/{dialog-Ce6CQDC_.mjs → dialog-C0BPcCAi.mjs} +1 -1
- package/dist/{dialog-DsVw5fS1.js → dialog-DrBkm28M.js} +1 -1
- package/dist/{foldgutter-B42TmwLm.js → foldgutter-Eh4fmEpu.js} +1 -1
- package/dist/{foldgutter-CZ2N0unJ.mjs → foldgutter-XixtzY3e.mjs} +1 -1
- package/dist/{hint-CBTuzMWu.mjs → hint-C6iKCiWs.mjs} +2 -2
- package/dist/{hint-mpLK6Mle.mjs → hint-CRHfHd6k.mjs} +3 -3
- package/dist/{hint-leXMCU-E.js → hint-RRteRYU_.js} +1 -1
- package/dist/{hint-BPsRByqe.js → hint-ZTEkOyYz.js} +1 -1
- package/dist/{index-Cz9Crors.mjs → index-6jtnIESt.mjs} +1 -1
- package/dist/{index-Bt7cR6NI.js → index-BTS4gVUq.js} +1 -1
- package/dist/{index-Czvzlpb8.mjs → index-CynXcDPm.mjs} +15884 -15938
- package/dist/{index--VrRbstT.js → index-DM1lKT7q.js} +144 -144
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-BZokXK3t.js → info-1h1Wnj43.js} +1 -1
- package/dist/{info-Cjg1-fNV.mjs → info-DCUSOSGO.mjs} +4 -4
- package/dist/{info-addon-CzkwlDU9.js → info-addon-D6_XkhXs.js} +1 -1
- package/dist/{info-addon-1EpWjB4y.mjs → info-addon-dOV-oaRO.mjs} +1 -1
- package/dist/{javascript-B2qJi58q.js → javascript-DoKETRRz.js} +1 -1
- package/dist/{javascript-DRe8vORy.mjs → javascript-kgCqVo2K.mjs} +1 -1
- package/dist/{jsx-C6WQihQ6.js → jsx-Br1KTZ3o.js} +1 -1
- package/dist/{jsx-BW_3ZVcY.mjs → jsx-CVvU4VUC.mjs} +1 -1
- package/dist/{jump-CH-6LsM2.mjs → jump-CrXdo65d.mjs} +2 -2
- package/dist/{jump-BXef099X.js → jump-DvkPgRZo.js} +1 -1
- package/dist/{jump-to-line-EOHCg4-Z.mjs → jump-to-line-BWATzicH.mjs} +1 -1
- package/dist/{jump-to-line-Bi4rmvMn.js → jump-to-line-CE2wxrEi.js} +1 -1
- package/dist/{lint-DdJxK0GT.js → lint-B1RIjMr0.js} +1 -1
- package/dist/{lint-DmxKCpsr.js → lint-Btrvaf_v.js} +1 -1
- package/dist/{lint-WRLUVbEB.mjs → lint-C8fud_0s.mjs} +1 -1
- package/dist/{lint-DYvJBq15.mjs → lint-ClGdTXL8.mjs} +2 -2
- package/dist/{lint-gKLxlkrz.mjs → lint-DT_KvN7d.mjs} +2 -2
- package/dist/{lint-zfC3ybdS.js → lint-WtS5wt-s.js} +1 -1
- package/dist/{matchbrackets-rUwzeHJc.js → matchbrackets-BSYDJrIg.js} +1 -1
- package/dist/{matchbrackets-CjC7GHXb.mjs → matchbrackets-Cos6B9A-.mjs} +1 -1
- package/dist/{mode-CnCnFHv5.js → mode-BlJM7Q7P.js} +1 -1
- package/dist/{mode-Cd8t9r7W.mjs → mode-CGRPiW5J.mjs} +2 -2
- package/dist/{mode-CUjxRD1A.js → mode-Cr6Z6hG2.js} +1 -1
- package/dist/{mode-CEan0FDs.js → mode-DMY17Or5.js} +1 -1
- package/dist/{mode-B6-MCoGi.mjs → mode-Zx7fS07W.mjs} +2 -2
- package/dist/{mode-BAYdH3sq.mjs → mode-wRqtpzbQ.mjs} +2 -2
- package/dist/{search-BjqvUwT0.js → search--Q4DMDfT.js} +1 -1
- package/dist/{search-cGZk2IoY.mjs → search-BWMDd4W2.mjs} +1 -1
- package/dist/{searchcursor-DwGtcXwh.mjs → searchcursor-BedgzfnY.mjs} +1 -1
- package/dist/{searchcursor-BAHJZHCY.js → searchcursor-DqZJR721.js} +1 -1
- package/dist/{show-hint-CW5Ms495.mjs → show-hint-C0O92_Ta.mjs} +1 -1
- package/dist/{show-hint-DAT7rKPE.js → show-hint-CAVLRDzW.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{sublime-C2qThti2.mjs → sublime-01HyEJv3.mjs} +1 -1
- package/dist/{sublime-DQV8kJA6.js → sublime-cIQo_I6y.js} +1 -1
- package/dist/types/config.d.ts +6 -0
- package/package.json +4 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const _=require("./index
|
|
1
|
+
"use strict";const _=require("./index-DM1lKT7q.js"),Y=require("./codemirror-DMBo1i5w.js"),z=require("./searchcursor-eGwb3e2h.js"),J=require("./matchbrackets-DPv_MB7c.js");function G(w,A){for(var h=0;h<A.length;h++){const a=A[h];if(typeof a!="string"&&!Array.isArray(a)){for(const f in a)if(f!=="default"&&!(f in w)){const b=Object.getOwnPropertyDescriptor(a,f);b&&Object.defineProperty(w,f,b.get?b:{enumerable:!0,get:()=>a[f]})}}}return Object.freeze(Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}))}var q={exports:{}},M;function Q(){return M||(M=1,function(w,A){(function(h){h(Y.requireCodemirror(),z.requireSearchcursor(),J.requireMatchbrackets())})(function(h){var a=h.commands,f=h.Pos;function b(e,t,n){if(n<0&&t.ch==0)return e.clipPos(f(t.line-1));var r=e.getLine(t.line);if(n>0&&t.ch>=r.length)return e.clipPos(f(t.line+1,0));for(var l="start",i,o=t.ch,s=o,u=n<0?0:r.length,d=0;s!=u;s+=n,d++){var p=r.charAt(n<0?s-1:s),c=p!="_"&&h.isWordChar(p)?"w":"o";if(c=="w"&&p.toUpperCase()==p&&(c="W"),l=="start")c!="o"?(l="in",i=c):o=s+n;else if(l=="in"&&i!=c){if(i=="w"&&c=="W"&&n<0&&s--,i=="W"&&c=="w"&&n>0)if(s==o+1){i="w";continue}else s--;break}}return f(t.line,s)}function K(e,t){e.extendSelectionsBy(function(n){return e.display.shift||e.doc.extend||n.empty()?b(e.doc,n.head,t):t<0?n.from():n.to()})}a.goSubwordLeft=function(e){K(e,-1)},a.goSubwordRight=function(e){K(e,1)},a.scrollLineUp=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top+t.clientHeight,"local");e.getCursor().line>=n&&e.execCommand("goLineUp")}e.scrollTo(null,t.top-e.defaultTextHeight())},a.scrollLineDown=function(e){var t=e.getScrollInfo();if(!e.somethingSelected()){var n=e.lineAtHeight(t.top,"local")+1;e.getCursor().line<=n&&e.execCommand("goLineDown")}e.scrollTo(null,t.top+e.defaultTextHeight())},a.splitSelectionByLine=function(e){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++)for(var l=t[r].from(),i=t[r].to(),o=l.line;o<=i.line;++o)i.line>l.line&&o==i.line&&i.ch==0||n.push({anchor:o==l.line?l:f(o,0),head:o==i.line?i:f(o)});e.setSelections(n,0)},a.singleSelectionTop=function(e){var t=e.listSelections()[0];e.setSelection(t.anchor,t.head,{scroll:!1})},a.selectLine=function(e){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++){var l=t[r];n.push({anchor:f(l.from().line,0),head:f(l.to().line+1,0)})}e.setSelections(n)};function F(e,t){if(e.isReadOnly())return h.Pass;e.operation(function(){for(var n=e.listSelections().length,r=[],l=-1,i=0;i<n;i++){var o=e.listSelections()[i].head;if(!(o.line<=l)){var s=f(o.line+(t?0:1),0);e.replaceRange(`
|
|
2
2
|
`,s,null,"+insertLine"),e.indentLine(s.line,null,!0),r.push({head:s,anchor:s}),l=o.line+1}}e.setSelections(r)}),e.execCommand("indentAuto")}a.insertLineAfter=function(e){return F(e,!1)},a.insertLineBefore=function(e){return F(e,!0)};function R(e,t){for(var n=t.ch,r=n,l=e.getLine(t.line);n&&h.isWordChar(l.charAt(n-1));)--n;for(;r<l.length&&h.isWordChar(l.charAt(r));)++r;return{from:f(t.line,n),to:f(t.line,r),word:l.slice(n,r)}}a.selectNextOccurrence=function(e){var t=e.getCursor("from"),n=e.getCursor("to"),r=e.state.sublimeFindFullWord==e.doc.sel;if(h.cmpPos(t,n)==0){var l=R(e,t);if(!l.word)return;e.setSelection(l.from,l.to),r=!0}else{var i=e.getRange(t,n),o=r?new RegExp("\\b"+i+"\\b"):i,s=e.getSearchCursor(o,n),u=s.findNext();if(u||(s=e.getSearchCursor(o,f(e.firstLine(),0)),u=s.findNext()),!u||H(e.listSelections(),s.from(),s.to()))return;e.addSelection(s.from(),s.to())}r&&(e.state.sublimeFindFullWord=e.doc.sel)},a.skipAndSelectNextOccurrence=function(e){var t=e.getCursor("anchor"),n=e.getCursor("head");a.selectNextOccurrence(e),h.cmpPos(t,n)!=0&&e.doc.setSelections(e.doc.listSelections().filter(function(r){return r.anchor!=t||r.head!=n}))};function T(e,t){for(var n=e.listSelections(),r=[],l=0;l<n.length;l++){var i=n[l],o=e.findPosV(i.anchor,t,"line",i.anchor.goalColumn),s=e.findPosV(i.head,t,"line",i.head.goalColumn);o.goalColumn=i.anchor.goalColumn!=null?i.anchor.goalColumn:e.cursorCoords(i.anchor,"div").left,s.goalColumn=i.head.goalColumn!=null?i.head.goalColumn:e.cursorCoords(i.head,"div").left;var u={anchor:o,head:s};r.push(i),r.push(u)}e.setSelections(r)}a.addCursorToPrevLine=function(e){T(e,-1)},a.addCursorToNextLine=function(e){T(e,1)};function H(e,t,n){for(var r=0;r<e.length;r++)if(h.cmpPos(e[r].from(),t)==0&&h.cmpPos(e[r].to(),n)==0)return!0;return!1}var y="(){}[]";function P(e){for(var t=e.listSelections(),n=[],r=0;r<t.length;r++){var l=t[r],i=l.head,o=e.scanForBracket(i,-1);if(!o)return!1;for(;;){var s=e.scanForBracket(i,1);if(!s)return!1;if(s.ch==y.charAt(y.indexOf(o.ch)+1)){var u=f(o.pos.line,o.pos.ch+1);if(h.cmpPos(u,l.from())==0&&h.cmpPos(s.pos,l.to())==0){if(o=e.scanForBracket(o.pos,-1),!o)return!1}else{n.push({anchor:u,head:s.pos});break}}i=f(s.pos.line,s.pos.ch+1)}}return e.setSelections(n),!0}a.selectScope=function(e){P(e)||e.execCommand("selectAll")},a.selectBetweenBrackets=function(e){if(!P(e))return h.Pass};function U(e){return e?/\bpunctuation\b/.test(e)?e:void 0:null}a.goToBracket=function(e){e.extendSelectionsBy(function(t){var n=e.scanForBracket(t.head,1,U(e.getTokenTypeAt(t.head)));if(n&&h.cmpPos(n.pos,t.head)!=0)return n.pos;var r=e.scanForBracket(t.head,-1,U(e.getTokenTypeAt(f(t.head.line,t.head.ch+1))));return r&&f(r.pos.line,r.pos.ch+1)||t.head})},a.swapLineUp=function(e){if(e.isReadOnly())return h.Pass;for(var t=e.listSelections(),n=[],r=e.firstLine()-1,l=[],i=0;i<t.length;i++){var o=t[i],s=o.from().line-1,u=o.to().line;l.push({anchor:f(o.anchor.line-1,o.anchor.ch),head:f(o.head.line-1,o.head.ch)}),o.to().ch==0&&!o.empty()&&--u,s>r?n.push(s,u):n.length&&(n[n.length-1]=u),r=u}e.operation(function(){for(var d=0;d<n.length;d+=2){var p=n[d],c=n[d+1],L=e.getLine(p);e.replaceRange("",f(p,0),f(p+1,0),"+swapLine"),c>e.lastLine()?e.replaceRange(`
|
|
3
3
|
`+L,f(e.lastLine()),null,"+swapLine"):e.replaceRange(L+`
|
|
4
4
|
`,f(c,0),null,"+swapLine")}e.setSelections(l),e.scrollIntoView()})},a.swapLineDown=function(e){if(e.isReadOnly())return h.Pass;for(var t=e.listSelections(),n=[],r=e.lastLine()+1,l=t.length-1;l>=0;l--){var i=t[l],o=i.to().line+1,s=i.from().line;i.to().ch==0&&!i.empty()&&o--,o<r?n.push(o,s):n.length&&(n[n.length-1]=s),r=s}e.operation(function(){for(var u=n.length-2;u>=0;u-=2){var d=n[u],p=n[u+1],c=e.getLine(d);d==e.lastLine()?e.replaceRange("",f(d-1),f(d),"+swapLine"):e.replaceRange("",f(d,0),f(d+1,0),"+swapLine"),e.replaceRange(c+`
|
package/dist/types/config.d.ts
CHANGED
|
@@ -4,4 +4,10 @@ export interface GraphiQLConfig {
|
|
|
4
4
|
headers?: Record<string, string>;
|
|
5
5
|
defaultQuery?: string;
|
|
6
6
|
onEditQuery?: (query: string) => void;
|
|
7
|
+
/**
|
|
8
|
+
* Theme configuration for the GraphiQL interface.
|
|
9
|
+
* Accepts values like 'white', 'g10', 'g90', 'g100'.
|
|
10
|
+
* This will override the Carbon theme context if provided.
|
|
11
|
+
*/
|
|
12
|
+
theme?: string;
|
|
7
13
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stepzen-graphiql",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Stepzen Graphiql Explorer",
|
|
5
5
|
"author": "stepzen",
|
|
6
6
|
"license": "MIT",
|
|
@@ -82,7 +82,9 @@
|
|
|
82
82
|
},
|
|
83
83
|
"overrides": {
|
|
84
84
|
"nth-check": "^2.1.1",
|
|
85
|
-
"postcss": "^8.4.38"
|
|
85
|
+
"postcss": "^8.4.38",
|
|
86
|
+
"--comment--": "workaround for CVE-2025-7783",
|
|
87
|
+
"form-data": "^4.0.4"
|
|
86
88
|
},
|
|
87
89
|
"files": [
|
|
88
90
|
"dist"
|