@scalar/oas-utils
Advanced tools
Comparing version 0.2.44 to 0.2.45
# @scalar/oas-utils | ||
## 0.2.45 | ||
### Patch Changes | ||
- ddeaada: fix: adds path regex helper | ||
- 71278e1: fix(api-client): add back content header | ||
## 0.2.44 | ||
@@ -4,0 +11,0 @@ |
@@ -60,2 +60,3 @@ import { z } from 'zod'; | ||
export declare const exampleRequestBodyEncoding: readonly ["json", "text", "html", "javascript", "xml", "yaml", "edn"]; | ||
export type BodyEncoding = (typeof exampleRequestBodyEncoding)[number]; | ||
export declare const exampleRequestBodySchema: z.ZodObject<{ | ||
@@ -62,0 +63,0 @@ raw: z.ZodOptional<z.ZodObject<{ |
@@ -20,2 +20,2 @@ export { concatenateUrlAndPath } from './concatenateUrlAndPath.js'; | ||
export { isValidUrl } from './isValidUrl.js'; | ||
export { variableRegex } from './regexHelpers.js'; | ||
export { pathRegex, variableRegex } from './regexHelpers.js'; |
export declare const variableRegex: RegExp; | ||
export declare const pathRegex: RegExp; | ||
//# sourceMappingURL=regexHelpers.d.ts.map |
const variableRegex = /{{((?:[^{}]|{[^{}]*})*)}}/g; | ||
const pathRegex = /(?<!{){([^{}]+)}(?!})/g; | ||
export { variableRegex }; | ||
export { pathRegex, variableRegex }; |
@@ -19,3 +19,3 @@ { | ||
], | ||
"version": "0.2.44", | ||
"version": "0.2.45", | ||
"engines": { | ||
@@ -97,5 +97,5 @@ "node": ">=18" | ||
"@scalar/object-utils": "1.1.8", | ||
"@scalar/openapi-types": "0.1.1", | ||
"@scalar/themes": "0.9.30", | ||
"@scalar/types": "0.0.9", | ||
"@scalar/openapi-types": "0.1.1" | ||
"@scalar/types": "0.0.9" | ||
}, | ||
@@ -109,4 +109,4 @@ "devDependencies": { | ||
"@scalar/build-tooling": "0.1.10", | ||
"@scalar/openapi-parser": "0.8.3", | ||
"@scalar/openapi-types": "0.1.1" | ||
"@scalar/openapi-types": "0.1.1", | ||
"@scalar/openapi-parser": "0.8.3" | ||
}, | ||
@@ -113,0 +113,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
347999
7368
1