@contractspec/lib.contracts-transformers 3.7.5 → 3.7.7

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.
@@ -1,5 +1,5 @@
1
- export * from './utils';
2
- export * from './resolvers';
3
- export * from './parameters';
4
- export * from './operation';
5
1
  export * from './document';
2
+ export * from './operation';
3
+ export * from './parameters';
4
+ export * from './resolvers';
5
+ export * from './utils';
@@ -1,5 +1,5 @@
1
- import type { HttpMethod, OpenApiDocument, OpenApiParameter, ParsedOperation } from '../types';
2
1
  import type { OpenAPIV3, OpenAPIV3_1 } from 'openapi-types';
2
+ import type { HttpMethod, OpenApiDocument, OpenApiParameter, ParsedOperation } from '../types';
3
3
  /**
4
4
  * Parse a single operation.
5
5
  */
@@ -1,5 +1,5 @@
1
- import type { OpenApiDocument, OpenApiSchema } from '../types';
2
1
  import type { OpenAPIV3, OpenAPIV3_1 } from 'openapi-types';
2
+ import type { OpenApiDocument, OpenApiSchema } from '../types';
3
3
  /**
4
4
  * Check if a value is a reference object.
5
5
  */
@@ -1,4 +1,4 @@
1
- import type { OpenApiDocument, HttpMethod, OpenApiVersion } from '../types';
1
+ import type { HttpMethod, OpenApiDocument, OpenApiVersion } from '../types';
2
2
  export declare const HTTP_METHODS: HttpMethod[];
3
3
  /**
4
4
  * Parse an OpenAPI document from a string (JSON or YAML).
@@ -2,7 +2,7 @@
2
2
  * JSON Schema to SchemaModel conversion utilities.
3
3
  * Converts OpenAPI JSON Schema to ContractSpec SchemaModel definitions.
4
4
  */
5
- import type { SchemaFormat, ResolvedContractsrcConfig } from '@contractspec/lib.contracts-spec';
5
+ import type { ResolvedContractsrcConfig, SchemaFormat } from '@contractspec/lib.contracts-spec';
6
6
  import type { OpenApiSchema } from './types';
7
7
  /**
8
8
  * TypeScript type representation for code generation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.contracts-transformers",
3
- "version": "3.7.5",
3
+ "version": "3.7.7",
4
4
  "description": "Contract format transformations: import/export between ContractSpec and external formats (OpenAPI, AsyncAPI, etc.)",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -20,24 +20,24 @@
20
20
  "dev": "contractspec-bun-build dev",
21
21
  "clean": "rimraf dist .turbo",
22
22
  "lint": "bun lint:fix",
23
- "lint:fix": "eslint src --fix",
24
- "lint:check": "eslint src",
23
+ "lint:fix": "biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .",
24
+ "lint:check": "biome check .",
25
25
  "test": "bun test",
26
26
  "prebuild": "contractspec-bun-build prebuild",
27
27
  "typecheck": "tsc --noEmit"
28
28
  },
29
29
  "dependencies": {
30
- "@contractspec/lib.contracts-spec": "3.7.5",
31
- "@contractspec/lib.schema": "3.7.5",
30
+ "@contractspec/lib.contracts-spec": "4.0.0",
31
+ "@contractspec/lib.schema": "3.7.6",
32
32
  "compare-versions": "^6.1.1",
33
33
  "openapi-types": "^12.1.3",
34
34
  "yaml": "^2.7.1",
35
35
  "zod": "^4.3.5"
36
36
  },
37
37
  "devDependencies": {
38
- "@contractspec/tool.typescript": "3.7.5",
38
+ "@contractspec/tool.typescript": "3.7.6",
39
39
  "typescript": "^5.9.3",
40
- "@contractspec/tool.bun": "3.7.5"
40
+ "@contractspec/tool.bun": "3.7.6"
41
41
  },
42
42
  "types": "./dist/index.d.ts",
43
43
  "files": [