swagger-typescript-api 13.2.1 → 13.2.2

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
  # swagger-typescript-api
2
2
 
3
+ ## 13.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1287](https://github.com/acacode/swagger-typescript-api/pull/1287) [`87da340`](https://github.com/acacode/swagger-typescript-api/commit/87da340e5583eef6fd487c15318e396d9908c9f3) Thanks [@smorimoto](https://github.com/smorimoto)! - Pin versions of internal Biome packages.
8
+
3
9
  ## 13.2.1
4
10
 
5
11
  ### Patch Changes
package/dist/cli.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- const require_src = require('./src-Ct6srJuH.cjs');
2
+ const require_src = require('./src-DD5StS7t.cjs');
3
3
  const node_path = require_src.__toESM(require("node:path"));
4
4
  const c12 = require_src.__toESM(require("c12"));
5
5
  const citty = require_src.__toESM(require("citty"));
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { CodeGenConfig, HTTP_CLIENT, TemplatesGenConfig, generateApi, generateTemplates, package_default } from "./src-CyhiKzh-.js";
2
+ import { CodeGenConfig, HTTP_CLIENT, TemplatesGenConfig, generateApi, generateTemplates, package_default } from "./src-CuoIgJ3d.js";
3
3
  import * as path$1 from "node:path";
4
4
  import { loadConfig } from "c12";
5
5
  import { defineCommand, runMain } from "citty";
package/dist/lib.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const require_src = require('./src-Ct6srJuH.cjs');
1
+ const require_src = require('./src-DD5StS7t.cjs');
2
2
 
3
3
  Object.defineProperty(exports, 'constants', {
4
4
  enumerable: true,
package/dist/lib.d.cts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { OpenAPI } from "openapi-types";
2
2
  import * as typescript$1 from "typescript";
3
3
  import * as typescript from "typescript";
4
- import * as lodash20 from "lodash";
4
+ import * as lodash19 from "lodash";
5
5
  import * as lodash14 from "lodash";
6
6
  import lodash from "lodash";
7
- import * as swagger_schema_official17 from "swagger-schema-official";
8
- import * as eta21 from "eta";
7
+ import * as swagger_schema_official16 from "swagger-schema-official";
8
+ import * as eta20 from "eta";
9
9
 
10
10
  //#region rolldown:runtime
11
11
  //#endregion
@@ -914,7 +914,7 @@ type RawRouteInfo = {
914
914
  description?: string;
915
915
  tags?: string[];
916
916
  summary?: string;
917
- responses?: swagger_schema_official17.Spec["responses"];
917
+ responses?: swagger_schema_official16.Spec["responses"];
918
918
  produces?: string[];
919
919
  requestBody?: object;
920
920
  consumes?: string[];
@@ -1147,7 +1147,7 @@ interface GenerateApiConfiguration {
1147
1147
  fmtToJSDocLine: (line: string, params?: {
1148
1148
  eol?: boolean;
1149
1149
  }) => string;
1150
- _: lodash20.LoDashStatic;
1150
+ _: lodash19.LoDashStatic;
1151
1151
  require: (path: string) => unknown;
1152
1152
  };
1153
1153
  }
@@ -1168,7 +1168,7 @@ interface GenerateApiOutput {
1168
1168
  content: string;
1169
1169
  withPrefix: boolean;
1170
1170
  }) => void;
1171
- renderTemplate: (templateContent: string, data: Record<string, unknown>, etaOptions?: Partial<eta21.EtaConfig>) => Promise<string> | string;
1171
+ renderTemplate: (templateContent: string, data: Record<string, unknown>, etaOptions?: Partial<eta20.EtaConfig>) => Promise<string> | string;
1172
1172
  getTemplate: (params: {
1173
1173
  fileName?: string;
1174
1174
  name?: string;
package/dist/lib.js CHANGED
@@ -1,3 +1,3 @@
1
- import { constants_exports, generateApi, generateTemplates } from "./src-CyhiKzh-.js";
1
+ import { constants_exports, generateApi, generateTemplates } from "./src-CuoIgJ3d.js";
2
2
 
3
3
  export { constants_exports as constants, generateApi, generateTemplates };
@@ -184,7 +184,7 @@ var ComponentTypeNameResolver = class extends NameResolver {
184
184
  //#endregion
185
185
  //#region package.json
186
186
  var name = "swagger-typescript-api";
187
- var version = "13.2.1";
187
+ var version = "13.2.2";
188
188
  var description = "Generate the API client for Fetch or Axios from an OpenAPI Specification";
189
189
  var homepage = "https://github.com/acacode/swagger-typescript-api";
190
190
  var bugs = "https://github.com/acacode/swagger-typescript-api/issues";
@@ -224,8 +224,8 @@ var scripts = {
224
224
  "typedoc": "typedoc"
225
225
  };
226
226
  var dependencies = {
227
- "@biomejs/js-api": "^0.8.0-beta.3",
228
- "@biomejs/wasm-nodejs": "^2.0.0-beta.6",
227
+ "@biomejs/js-api": "0.8.0-beta.3",
228
+ "@biomejs/wasm-nodejs": "2.0.0-beta.6",
229
229
  "@types/swagger-schema-official": "^2.0.25",
230
230
  "c12": "^3.0.4",
231
231
  "citty": "^0.1.6",
@@ -246,13 +246,13 @@ var devDependencies = {
246
246
  "@tsconfig/strictest": "2.0.5",
247
247
  "@types/js-yaml": "4.0.9",
248
248
  "@types/lodash": "4.17.17",
249
- "@types/node": "22.15.30",
249
+ "@types/node": "24.0.1",
250
250
  "@types/swagger2openapi": "7.0.4",
251
- "axios": "1.9.0",
251
+ "axios": "1.10.0",
252
252
  "openapi-types": "12.1.3",
253
253
  "tsdown": "0.12.7",
254
254
  "typedoc": "0.28.5",
255
- "vitest": "3.2.2"
255
+ "vitest": "3.2.3"
256
256
  };
257
257
  var packageManager = "yarn@4.9.2";
258
258
  var engines = { "node": ">=20" };
@@ -3131,4 +3131,4 @@ async function generateApi(config) {
3131
3131
 
3132
3132
  //#endregion
3133
3133
  export { CodeGenConfig, HTTP_CLIENT, TemplatesGenConfig, constants_exports, generateApi, generateTemplates, package_default };
3134
- //# sourceMappingURL=src-CyhiKzh-.js.map
3134
+ //# sourceMappingURL=src-CuoIgJ3d.js.map