@scalar/api-client 2.5.28 → 2.5.29
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,19 @@
|
|
|
1
1
|
# @scalar/api-client
|
|
2
2
|
|
|
3
|
+
## 2.5.29
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 5eedb97: feat: allow query params on findRequestByPathMethod method
|
|
8
|
+
- Updated dependencies [b8c4b61]
|
|
9
|
+
- @scalar/openapi-parser@0.20.3
|
|
10
|
+
- @scalar/import@0.4.21
|
|
11
|
+
- @scalar/oas-utils@0.4.25
|
|
12
|
+
- @scalar/workspace-store@0.15.2
|
|
13
|
+
- @scalar/components@0.14.30
|
|
14
|
+
- @scalar/postman-to-openapi@0.3.28
|
|
15
|
+
- @scalar/use-codemirror@0.12.31
|
|
16
|
+
|
|
3
17
|
## 2.5.28
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -3,7 +3,7 @@ import type { Request } from '@scalar/oas-utils/entities/spec';
|
|
|
3
3
|
export declare const pathToRegex: (path: string) => RegExp;
|
|
4
4
|
/**
|
|
5
5
|
* Takes a path and method and returns the request that matches the path and method while taking
|
|
6
|
-
* path params into account by converting to a regex. Will also return the path params if they exist
|
|
6
|
+
* path params into account by converting to a regex. Will also return the path params if they exist.
|
|
7
7
|
*
|
|
8
8
|
* @example path can be /planets/{planetId} OR /planets/1
|
|
9
9
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-request.d.ts","sourceRoot":"","sources":["../../src/libs/find-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAA;AAE9D,0FAA0F;AAC1F,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,WASvC,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAAI,MAAM,MAAM,EAAE,QAAQ,MAAM,EAAE,UAAU,OAAO,EAAE;;;;;;;;;;;;;;uBA+
|
|
1
|
+
{"version":3,"file":"find-request.d.ts","sourceRoot":"","sources":["../../src/libs/find-request.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAA;AAE9D,0FAA0F;AAC1F,eAAO,MAAM,WAAW,GAAI,MAAM,MAAM,WASvC,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,GAAI,MAAM,MAAM,EAAE,QAAQ,MAAM,EAAE,UAAU,OAAO,EAAE;;;;;;;;;;;;;;uBA+B6g1B,CAAC;;;;;;;;;;;;;;uBAAie,CAAC;mBAAqC,CAAC;mBAA0B,CAAC;kBAAyB,CAAC;oBAA2B,CAAC;qBAAgD,CAAC;uBAA8B,CAAC;6BAA+C,CAAC;;iBAA2D,CAAC;mBAAyH,CAAC;;;;;;iBAA2O,CAAC;gBAAkC,CAAC;;;;iBAAyG,CAAC;gBAAkC,CAAC;;;;iBAA4G,CAAC;gBAAkC,CAAC;;;;;;aA9Bzg4B,MAAM;eAAS,MAAM;;CA6B7C,CAAA"}
|
|
@@ -34,7 +34,7 @@ const W = { class: "flex-center relative flex flex-1 flex-col gap-6 p-2 capitali
|
|
|
34
34
|
}));
|
|
35
35
|
}, k = (o) => {
|
|
36
36
|
o != null && o.createNew && g.name === "request" && f();
|
|
37
|
-
}, w = "2.5.
|
|
37
|
+
}, w = "2.5.29";
|
|
38
38
|
return R(() => a.hotKeys.on(k)), v(() => a.hotKeys.off(k)), (o, e) => (u(), i("div", W, [
|
|
39
39
|
s("div", {
|
|
40
40
|
class: y(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"rest",
|
|
19
19
|
"testing"
|
|
20
20
|
],
|
|
21
|
-
"version": "2.5.
|
|
21
|
+
"version": "2.5.29",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=20"
|
|
24
24
|
},
|
|
@@ -206,24 +206,24 @@
|
|
|
206
206
|
"whatwg-mimetype": "^4.0.0",
|
|
207
207
|
"yaml": "2.8.0",
|
|
208
208
|
"zod": "3.24.1",
|
|
209
|
+
"@scalar/components": "0.14.30",
|
|
209
210
|
"@scalar/analytics-client": "1.0.0",
|
|
210
|
-
"@scalar/components": "0.14.29",
|
|
211
|
-
"@scalar/helpers": "0.0.9",
|
|
212
211
|
"@scalar/draggable": "0.2.0",
|
|
213
|
-
"@scalar/
|
|
212
|
+
"@scalar/helpers": "0.0.9",
|
|
214
213
|
"@scalar/icons": "0.4.7",
|
|
214
|
+
"@scalar/oas-utils": "0.4.25",
|
|
215
|
+
"@scalar/import": "0.4.21",
|
|
215
216
|
"@scalar/object-utils": "1.2.5",
|
|
216
|
-
"@scalar/oas-utils": "0.4.24",
|
|
217
217
|
"@scalar/openapi-types": "0.3.7",
|
|
218
|
-
"@scalar/
|
|
219
|
-
"@scalar/
|
|
218
|
+
"@scalar/openapi-parser": "0.20.3",
|
|
219
|
+
"@scalar/themes": "0.13.16",
|
|
220
|
+
"@scalar/postman-to-openapi": "0.3.28",
|
|
220
221
|
"@scalar/types": "0.2.15",
|
|
221
|
-
"@scalar/
|
|
222
|
-
"@scalar/use-codemirror": "0.12.
|
|
222
|
+
"@scalar/snippetz": "0.4.9",
|
|
223
|
+
"@scalar/use-codemirror": "0.12.31",
|
|
224
|
+
"@scalar/use-hooks": "0.2.4",
|
|
223
225
|
"@scalar/use-toasts": "0.8.0",
|
|
224
|
-
"@scalar/workspace-store": "0.15.
|
|
225
|
-
"@scalar/themes": "0.13.16",
|
|
226
|
-
"@scalar/use-hooks": "0.2.4"
|
|
226
|
+
"@scalar/workspace-store": "0.15.2"
|
|
227
227
|
},
|
|
228
228
|
"devDependencies": {
|
|
229
229
|
"@tailwindcss/vite": "^4.1.7",
|