@scalar/api-reference-react 0.1.12 → 0.1.15
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 +21 -0
- package/dist/index.cjs +250 -250
- package/dist/index.js +17402 -17663
- package/dist/prism-autoloader-Dlh8Vzlw-C7VXQ4L8-C9C3_e56.js +370 -0
- package/dist/prism-autoloader-Dlh8Vzlw-C7VXQ4L8-D7adLtAE.cjs +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,370 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
if (typeof Prism > "u" || typeof document > "u")
|
|
3
|
+
return;
|
|
4
|
+
var j = (
|
|
5
|
+
/*dependencies_placeholder[*/
|
|
6
|
+
{
|
|
7
|
+
javascript: "clike",
|
|
8
|
+
actionscript: "javascript",
|
|
9
|
+
apex: [
|
|
10
|
+
"clike",
|
|
11
|
+
"sql"
|
|
12
|
+
],
|
|
13
|
+
arduino: "cpp",
|
|
14
|
+
aspnet: [
|
|
15
|
+
"markup",
|
|
16
|
+
"csharp"
|
|
17
|
+
],
|
|
18
|
+
birb: "clike",
|
|
19
|
+
bison: "c",
|
|
20
|
+
c: "clike",
|
|
21
|
+
csharp: "clike",
|
|
22
|
+
cpp: "c",
|
|
23
|
+
cfscript: "clike",
|
|
24
|
+
chaiscript: [
|
|
25
|
+
"clike",
|
|
26
|
+
"cpp"
|
|
27
|
+
],
|
|
28
|
+
cilkc: "c",
|
|
29
|
+
cilkcpp: "cpp",
|
|
30
|
+
coffeescript: "javascript",
|
|
31
|
+
crystal: "ruby",
|
|
32
|
+
"css-extras": "css",
|
|
33
|
+
d: "clike",
|
|
34
|
+
dart: "clike",
|
|
35
|
+
django: "markup-templating",
|
|
36
|
+
ejs: [
|
|
37
|
+
"javascript",
|
|
38
|
+
"markup-templating"
|
|
39
|
+
],
|
|
40
|
+
etlua: [
|
|
41
|
+
"lua",
|
|
42
|
+
"markup-templating"
|
|
43
|
+
],
|
|
44
|
+
erb: [
|
|
45
|
+
"ruby",
|
|
46
|
+
"markup-templating"
|
|
47
|
+
],
|
|
48
|
+
fsharp: "clike",
|
|
49
|
+
"firestore-security-rules": "clike",
|
|
50
|
+
flow: "javascript",
|
|
51
|
+
ftl: "markup-templating",
|
|
52
|
+
gml: "clike",
|
|
53
|
+
glsl: "c",
|
|
54
|
+
go: "clike",
|
|
55
|
+
gradle: "clike",
|
|
56
|
+
groovy: "clike",
|
|
57
|
+
haml: "ruby",
|
|
58
|
+
handlebars: "markup-templating",
|
|
59
|
+
haxe: "clike",
|
|
60
|
+
hlsl: "c",
|
|
61
|
+
idris: "haskell",
|
|
62
|
+
java: "clike",
|
|
63
|
+
javadoc: [
|
|
64
|
+
"markup",
|
|
65
|
+
"java",
|
|
66
|
+
"javadoclike"
|
|
67
|
+
],
|
|
68
|
+
jolie: "clike",
|
|
69
|
+
jsdoc: [
|
|
70
|
+
"javascript",
|
|
71
|
+
"javadoclike",
|
|
72
|
+
"typescript"
|
|
73
|
+
],
|
|
74
|
+
"js-extras": "javascript",
|
|
75
|
+
json5: "json",
|
|
76
|
+
jsonp: "json",
|
|
77
|
+
"js-templates": "javascript",
|
|
78
|
+
kotlin: "clike",
|
|
79
|
+
latte: [
|
|
80
|
+
"clike",
|
|
81
|
+
"markup-templating",
|
|
82
|
+
"php"
|
|
83
|
+
],
|
|
84
|
+
less: "css",
|
|
85
|
+
lilypond: "scheme",
|
|
86
|
+
liquid: "markup-templating",
|
|
87
|
+
markdown: "markup",
|
|
88
|
+
"markup-templating": "markup",
|
|
89
|
+
mongodb: "javascript",
|
|
90
|
+
n4js: "javascript",
|
|
91
|
+
objectivec: "c",
|
|
92
|
+
opencl: "c",
|
|
93
|
+
parser: "markup",
|
|
94
|
+
php: "markup-templating",
|
|
95
|
+
phpdoc: [
|
|
96
|
+
"php",
|
|
97
|
+
"javadoclike"
|
|
98
|
+
],
|
|
99
|
+
"php-extras": "php",
|
|
100
|
+
plsql: "sql",
|
|
101
|
+
processing: "clike",
|
|
102
|
+
protobuf: "clike",
|
|
103
|
+
pug: [
|
|
104
|
+
"markup",
|
|
105
|
+
"javascript"
|
|
106
|
+
],
|
|
107
|
+
purebasic: "clike",
|
|
108
|
+
purescript: "haskell",
|
|
109
|
+
qsharp: "clike",
|
|
110
|
+
qml: "javascript",
|
|
111
|
+
qore: "clike",
|
|
112
|
+
racket: "scheme",
|
|
113
|
+
cshtml: [
|
|
114
|
+
"markup",
|
|
115
|
+
"csharp"
|
|
116
|
+
],
|
|
117
|
+
jsx: [
|
|
118
|
+
"markup",
|
|
119
|
+
"javascript"
|
|
120
|
+
],
|
|
121
|
+
tsx: [
|
|
122
|
+
"jsx",
|
|
123
|
+
"typescript"
|
|
124
|
+
],
|
|
125
|
+
reason: "clike",
|
|
126
|
+
ruby: "clike",
|
|
127
|
+
sass: "css",
|
|
128
|
+
scss: "css",
|
|
129
|
+
scala: "java",
|
|
130
|
+
"shell-session": "bash",
|
|
131
|
+
smarty: "markup-templating",
|
|
132
|
+
solidity: "clike",
|
|
133
|
+
soy: "markup-templating",
|
|
134
|
+
sparql: "turtle",
|
|
135
|
+
sqf: "clike",
|
|
136
|
+
squirrel: "clike",
|
|
137
|
+
stata: [
|
|
138
|
+
"mata",
|
|
139
|
+
"java",
|
|
140
|
+
"python"
|
|
141
|
+
],
|
|
142
|
+
"t4-cs": [
|
|
143
|
+
"t4-templating",
|
|
144
|
+
"csharp"
|
|
145
|
+
],
|
|
146
|
+
"t4-vb": [
|
|
147
|
+
"t4-templating",
|
|
148
|
+
"vbnet"
|
|
149
|
+
],
|
|
150
|
+
tap: "yaml",
|
|
151
|
+
tt2: [
|
|
152
|
+
"clike",
|
|
153
|
+
"markup-templating"
|
|
154
|
+
],
|
|
155
|
+
textile: "markup",
|
|
156
|
+
twig: "markup-templating",
|
|
157
|
+
typescript: "javascript",
|
|
158
|
+
v: "clike",
|
|
159
|
+
vala: "clike",
|
|
160
|
+
vbnet: "basic",
|
|
161
|
+
velocity: "markup",
|
|
162
|
+
wiki: "markup",
|
|
163
|
+
xeora: "markup",
|
|
164
|
+
"xml-doc": "markup",
|
|
165
|
+
xquery: "markup"
|
|
166
|
+
}
|
|
167
|
+
), k = (
|
|
168
|
+
/*aliases_placeholder[*/
|
|
169
|
+
{
|
|
170
|
+
html: "markup",
|
|
171
|
+
xml: "markup",
|
|
172
|
+
svg: "markup",
|
|
173
|
+
mathml: "markup",
|
|
174
|
+
ssml: "markup",
|
|
175
|
+
atom: "markup",
|
|
176
|
+
rss: "markup",
|
|
177
|
+
js: "javascript",
|
|
178
|
+
g4: "antlr4",
|
|
179
|
+
ino: "arduino",
|
|
180
|
+
"arm-asm": "armasm",
|
|
181
|
+
art: "arturo",
|
|
182
|
+
adoc: "asciidoc",
|
|
183
|
+
avs: "avisynth",
|
|
184
|
+
avdl: "avro-idl",
|
|
185
|
+
gawk: "awk",
|
|
186
|
+
sh: "bash",
|
|
187
|
+
shell: "bash",
|
|
188
|
+
shortcode: "bbcode",
|
|
189
|
+
rbnf: "bnf",
|
|
190
|
+
oscript: "bsl",
|
|
191
|
+
cs: "csharp",
|
|
192
|
+
dotnet: "csharp",
|
|
193
|
+
cfc: "cfscript",
|
|
194
|
+
"cilk-c": "cilkc",
|
|
195
|
+
"cilk-cpp": "cilkcpp",
|
|
196
|
+
cilk: "cilkcpp",
|
|
197
|
+
coffee: "coffeescript",
|
|
198
|
+
conc: "concurnas",
|
|
199
|
+
jinja2: "django",
|
|
200
|
+
"dns-zone": "dns-zone-file",
|
|
201
|
+
dockerfile: "docker",
|
|
202
|
+
gv: "dot",
|
|
203
|
+
eta: "ejs",
|
|
204
|
+
xlsx: "excel-formula",
|
|
205
|
+
xls: "excel-formula",
|
|
206
|
+
gamemakerlanguage: "gml",
|
|
207
|
+
po: "gettext",
|
|
208
|
+
gni: "gn",
|
|
209
|
+
ld: "linker-script",
|
|
210
|
+
"go-mod": "go-module",
|
|
211
|
+
hbs: "handlebars",
|
|
212
|
+
mustache: "handlebars",
|
|
213
|
+
hs: "haskell",
|
|
214
|
+
idr: "idris",
|
|
215
|
+
gitignore: "ignore",
|
|
216
|
+
hgignore: "ignore",
|
|
217
|
+
npmignore: "ignore",
|
|
218
|
+
webmanifest: "json",
|
|
219
|
+
kt: "kotlin",
|
|
220
|
+
kts: "kotlin",
|
|
221
|
+
kum: "kumir",
|
|
222
|
+
tex: "latex",
|
|
223
|
+
context: "latex",
|
|
224
|
+
ly: "lilypond",
|
|
225
|
+
emacs: "lisp",
|
|
226
|
+
elisp: "lisp",
|
|
227
|
+
"emacs-lisp": "lisp",
|
|
228
|
+
md: "markdown",
|
|
229
|
+
moon: "moonscript",
|
|
230
|
+
n4jsd: "n4js",
|
|
231
|
+
nani: "naniscript",
|
|
232
|
+
objc: "objectivec",
|
|
233
|
+
qasm: "openqasm",
|
|
234
|
+
objectpascal: "pascal",
|
|
235
|
+
px: "pcaxis",
|
|
236
|
+
pcode: "peoplecode",
|
|
237
|
+
plantuml: "plant-uml",
|
|
238
|
+
pq: "powerquery",
|
|
239
|
+
mscript: "powerquery",
|
|
240
|
+
pbfasm: "purebasic",
|
|
241
|
+
purs: "purescript",
|
|
242
|
+
py: "python",
|
|
243
|
+
qs: "qsharp",
|
|
244
|
+
rkt: "racket",
|
|
245
|
+
razor: "cshtml",
|
|
246
|
+
rpy: "renpy",
|
|
247
|
+
res: "rescript",
|
|
248
|
+
robot: "robotframework",
|
|
249
|
+
rb: "ruby",
|
|
250
|
+
"sh-session": "shell-session",
|
|
251
|
+
shellsession: "shell-session",
|
|
252
|
+
smlnj: "sml",
|
|
253
|
+
sol: "solidity",
|
|
254
|
+
sln: "solution-file",
|
|
255
|
+
rq: "sparql",
|
|
256
|
+
sclang: "supercollider",
|
|
257
|
+
t4: "t4-cs",
|
|
258
|
+
trickle: "tremor",
|
|
259
|
+
troy: "tremor",
|
|
260
|
+
trig: "turtle",
|
|
261
|
+
ts: "typescript",
|
|
262
|
+
tsconfig: "typoscript",
|
|
263
|
+
uscript: "unrealscript",
|
|
264
|
+
uc: "unrealscript",
|
|
265
|
+
url: "uri",
|
|
266
|
+
vb: "visual-basic",
|
|
267
|
+
vba: "visual-basic",
|
|
268
|
+
webidl: "web-idl",
|
|
269
|
+
mathematica: "wolfram",
|
|
270
|
+
nb: "wolfram",
|
|
271
|
+
wl: "wolfram",
|
|
272
|
+
xeoracube: "xeora",
|
|
273
|
+
yml: "yaml"
|
|
274
|
+
}
|
|
275
|
+
), l = {}, y = "none", p = "components/", m = Prism.util.currentScript();
|
|
276
|
+
if (m) {
|
|
277
|
+
var d = /\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, g = /(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, f = m.getAttribute("data-autoloader-path");
|
|
278
|
+
if (f != null)
|
|
279
|
+
p = f.trim().replace(/\/?$/, "/");
|
|
280
|
+
else {
|
|
281
|
+
var n = m.src;
|
|
282
|
+
d.test(n) ? p = n.replace(d, "components/") : g.test(n) && (p = n.replace(g, "$1components/"));
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
var h = Prism.plugins.autoloader = {
|
|
286
|
+
languages_path: p,
|
|
287
|
+
use_minified: !0,
|
|
288
|
+
loadLanguages: u
|
|
289
|
+
};
|
|
290
|
+
function x(e, r, t) {
|
|
291
|
+
var a = document.createElement("script");
|
|
292
|
+
a.src = e, a.async = !0, a.onload = function() {
|
|
293
|
+
document.body.removeChild(a), r && r();
|
|
294
|
+
}, a.onerror = function() {
|
|
295
|
+
document.body.removeChild(a), t && t();
|
|
296
|
+
}, document.body.appendChild(a);
|
|
297
|
+
}
|
|
298
|
+
function q(e) {
|
|
299
|
+
var r = (e.getAttribute("data-dependencies") || "").trim();
|
|
300
|
+
if (!r) {
|
|
301
|
+
var t = e.parentElement;
|
|
302
|
+
t && t.tagName.toLowerCase() === "pre" && (r = (t.getAttribute("data-dependencies") || "").trim());
|
|
303
|
+
}
|
|
304
|
+
return r ? r.split(/\s*,\s*/g) : [];
|
|
305
|
+
}
|
|
306
|
+
function v(e) {
|
|
307
|
+
if (e.indexOf("!") >= 0)
|
|
308
|
+
return !1;
|
|
309
|
+
if (e = k[e] || e, e in Prism.languages)
|
|
310
|
+
return !0;
|
|
311
|
+
var r = l[e];
|
|
312
|
+
return r && !r.error && r.loading === !1;
|
|
313
|
+
}
|
|
314
|
+
function w(e) {
|
|
315
|
+
return h.languages_path + "prism-" + e + (h.use_minified ? ".min" : "") + ".js";
|
|
316
|
+
}
|
|
317
|
+
function u(e, r, t) {
|
|
318
|
+
typeof e == "string" && (e = [e]);
|
|
319
|
+
var a = e.length, c = 0, s = !1;
|
|
320
|
+
if (a === 0) {
|
|
321
|
+
r && setTimeout(r, 0);
|
|
322
|
+
return;
|
|
323
|
+
}
|
|
324
|
+
function i() {
|
|
325
|
+
s || (c++, c === a && r && r(e));
|
|
326
|
+
}
|
|
327
|
+
e.forEach(function(b) {
|
|
328
|
+
P(b, i, function() {
|
|
329
|
+
s || (s = !0, t && t(b));
|
|
330
|
+
});
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
function P(e, r, t) {
|
|
334
|
+
var a = e.indexOf("!") >= 0;
|
|
335
|
+
e = e.replace("!", ""), e = k[e] || e;
|
|
336
|
+
function c() {
|
|
337
|
+
var i = l[e];
|
|
338
|
+
i || (i = l[e] = {
|
|
339
|
+
callbacks: []
|
|
340
|
+
}), i.callbacks.push({
|
|
341
|
+
success: r,
|
|
342
|
+
error: t
|
|
343
|
+
}), !a && v(e) ? o(e, "success") : !a && i.error ? o(e, "error") : (a || !i.loading) && (i.loading = !0, i.error = !1, x(w(e), function() {
|
|
344
|
+
i.loading = !1, o(e, "success");
|
|
345
|
+
}, function() {
|
|
346
|
+
i.loading = !1, i.error = !0, o(e, "error");
|
|
347
|
+
}));
|
|
348
|
+
}
|
|
349
|
+
var s = j[e];
|
|
350
|
+
s && s.length ? u(s, c, t) : c();
|
|
351
|
+
}
|
|
352
|
+
function o(e, r) {
|
|
353
|
+
if (l[e]) {
|
|
354
|
+
for (var t = l[e].callbacks, a = 0, c = t.length; a < c; a++) {
|
|
355
|
+
var s = t[a][r];
|
|
356
|
+
s && setTimeout(s, 0);
|
|
357
|
+
}
|
|
358
|
+
t.length = 0;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
Prism.hooks.add("complete", function(e) {
|
|
362
|
+
var r = e.element, t = e.language;
|
|
363
|
+
if (!(!r || !t || t === y)) {
|
|
364
|
+
var a = q(r);
|
|
365
|
+
/^diff-./i.test(t) ? (a.push("diff"), a.push(t.substr(5))) : a.push(t), a.every(v) || u(a, function() {
|
|
366
|
+
Prism.highlightElement(r);
|
|
367
|
+
});
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(function(){if(typeof Prism>"u"||typeof document>"u")return;var j={javascript:"clike",actionscript:"javascript",apex:["clike","sql"],arduino:"cpp",aspnet:["markup","csharp"],birb:"clike",bison:"c",c:"clike",csharp:"clike",cpp:"c",cfscript:"clike",chaiscript:["clike","cpp"],cilkc:"c",cilkcpp:"cpp",coffeescript:"javascript",crystal:"ruby","css-extras":"css",d:"clike",dart:"clike",django:"markup-templating",ejs:["javascript","markup-templating"],etlua:["lua","markup-templating"],erb:["ruby","markup-templating"],fsharp:"clike","firestore-security-rules":"clike",flow:"javascript",ftl:"markup-templating",gml:"clike",glsl:"c",go:"clike",gradle:"clike",groovy:"clike",haml:"ruby",handlebars:"markup-templating",haxe:"clike",hlsl:"c",idris:"haskell",java:"clike",javadoc:["markup","java","javadoclike"],jolie:"clike",jsdoc:["javascript","javadoclike","typescript"],"js-extras":"javascript",json5:"json",jsonp:"json","js-templates":"javascript",kotlin:"clike",latte:["clike","markup-templating","php"],less:"css",lilypond:"scheme",liquid:"markup-templating",markdown:"markup","markup-templating":"markup",mongodb:"javascript",n4js:"javascript",objectivec:"c",opencl:"c",parser:"markup",php:"markup-templating",phpdoc:["php","javadoclike"],"php-extras":"php",plsql:"sql",processing:"clike",protobuf:"clike",pug:["markup","javascript"],purebasic:"clike",purescript:"haskell",qsharp:"clike",qml:"javascript",qore:"clike",racket:"scheme",cshtml:["markup","csharp"],jsx:["markup","javascript"],tsx:["jsx","typescript"],reason:"clike",ruby:"clike",sass:"css",scss:"css",scala:"java","shell-session":"bash",smarty:"markup-templating",solidity:"clike",soy:"markup-templating",sparql:"turtle",sqf:"clike",squirrel:"clike",stata:["mata","java","python"],"t4-cs":["t4-templating","csharp"],"t4-vb":["t4-templating","vbnet"],tap:"yaml",tt2:["clike","markup-templating"],textile:"markup",twig:"markup-templating",typescript:"javascript",v:"clike",vala:"clike",vbnet:"basic",velocity:"markup",wiki:"markup",xeora:"markup","xml-doc":"markup",xquery:"markup"},k={html:"markup",xml:"markup",svg:"markup",mathml:"markup",ssml:"markup",atom:"markup",rss:"markup",js:"javascript",g4:"antlr4",ino:"arduino","arm-asm":"armasm",art:"arturo",adoc:"asciidoc",avs:"avisynth",avdl:"avro-idl",gawk:"awk",sh:"bash",shell:"bash",shortcode:"bbcode",rbnf:"bnf",oscript:"bsl",cs:"csharp",dotnet:"csharp",cfc:"cfscript","cilk-c":"cilkc","cilk-cpp":"cilkcpp",cilk:"cilkcpp",coffee:"coffeescript",conc:"concurnas",jinja2:"django","dns-zone":"dns-zone-file",dockerfile:"docker",gv:"dot",eta:"ejs",xlsx:"excel-formula",xls:"excel-formula",gamemakerlanguage:"gml",po:"gettext",gni:"gn",ld:"linker-script","go-mod":"go-module",hbs:"handlebars",mustache:"handlebars",hs:"haskell",idr:"idris",gitignore:"ignore",hgignore:"ignore",npmignore:"ignore",webmanifest:"json",kt:"kotlin",kts:"kotlin",kum:"kumir",tex:"latex",context:"latex",ly:"lilypond",emacs:"lisp",elisp:"lisp","emacs-lisp":"lisp",md:"markdown",moon:"moonscript",n4jsd:"n4js",nani:"naniscript",objc:"objectivec",qasm:"openqasm",objectpascal:"pascal",px:"pcaxis",pcode:"peoplecode",plantuml:"plant-uml",pq:"powerquery",mscript:"powerquery",pbfasm:"purebasic",purs:"purescript",py:"python",qs:"qsharp",rkt:"racket",razor:"cshtml",rpy:"renpy",res:"rescript",robot:"robotframework",rb:"ruby","sh-session":"shell-session",shellsession:"shell-session",smlnj:"sml",sol:"solidity",sln:"solution-file",rq:"sparql",sclang:"supercollider",t4:"t4-cs",trickle:"tremor",troy:"tremor",trig:"turtle",ts:"typescript",tsconfig:"typoscript",uscript:"unrealscript",uc:"unrealscript",url:"uri",vb:"visual-basic",vba:"visual-basic",webidl:"web-idl",mathematica:"wolfram",nb:"wolfram",wl:"wolfram",xeoracube:"xeora",yml:"yaml"},l={},y="none",p="components/",m=Prism.util.currentScript();if(m){var d=/\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,g=/(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i,f=m.getAttribute("data-autoloader-path");if(f!=null)p=f.trim().replace(/\/?$/,"/");else{var n=m.src;d.test(n)?p=n.replace(d,"components/"):g.test(n)&&(p=n.replace(g,"$1components/"))}}var h=Prism.plugins.autoloader={languages_path:p,use_minified:!0,loadLanguages:u};function x(e,r,t){var a=document.createElement("script");a.src=e,a.async=!0,a.onload=function(){document.body.removeChild(a),r&&r()},a.onerror=function(){document.body.removeChild(a),t&&t()},document.body.appendChild(a)}function q(e){var r=(e.getAttribute("data-dependencies")||"").trim();if(!r){var t=e.parentElement;t&&t.tagName.toLowerCase()==="pre"&&(r=(t.getAttribute("data-dependencies")||"").trim())}return r?r.split(/\s*,\s*/g):[]}function v(e){if(e.indexOf("!")>=0)return!1;if(e=k[e]||e,e in Prism.languages)return!0;var r=l[e];return r&&!r.error&&r.loading===!1}function w(e){return h.languages_path+"prism-"+e+(h.use_minified?".min":"")+".js"}function u(e,r,t){typeof e=="string"&&(e=[e]);var a=e.length,c=0,s=!1;if(a===0){r&&setTimeout(r,0);return}function i(){s||(c++,c===a&&r&&r(e))}e.forEach(function(b){P(b,i,function(){s||(s=!0,t&&t(b))})})}function P(e,r,t){var a=e.indexOf("!")>=0;e=e.replace("!",""),e=k[e]||e;function c(){var i=l[e];i||(i=l[e]={callbacks:[]}),i.callbacks.push({success:r,error:t}),!a&&v(e)?o(e,"success"):!a&&i.error?o(e,"error"):(a||!i.loading)&&(i.loading=!0,i.error=!1,x(w(e),function(){i.loading=!1,o(e,"success")},function(){i.loading=!1,i.error=!0,o(e,"error")}))}var s=j[e];s&&s.length?u(s,c,t):c()}function o(e,r){if(l[e]){for(var t=l[e].callbacks,a=0,c=t.length;a<c;a++){var s=t[a][r];s&&setTimeout(s,0)}t.length=0}}Prism.hooks.add("complete",function(e){var r=e.element,t=e.language;if(!(!r||!t||t===y)){var a=q(r);/^diff-./i.test(t)?(a.push("diff"),a.push(t.substr(5))):a.push(t),a.every(v)||u(a,function(){Prism.highlightElement(r)})}})})();
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"testing",
|
|
14
14
|
"react"
|
|
15
15
|
],
|
|
16
|
-
"version": "0.1.
|
|
16
|
+
"version": "0.1.15",
|
|
17
17
|
"engines": {
|
|
18
18
|
"node": ">=18"
|
|
19
19
|
},
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"directory": "packages/docusaurus"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@scalar/api-reference": "1.20.
|
|
35
|
+
"@scalar/api-reference": "1.20.7"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/react": "^18.2.60",
|