Skip to content

Commit

Permalink
chore: bumping out of date deps (#603)
Browse files Browse the repository at this point in the history
* chore: bumping out of date deps

* chore: bump httpsnippet
  • Loading branch information
erunion authored Jan 9, 2023
1 parent c19a991 commit 66cfec9
Show file tree
Hide file tree
Showing 13 changed files with 743 additions and 1,147 deletions.
1,251 changes: 452 additions & 799 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
],
"prettier": "@readme/eslint-config/prettier",
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@readme/eslint-config": "^10.2.0",
"@commitlint/cli": "^17.4.1",
"@commitlint/config-conventional": "^17.4.0",
"@readme/eslint-config": "^10.3.2",
"alex": "^11.0.0",
"eslint": "^8.28.0",
"husky": "^8.0.2",
"eslint": "^8.31.0",
"husky": "^8.0.3",
"prettier": "^2.8.0"
},
"commitlint": {
Expand Down
218 changes: 106 additions & 112 deletions packages/api/package-lock.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@
"swagger"
],
"dependencies": {
"@readme/oas-to-har": "^20.0.1",
"@readme/oas-to-har": "^20.0.2",
"@readme/openapi-parser": "^2.4.0",
"caseless": "^0.12.0",
"chalk": "^4.1.2",
"commander": "^9.4.1",
"commander": "^9.5.0",
"datauri": "^4.1.0",
"execa": "^5.1.1",
"fetch-har": "^8.1.3",
"fetch-har": "^8.1.4",
"figures": "^3.2.0",
"find-cache-dir": "^3.3.1",
"form-data-encoder": "^1.7.2",
Expand All @@ -61,9 +61,9 @@
"lodash.startcase": "^4.4.0",
"make-dir": "^3.1.0",
"node-abort-controller": "^3.0.1",
"oas": "^20.0.1",
"oas": "^20.3.0",
"ora": "^5.4.1",
"prettier": "^2.8.1",
"prettier": "^2.8.2",
"prompts": "^2.4.2",
"remove-undefined-objects": "^2.0.2",
"semver": "^7.3.8",
Expand All @@ -83,7 +83,7 @@
"@types/lodash.setwith": "^4.3.7",
"@types/lodash.startcase": "^4.4.7",
"@types/mocha": "^10.0.1",
"@types/prettier": "^2.7.1",
"@types/prettier": "^2.7.2",
"@types/prompts": "^2.4.2",
"@types/semver": "^7.3.13",
"@types/sinon-chai": "^3.2.9",
Expand All @@ -94,10 +94,10 @@
"mocha": "^10.1.0",
"mock-require": "^3.0.3",
"nyc": "^15.1.0",
"oas-normalize": "^8.1.4",
"oas-normalize": "^8.3.1",
"sinon": "^15.0.0",
"sinon-chai": "^3.7.0",
"type-fest": "^3.3.0",
"type-fest": "^3.5.1",
"typescript": "^4.9.4",
"unique-temp-dir": "^1.0.0"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/api/test/__fixtures__/sdk/alby/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,27 @@ export type GetAccountsAccountIdAppsMetadataParam = FromSchema<
typeof schemas.GetAccountsAccountIdApps.metadata
>;
export type GetAccountsAccountIdAppsResponse200 = FromSchema<
typeof schemas.GetAccountsAccountIdApps.response['200']
(typeof schemas.GetAccountsAccountIdApps.response)['200']
>;
export type GetAppsAppIdKeysMetadataParam = FromSchema<typeof schemas.GetAppsAppIdKeys.metadata>;
export type GetAppsAppIdKeysResponse200 = FromSchema<
typeof schemas.GetAppsAppIdKeys.response['200']
(typeof schemas.GetAppsAppIdKeys.response)['200']
>;
export type GetAppsAppIdNamespacesMetadataParam = FromSchema<
typeof schemas.GetAppsAppIdNamespaces.metadata
>;
export type GetAppsAppIdNamespacesResponse200 = FromSchema<
typeof schemas.GetAppsAppIdNamespaces.response['200']
(typeof schemas.GetAppsAppIdNamespaces.response)['200']
>;
export type GetAppsAppIdQueuesMetadataParam = FromSchema<
typeof schemas.GetAppsAppIdQueues.metadata
>;
export type GetAppsAppIdQueuesResponse200 = FromSchema<
typeof schemas.GetAppsAppIdQueues.response['200']
(typeof schemas.GetAppsAppIdQueues.response)['200']
>;
export type GetAppsAppIdRulesMetadataParam = FromSchema<typeof schemas.GetAppsAppIdRules.metadata>;
export type GetAppsAppIdRulesResponse200 = FromSchema<
typeof schemas.GetAppsAppIdRules.response['200']
(typeof schemas.GetAppsAppIdRules.response)['200']
>;
export type GetAppsAppIdRulesRuleIdMetadataParam = FromSchema<
typeof schemas.GetAppsAppIdRulesRuleId.metadata
Expand Down
8 changes: 4 additions & 4 deletions packages/api/test/__fixtures__/sdk/petstore/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ export type DeletePetMetadataParam = FromSchema<typeof schemas.DeletePet.metadat
export type DeleteUserMetadataParam = FromSchema<typeof schemas.DeleteUser.metadata>;
export type FindPetsByStatusMetadataParam = FromSchema<typeof schemas.FindPetsByStatus.metadata>;
export type FindPetsByStatusResponse200 = FromSchema<
typeof schemas.FindPetsByStatus.response['200']
(typeof schemas.FindPetsByStatus.response)['200']
>;
export type FindPetsByTagsMetadataParam = FromSchema<typeof schemas.FindPetsByTags.metadata>;
export type FindPetsByTagsResponse200 = FromSchema<typeof schemas.FindPetsByTags.response['200']>;
export type GetInventoryResponse200 = FromSchema<typeof schemas.GetInventory.response['200']>;
export type FindPetsByTagsResponse200 = FromSchema<(typeof schemas.FindPetsByTags.response)['200']>;
export type GetInventoryResponse200 = FromSchema<(typeof schemas.GetInventory.response)['200']>;
export type GetOrderByIdMetadataParam = FromSchema<typeof schemas.GetOrderById.metadata>;
export type GetPetByIdMetadataParam = FromSchema<typeof schemas.GetPetById.metadata>;
export type GetUserByNameMetadataParam = FromSchema<typeof schemas.GetUserByName.metadata>;
export type LoginUserMetadataParam = FromSchema<typeof schemas.LoginUser.metadata>;
export type LoginUserResponse200 = FromSchema<typeof schemas.LoginUser.response['200']>;
export type LoginUserResponse200 = FromSchema<(typeof schemas.LoginUser.response)['200']>;
export type Order = FromSchema<typeof schemas.Order>;
export type Pet = FromSchema<typeof schemas.Pet>;
export type Tag = FromSchema<typeof schemas.Tag>;
Expand Down
106 changes: 53 additions & 53 deletions packages/api/test/__fixtures__/sdk/readme/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,42 @@ export type Changelog = FromSchema<typeof schemas.Changelog>;
export type CondensedProjectData = FromSchema<typeof schemas.CondensedProjectData>;
export type CreateCategoryMetadataParam = FromSchema<typeof schemas.CreateCategory.metadata>;
export type CreateCustomPageResponse401 = FromSchema<
typeof schemas.CreateCustomPage.response['401']
(typeof schemas.CreateCustomPage.response)['401']
>;
export type CreateCustomPageResponse403 = FromSchema<
typeof schemas.CreateCustomPage.response['403']
(typeof schemas.CreateCustomPage.response)['403']
>;
export type CreateDocMetadataParam = FromSchema<typeof schemas.CreateDoc.metadata>;
export type CreateDocResponse401 = FromSchema<typeof schemas.CreateDoc.response['401']>;
export type CreateDocResponse403 = FromSchema<typeof schemas.CreateDoc.response['403']>;
export type CreateVersionResponse400 = FromSchema<typeof schemas.CreateVersion.response['400']>;
export type CreateVersionResponse401 = FromSchema<typeof schemas.CreateVersion.response['401']>;
export type CreateVersionResponse403 = FromSchema<typeof schemas.CreateVersion.response['403']>;
export type CreateDocResponse401 = FromSchema<(typeof schemas.CreateDoc.response)['401']>;
export type CreateDocResponse403 = FromSchema<(typeof schemas.CreateDoc.response)['403']>;
export type CreateVersionResponse400 = FromSchema<(typeof schemas.CreateVersion.response)['400']>;
export type CreateVersionResponse401 = FromSchema<(typeof schemas.CreateVersion.response)['401']>;
export type CreateVersionResponse403 = FromSchema<(typeof schemas.CreateVersion.response)['403']>;
export type CustomPage = FromSchema<typeof schemas.CustomPage>;
export type DeleteApiSpecificationMetadataParam = FromSchema<
typeof schemas.DeleteApiSpecification.metadata
>;
export type DeleteApiSpecificationResponse401 = FromSchema<
typeof schemas.DeleteApiSpecification.response['401']
(typeof schemas.DeleteApiSpecification.response)['401']
>;
export type DeleteApiSpecificationResponse403 = FromSchema<
typeof schemas.DeleteApiSpecification.response['403']
(typeof schemas.DeleteApiSpecification.response)['403']
>;
export type DeleteCategoryMetadataParam = FromSchema<typeof schemas.DeleteCategory.metadata>;
export type DeleteChangelogMetadataParam = FromSchema<typeof schemas.DeleteChangelog.metadata>;
export type DeleteCustomPageMetadataParam = FromSchema<typeof schemas.DeleteCustomPage.metadata>;
export type DeleteCustomPageResponse401 = FromSchema<
typeof schemas.DeleteCustomPage.response['401']
(typeof schemas.DeleteCustomPage.response)['401']
>;
export type DeleteCustomPageResponse403 = FromSchema<
typeof schemas.DeleteCustomPage.response['403']
(typeof schemas.DeleteCustomPage.response)['403']
>;
export type DeleteDocMetadataParam = FromSchema<typeof schemas.DeleteDoc.metadata>;
export type DeleteDocResponse401 = FromSchema<typeof schemas.DeleteDoc.response['401']>;
export type DeleteDocResponse403 = FromSchema<typeof schemas.DeleteDoc.response['403']>;
export type DeleteDocResponse401 = FromSchema<(typeof schemas.DeleteDoc.response)['401']>;
export type DeleteDocResponse403 = FromSchema<(typeof schemas.DeleteDoc.response)['403']>;
export type DeleteVersionMetadataParam = FromSchema<typeof schemas.DeleteVersion.metadata>;
export type DeleteVersionResponse401 = FromSchema<typeof schemas.DeleteVersion.response['401']>;
export type DeleteVersionResponse403 = FromSchema<typeof schemas.DeleteVersion.response['403']>;
export type DeleteVersionResponse401 = FromSchema<(typeof schemas.DeleteVersion.response)['401']>;
export type DeleteVersionResponse403 = FromSchema<(typeof schemas.DeleteVersion.response)['403']>;
export type Doc = FromSchema<typeof schemas.Doc>;
export type ErrorApikeyEmpty = FromSchema<typeof schemas.ErrorApikeyEmpty>;
export type ErrorApikeyMismatch = FromSchema<typeof schemas.ErrorApikeyMismatch>;
Expand Down Expand Up @@ -83,100 +83,100 @@ export type ErrorVersionForkNotfound = FromSchema<typeof schemas.ErrorVersionFor
export type ErrorVersionInvalid = FromSchema<typeof schemas.ErrorVersionInvalid>;
export type ErrorVersionNotfound = FromSchema<typeof schemas.ErrorVersionNotfound>;
export type GetApiRegistryMetadataParam = FromSchema<typeof schemas.GetApiRegistry.metadata>;
export type GetApiRegistryResponse200 = FromSchema<typeof schemas.GetApiRegistry.response['200']>;
export type GetApiRegistryResponse200 = FromSchema<(typeof schemas.GetApiRegistry.response)['200']>;
export type GetApiSpecificationMetadataParam = FromSchema<
typeof schemas.GetApiSpecification.metadata
>;
export type GetApiSpecificationResponse200 = FromSchema<
typeof schemas.GetApiSpecification.response['200']
(typeof schemas.GetApiSpecification.response)['200']
>;
export type GetApiSpecificationResponse401 = FromSchema<
typeof schemas.GetApiSpecification.response['401']
(typeof schemas.GetApiSpecification.response)['401']
>;
export type GetApiSpecificationResponse403 = FromSchema<
typeof schemas.GetApiSpecification.response['403']
(typeof schemas.GetApiSpecification.response)['403']
>;
export type GetCategoriesMetadataParam = FromSchema<typeof schemas.GetCategories.metadata>;
export type GetCategoriesResponse200 = FromSchema<typeof schemas.GetCategories.response['200']>;
export type GetCategoriesResponse200 = FromSchema<(typeof schemas.GetCategories.response)['200']>;
export type GetCategoryDocsMetadataParam = FromSchema<typeof schemas.GetCategoryDocs.metadata>;
export type GetCategoryMetadataParam = FromSchema<typeof schemas.GetCategory.metadata>;
export type GetChangelogMetadataParam = FromSchema<typeof schemas.GetChangelog.metadata>;
export type GetChangelogsMetadataParam = FromSchema<typeof schemas.GetChangelogs.metadata>;
export type GetChangelogsResponse200 = FromSchema<typeof schemas.GetChangelogs.response['200']>;
export type GetChangelogsResponse200 = FromSchema<(typeof schemas.GetChangelogs.response)['200']>;
export type GetCustomPageMetadataParam = FromSchema<typeof schemas.GetCustomPage.metadata>;
export type GetCustomPageResponse401 = FromSchema<typeof schemas.GetCustomPage.response['401']>;
export type GetCustomPageResponse403 = FromSchema<typeof schemas.GetCustomPage.response['403']>;
export type GetCustomPageResponse401 = FromSchema<(typeof schemas.GetCustomPage.response)['401']>;
export type GetCustomPageResponse403 = FromSchema<(typeof schemas.GetCustomPage.response)['403']>;
export type GetCustomPagesMetadataParam = FromSchema<typeof schemas.GetCustomPages.metadata>;
export type GetCustomPagesResponse200 = FromSchema<typeof schemas.GetCustomPages.response['200']>;
export type GetCustomPagesResponse401 = FromSchema<typeof schemas.GetCustomPages.response['401']>;
export type GetCustomPagesResponse403 = FromSchema<typeof schemas.GetCustomPages.response['403']>;
export type GetCustomPagesResponse200 = FromSchema<(typeof schemas.GetCustomPages.response)['200']>;
export type GetCustomPagesResponse401 = FromSchema<(typeof schemas.GetCustomPages.response)['401']>;
export type GetCustomPagesResponse403 = FromSchema<(typeof schemas.GetCustomPages.response)['403']>;
export type GetDocMetadataParam = FromSchema<typeof schemas.GetDoc.metadata>;
export type GetDocResponse401 = FromSchema<typeof schemas.GetDoc.response['401']>;
export type GetDocResponse403 = FromSchema<typeof schemas.GetDoc.response['403']>;
export type GetErrorsResponse401 = FromSchema<typeof schemas.GetErrors.response['401']>;
export type GetErrorsResponse403 = FromSchema<typeof schemas.GetErrors.response['403']>;
export type GetOpenRolesResponse200 = FromSchema<typeof schemas.GetOpenRoles.response['200']>;
export type GetDocResponse401 = FromSchema<(typeof schemas.GetDoc.response)['401']>;
export type GetDocResponse403 = FromSchema<(typeof schemas.GetDoc.response)['403']>;
export type GetErrorsResponse401 = FromSchema<(typeof schemas.GetErrors.response)['401']>;
export type GetErrorsResponse403 = FromSchema<(typeof schemas.GetErrors.response)['403']>;
export type GetOpenRolesResponse200 = FromSchema<(typeof schemas.GetOpenRoles.response)['200']>;
export type GetProductionDocMetadataParam = FromSchema<typeof schemas.GetProductionDoc.metadata>;
export type GetProductionDocResponse401 = FromSchema<
typeof schemas.GetProductionDoc.response['401']
(typeof schemas.GetProductionDoc.response)['401']
>;
export type GetProductionDocResponse403 = FromSchema<
typeof schemas.GetProductionDoc.response['403']
(typeof schemas.GetProductionDoc.response)['403']
>;
export type GetProjectResponse401 = FromSchema<typeof schemas.GetProject.response['401']>;
export type GetProjectResponse403 = FromSchema<typeof schemas.GetProject.response['403']>;
export type GetProjectResponse401 = FromSchema<(typeof schemas.GetProject.response)['401']>;
export type GetProjectResponse403 = FromSchema<(typeof schemas.GetProject.response)['403']>;
export type GetVersionMetadataParam = FromSchema<typeof schemas.GetVersion.metadata>;
export type GetVersionResponse401 = FromSchema<typeof schemas.GetVersion.response['401']>;
export type GetVersionResponse403 = FromSchema<typeof schemas.GetVersion.response['403']>;
export type GetVersionsResponse401 = FromSchema<typeof schemas.GetVersions.response['401']>;
export type GetVersionsResponse403 = FromSchema<typeof schemas.GetVersions.response['403']>;
export type GetVersionResponse401 = FromSchema<(typeof schemas.GetVersion.response)['401']>;
export type GetVersionResponse403 = FromSchema<(typeof schemas.GetVersion.response)['403']>;
export type GetVersionsResponse401 = FromSchema<(typeof schemas.GetVersions.response)['401']>;
export type GetVersionsResponse403 = FromSchema<(typeof schemas.GetVersions.response)['403']>;
export type JobOpening = FromSchema<typeof schemas.JobOpening>;
export type SearchDocsMetadataParam = FromSchema<typeof schemas.SearchDocs.metadata>;
export type SearchDocsResponse401 = FromSchema<typeof schemas.SearchDocs.response['401']>;
export type SearchDocsResponse403 = FromSchema<typeof schemas.SearchDocs.response['403']>;
export type SearchDocsResponse401 = FromSchema<(typeof schemas.SearchDocs.response)['401']>;
export type SearchDocsResponse403 = FromSchema<(typeof schemas.SearchDocs.response)['403']>;
export type UpdateApiSpecificationBodyParam = FromSchema<
typeof schemas.UpdateApiSpecification.body
>;
export type UpdateApiSpecificationMetadataParam = FromSchema<
typeof schemas.UpdateApiSpecification.metadata
>;
export type UpdateApiSpecificationResponse400 = FromSchema<
typeof schemas.UpdateApiSpecification.response['400']
(typeof schemas.UpdateApiSpecification.response)['400']
>;
export type UpdateApiSpecificationResponse401 = FromSchema<
typeof schemas.UpdateApiSpecification.response['401']
(typeof schemas.UpdateApiSpecification.response)['401']
>;
export type UpdateApiSpecificationResponse403 = FromSchema<
typeof schemas.UpdateApiSpecification.response['403']
(typeof schemas.UpdateApiSpecification.response)['403']
>;
export type UpdateCategoryMetadataParam = FromSchema<typeof schemas.UpdateCategory.metadata>;
export type UpdateChangelogMetadataParam = FromSchema<typeof schemas.UpdateChangelog.metadata>;
export type UpdateCustomPageMetadataParam = FromSchema<typeof schemas.UpdateCustomPage.metadata>;
export type UpdateCustomPageResponse401 = FromSchema<
typeof schemas.UpdateCustomPage.response['401']
(typeof schemas.UpdateCustomPage.response)['401']
>;
export type UpdateCustomPageResponse403 = FromSchema<
typeof schemas.UpdateCustomPage.response['403']
(typeof schemas.UpdateCustomPage.response)['403']
>;
export type UpdateDocMetadataParam = FromSchema<typeof schemas.UpdateDoc.metadata>;
export type UpdateDocResponse401 = FromSchema<typeof schemas.UpdateDoc.response['401']>;
export type UpdateDocResponse403 = FromSchema<typeof schemas.UpdateDoc.response['403']>;
export type UpdateDocResponse401 = FromSchema<(typeof schemas.UpdateDoc.response)['401']>;
export type UpdateDocResponse403 = FromSchema<(typeof schemas.UpdateDoc.response)['403']>;
export type UpdateVersionMetadataParam = FromSchema<typeof schemas.UpdateVersion.metadata>;
export type UpdateVersionResponse401 = FromSchema<typeof schemas.UpdateVersion.response['401']>;
export type UpdateVersionResponse403 = FromSchema<typeof schemas.UpdateVersion.response['403']>;
export type UpdateVersionResponse401 = FromSchema<(typeof schemas.UpdateVersion.response)['401']>;
export type UpdateVersionResponse403 = FromSchema<(typeof schemas.UpdateVersion.response)['403']>;
export type UploadApiSpecificationBodyParam = FromSchema<
typeof schemas.UploadApiSpecification.body
>;
export type UploadApiSpecificationMetadataParam = FromSchema<
typeof schemas.UploadApiSpecification.metadata
>;
export type UploadApiSpecificationResponse400 = FromSchema<
typeof schemas.UploadApiSpecification.response['400']
(typeof schemas.UploadApiSpecification.response)['400']
>;
export type UploadApiSpecificationResponse401 = FromSchema<
typeof schemas.UploadApiSpecification.response['401']
(typeof schemas.UploadApiSpecification.response)['401']
>;
export type UploadApiSpecificationResponse403 = FromSchema<
typeof schemas.UploadApiSpecification.response['403']
(typeof schemas.UploadApiSpecification.response)['403']
>;
export type Version = FromSchema<typeof schemas.Version>;
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ import type { FromSchema } from 'json-schema-to-ts';
import * as schemas from './schemas';

export type GetAnythingMetadataParam = FromSchema<typeof schemas.GetAnything.metadata>;
export type GetAnythingResponse2XX = FromSchema<typeof schemas.GetAnything.response['2XX']>;
export type GetAnythingResponse2XX = FromSchema<(typeof schemas.GetAnything.response)['2XX']>;
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type ApiResponse = FromSchema<typeof schemas.ApiResponse>;
export type Category = FromSchema<typeof schemas.Category>;
export type FindPetsByStatusMetadataParam = FromSchema<typeof schemas.FindPetsByStatus.metadata>;
export type FindPetsByStatusResponse200 = FromSchema<
typeof schemas.FindPetsByStatus.response['200']
(typeof schemas.FindPetsByStatus.response)['200']
>;
export type Order = FromSchema<typeof schemas.Order>;
export type Pet = FromSchema<typeof schemas.Pet>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type ApiResponse = FromSchema<typeof schemas.ApiResponse>;
export type Category = FromSchema<typeof schemas.Category>;
export type FindPetsByStatusMetadataParam = FromSchema<typeof schemas.FindPetsByStatus.metadata>;
export type FindPetsByStatusResponse200 = FromSchema<
typeof schemas.FindPetsByStatus.response['200']
(typeof schemas.FindPetsByStatus.response)['200']
>;
export type Order = FromSchema<typeof schemas.Order>;
export type Pet = FromSchema<typeof schemas.Pet>;
Expand Down
Loading

0 comments on commit 66cfec9

Please sign in to comment.