swagger-typescript-api 13.2.0 → 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.
@@ -203,7 +203,7 @@ var ComponentTypeNameResolver = class extends NameResolver {
203
203
  //#endregion
204
204
  //#region package.json
205
205
  var name = "swagger-typescript-api";
206
- var version = "13.2.0";
206
+ var version = "13.2.2";
207
207
  var description = "Generate the API client for Fetch or Axios from an OpenAPI Specification";
208
208
  var homepage = "https://github.com/acacode/swagger-typescript-api";
209
209
  var bugs = "https://github.com/acacode/swagger-typescript-api/issues";
@@ -243,8 +243,8 @@ var scripts = {
243
243
  "typedoc": "typedoc"
244
244
  };
245
245
  var dependencies = {
246
- "@biomejs/js-api": "^0.8.0-beta.3",
247
- "@biomejs/wasm-nodejs": "^2.0.0-beta.6",
246
+ "@biomejs/js-api": "0.8.0-beta.3",
247
+ "@biomejs/wasm-nodejs": "2.0.0-beta.6",
248
248
  "@types/swagger-schema-official": "^2.0.25",
249
249
  "c12": "^3.0.4",
250
250
  "citty": "^0.1.6",
@@ -265,16 +265,16 @@ var devDependencies = {
265
265
  "@tsconfig/strictest": "2.0.5",
266
266
  "@types/js-yaml": "4.0.9",
267
267
  "@types/lodash": "4.17.17",
268
- "@types/node": "22.15.29",
268
+ "@types/node": "24.0.1",
269
269
  "@types/swagger2openapi": "7.0.4",
270
- "axios": "1.9.0",
270
+ "axios": "1.10.0",
271
271
  "openapi-types": "12.1.3",
272
- "tsdown": "0.12.6",
272
+ "tsdown": "0.12.7",
273
273
  "typedoc": "0.28.5",
274
- "vitest": "3.2.1"
274
+ "vitest": "3.2.3"
275
275
  };
276
276
  var packageManager = "yarn@4.9.2";
277
- var engines = { "node": ">=18.0.0" };
277
+ var engines = { "node": ">=20" };
278
278
  var publishConfig = {
279
279
  "access": "public",
280
280
  "provenance": true,
@@ -2633,7 +2633,7 @@ var TypeNameFormatter = class {
2633
2633
  consola.consola.warn("wrong model name", name$1);
2634
2634
  return name$1;
2635
2635
  }
2636
- if (/^([A-Z_]{1,})$/g.test(name$1)) return lodash.default.compact([
2636
+ if (/^(?!\d)([A-Z0-9_]{1,})$/g.test(name$1)) return lodash.default.compact([
2637
2637
  typePrefix,
2638
2638
  name$1,
2639
2639
  typeSuffix
@@ -3197,4 +3197,4 @@ Object.defineProperty(exports, 'package_default', {
3197
3197
  return package_default;
3198
3198
  }
3199
3199
  });
3200
- //# sourceMappingURL=src-uYLAh71S.cjs.map
3200
+ //# sourceMappingURL=src-DD5StS7t.cjs.map