Compatibility
The following table shows the compatibility relationship between the different packages integrated within the OAS Tools ecosystem and different technologies and standards:
| COMPATIBILITY CHART | Node.js Version | OpenAPI version | Javascript syntax | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Package | <=v12 | v14 | v16 | v18 | 3.0 | 3.1 | CommonJS | ESM | |
| @oas-tools/cli | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | - | - | |
| @oas-tools/commons | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| oas-tools (v2) | Security | ✓ | ✓ | ✓ | ? | ✓ | ✘ | ✓ | ✘ |
| Auth | ✓ | ✓ | ✓ | ? | ✓ | ✘ | ✓ | ✘ | |
| Validator | ✓ | ✓ | ✓ | ? | ✓ | ✘ | ✓ | ✘ | |
| Router | ✓ | ✓ | ✓ | ? | ✓ | ✘ | ✓ | ✘ | |
| SwaggerUI | ✓ | ✓ | ✓ | ? | ✓ | ✘ | ✓ | ✘ | |
| @oas-tools/core (v3) | Params | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Security | ✘ | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Validator | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| Router | ✘ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | |
| SwaggerUI | ✘ | ✓ | ✓ | ✓ | ✓ | ✘ | ✓ | ✓ | |