Skip to content

Remove request and request-promise from dev dependencies #5077

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 36 commits into from
Sep 24, 2018

Conversation

flovilmart
Copy link
Contributor

@flovilmart flovilmart commented Sep 24, 2018

Let's dogfood our own http request APi, this will likely encourage use to make it better and easier.

Insead of 20 dependencies from request + 4 direct dependencies from request-promise.

We used none of the features while pulling all this dead weight.

@flovilmart flovilmart changed the title Remove request dev Remove request and request-promise from dev dependencies Sep 24, 2018
@codecov
Copy link

codecov bot commented Sep 24, 2018

Codecov Report

Merging #5077 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #5077      +/-   ##
=========================================
- Coverage   93.72%   93.7%   -0.03%     
=========================================
  Files         123     123              
  Lines        8867    8877      +10     
=========================================
+ Hits         8311    8318       +7     
- Misses        556     559       +3
Impacted Files Coverage Δ
src/cloud-code/httpRequest.js 98.43% <100%> (+0.28%) ⬆️
src/RestWrite.js 92.96% <0%> (-0.19%) ⬇️
...dapters/Storage/Postgres/PostgresStorageAdapter.js 97.16% <0%> (-0.18%) ⬇️
src/Adapters/Storage/Mongo/MongoTransform.js 88.09% <0%> (-0.15%) ⬇️
src/Routers/ClassesRouter.js 94.73% <0%> (+1.31%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 93a0017...535900b. Read the comment docs.

Copy link
Contributor

@acinader acinader left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@flovilmart flovilmart merged commit 045d941 into master Sep 24, 2018
@flovilmart flovilmart deleted the remove-request-dev branch September 24, 2018 21:07
UnderratedDev pushed a commit to UnderratedDev/parse-server that referenced this pull request Mar 21, 2020
…nity#5077)

* removes from emailverificationtoken spec

* updates winston

* Updates ValidationAndPasswordsReset

* Use local request in schemas

* Removes request in rest.spec

* Removes request from PushRouter0

* removes request from public API

* removes request from index.spec

* Removes request form parse.push spec

* removes request from ParseInstallation spec

* Removes from ParseHooks

* removes request from ParseGlobalConfig.spec

* Removes request from ParseAPI.spec.js

* removes request from LogsRouter

* removes in features

* Filters undefined headers instead of crashing

* Removes request from ParseUser spec

* Removes usage of request in ParseFile.spec.js

* Removes request from AuthAdapters.js

* removes request-promise from ParseGeoPoint.spec

* Removes request-promise from ParseQuery spec

* remove request-promise from UserPII

* removes request-promise from EnableExpressErrorHandler

* Updates RevocableSessionUpgrade spec

* Update RestQuery

* Removes read preferenceOptionM

* ensure we forward auth from URL

* use request in CloudCode.spec.js

* Removes request-promise from JobSchedule.spec

* Removes rp from VerifyUserPassword.spec.js

* Removes rp from PasswordPolicy spec

* Removes rp from ParsePolygon spec

* Removes rp from fullTextSearch spec

* Removes rp from PArseQuery.Aggregate

* Ensure we properly forward errors

* Removes request and request-promise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants