This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Update dependencies and replace request
package
#2239
Open
strmer15
wants to merge
3
commits into
howdyai:main
Choose a base branch
from
strmer15:replace_request_with_fetch
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@strmer15 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
@microsoft-github-policy-service agree company="The Farmer's Dog" |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This fixes #2238
Updates a lot of dependencies, since I couldn't actually install or build anything until I did a lot of these
eslint
and plugins, so that there weren't peer dependency errors@typescript-eslint/ban-ts-ignore
to@typescript-eslint/ban-ts-comment
eslint-plugin-node
has been replaced byeslint-plugin-n
typescript
andtsdoc
,tsdoc
0.22 was giving peer dependency errors about oldtypescript
build-docs
command, seems like it may have been broken for a while - incorrect options, missing tsconfigtypedoc-plugin-external-module-name
since it's no longer maintained and doesn't work with newertsdoc
versionspackage-lock.json
files, some of them were deleted since they're no longer usedlerna
and updated thereadme
Replaced
request
withcross-fetch
in a few different placesresponse.ok
(for a 2xx response status) and then throwing anError
if it doesn't match. Then, I'm handling the response as plain text or as JSON if it parses correctly.