oas 23.0.0 → 23.0.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/dist/index.d.cts CHANGED
@@ -184,7 +184,7 @@ declare class Oas {
184
184
  * @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md#oasObject}
185
185
  * @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#openapi-object}
186
186
  */
187
- getPaths(): Record<string, Record<HttpMethods, Operation | Webhook>>;
187
+ getPaths(): Record<string, Record<HttpMethods, Webhook | Operation>>;
188
188
  /**
189
189
  * Returns the `webhooks` object that exists in this API definition but with every `method`
190
190
  * mapped to an instance of the `Webhook` class.
package/dist/index.d.ts CHANGED
@@ -184,7 +184,7 @@ declare class Oas {
184
184
  * @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md#oasObject}
185
185
  * @see {@link https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#openapi-object}
186
186
  */
187
- getPaths(): Record<string, Record<HttpMethods, Operation | Webhook>>;
187
+ getPaths(): Record<string, Record<HttpMethods, Webhook | Operation>>;
188
188
  /**
189
189
  * Returns the `webhooks` object that exists in this API definition but with every `method`
190
190
  * mapped to an instance of the `Webhook` class.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oas",
3
- "version": "23.0.0",
3
+ "version": "23.0.2",
4
4
  "description": "Comprehensive tooling for working with OpenAPI definitions",
5
5
  "license": "MIT",
6
6
  "author": "ReadMe <support@readme.io> (https://readme.com)",
@@ -89,7 +89,7 @@
89
89
  "oas-normalize": "^11.0.1",
90
90
  "openapi-types": "^12.1.1",
91
91
  "path-to-regexp": "^6.2.0",
92
- "remove-undefined-objects": "^4.0.2"
92
+ "remove-undefined-objects": "^5.0.0"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@readme/oas-examples": "^5.12.0",
@@ -103,5 +103,5 @@
103
103
  "vitest": "^0.34.4"
104
104
  },
105
105
  "prettier": "@readme/eslint-config/prettier",
106
- "gitHead": "f7476178b1a63e94cc3d604b2755401caeb65527"
106
+ "gitHead": "272e568ae2380435f4347f6848a14f74178c02c2"
107
107
  }