@orval/core 8.4.2 → 8.5.0
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/dist/{chunk-1-as6MWF.mjs → chunk-C7Uep-_p.mjs} +4 -4
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +186 -184
- package/dist/index.mjs.map +1 -1
- package/package.json +21 -16
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
2
|
|
|
3
|
-
//#region
|
|
3
|
+
//#region \0rolldown/runtime.js
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
|
-
var
|
|
5
|
+
var __exportAll = (all, no_symbols) => {
|
|
6
6
|
let target = {};
|
|
7
7
|
for (var name in all) {
|
|
8
8
|
__defProp(target, name, {
|
|
@@ -10,11 +10,11 @@ var __export = (all, symbols) => {
|
|
|
10
10
|
enumerable: true
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
|
-
if (
|
|
13
|
+
if (!no_symbols) {
|
|
14
14
|
__defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
15
15
|
}
|
|
16
16
|
return target;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
19
|
//#endregion
|
|
20
|
-
export {
|
|
20
|
+
export { __exportAll as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1842,9 +1842,9 @@ declare function getMockFileExtensionByTypeName(mock: GlobalMockOptions | Client
|
|
|
1842
1842
|
*
|
|
1843
1843
|
* @remarks Until TypeScript adds type-narrowing for Object.hasOwn we have to use this workaround
|
|
1844
1844
|
*/
|
|
1845
|
-
declare function getPropertySafe<T extends object, K
|
|
1845
|
+
declare function getPropertySafe<T extends object, K extends keyof T>(obj: T, propertyName: K | string): {
|
|
1846
1846
|
hasProperty: true;
|
|
1847
|
-
value: T[K
|
|
1847
|
+
value: T[K];
|
|
1848
1848
|
} | {
|
|
1849
1849
|
hasProperty: false;
|
|
1850
1850
|
value: undefined;
|
|
@@ -1892,7 +1892,7 @@ interface LoggerOptions {
|
|
|
1892
1892
|
declare function createLogger(level?: LogLevel, options?: LoggerOptions): Logger;
|
|
1893
1893
|
//#endregion
|
|
1894
1894
|
//#region src/utils/merge-deep.d.ts
|
|
1895
|
-
declare function mergeDeep<T extends Record<string, unknown>, U
|
|
1895
|
+
declare function mergeDeep<T extends Record<string, unknown>, U extends Record<string, unknown>>(source: T, target: U): T & U;
|
|
1896
1896
|
//#endregion
|
|
1897
1897
|
//#region src/utils/occurrence.d.ts
|
|
1898
1898
|
declare function count(str: string | undefined, key: string): number;
|