@scalar/api-client 0.8.7 → 0.8.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,11 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 0.8.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 0e0f34b3: fix: cleanup safari bugs
8
+
3
9
  ## 0.8.7
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -25557,9 +25557,8 @@ const concatenateUrlAndPath = (url, path) => {
25557
25557
  return [urlWithSlash, pathWithoutSlash].join("");
25558
25558
  };
25559
25559
  const findVariables = (value) => {
25560
- var _a2;
25561
- const regex = new RegExp("(?<=\\{)\\s*\\w+\\s*(?=\\})", "g");
25562
- return ((_a2 = value.match(regex)) == null ? void 0 : _a2.map((variable2) => variable2.trim())) || [];
25560
+ const regex = /(?:\{+)\s*(\w+)\s*(?:\}+)/g;
25561
+ return [...value.matchAll(regex)].map((match) => match[1].trim()) || [];
25563
25562
  };
25564
25563
  const isJsonString = (value) => {
25565
25564
  if (typeof value !== "string") {
package/package.json CHANGED
@@ -13,7 +13,7 @@
13
13
  "rest",
14
14
  "testing"
15
15
  ],
16
- "version": "0.8.7",
16
+ "version": "0.8.8",
17
17
  "engines": {
18
18
  "node": ">=20"
19
19
  },