Skip to content

chore(ci): update dependencies#891

Closed
mmorel-35 wants to merge 1 commit intoactions:mainfrom
mmorel-35:main
Closed

chore(ci): update dependencies#891
mmorel-35 wants to merge 1 commit intoactions:mainfrom
mmorel-35:main

Conversation

@mmorel-35
Copy link

@mmorel-35 mmorel-35 commented Aug 23, 2021

Hi @luketomlinson ! I have updated the current dependencies with the help of dependabot. When you have a chance to take a look 😊!
It fixes the audit failure by the way.

@mmorel-35 mmorel-35 requested a review from a team as a code owner August 23, 2021 09:56
@mmorel-35 mmorel-35 requested a review from a team August 23, 2021 09:56
@brcrista
Copy link
Contributor

Hey @mmorel-35 -- thanks for opening the PR. I see there are lots of changes here:

  • Adding Dependabot config
  • Updating package versions
  • Changing TypeScript settings
  • Adding type annotations in the code

You can help us out and increase your chances of your PR getting merged if you scope down to one specific thing. It's ok to submit multiple PRs for separate issues.

Also, if you can give more context in the description on the problem you are solving, that will be much appreciated as well. Thanks!

@mmorel-35
Copy link
Author

Hi @brcrista , I'm going to start by focusing on dependencies updates then

@mmorel-35 mmorel-35 marked this pull request as draft August 25, 2021 14:28
Signed-off-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
Co-Authored-By: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-Authored-By: MOREL Matthieu <matthieu.morel@cnp.fr>
Co-Authored-By: Matthieu MOREL <mmorel-35@users.noreply.github.com>
// Start proxy server
proxyServer = proxy()
await new Promise(resolve => {
await new Promise<void>(resolve => {
Copy link
Author

Choose a reason for hiding this comment

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

This is required by "typescript": "^4.3.5"

afterAll(async () => {
// Stop proxy server
await new Promise(resolve => {
await new Promise<void>(resolve => {
Copy link
Author

Choose a reason for hiding this comment

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

This is required by "typescript": "^4.3.5"

isGzip: boolean
): Promise<void> {
await new Promise((resolve, reject) => {
await new Promise<void>((resolve, reject) => {
Copy link
Author

Choose a reason for hiding this comment

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

This is required by "typescript": "^4.3.5"

jest
.spyOn(HttpClient.prototype, 'patch')
.mockImplementation(async (requestdata, data) => {
.mockImplementation(async (requestUrl, data) => {
Copy link
Author

Choose a reason for hiding this comment

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

This is to use the same names as in patch function

jest
.spyOn(HttpClient.prototype, 'post')
.mockImplementation(async (requestdata, data) => {
.mockImplementation(async (requestUrl, data) => {
Copy link
Author

Choose a reason for hiding this comment

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

This is to use the same names as in post function

async function emptyMockReadBody(): Promise<string> {
return new Promise(resolve => {
resolve()
return new Promise<string>(resolve => {
Copy link
Author

Choose a reason for hiding this comment

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

This is required by "typescript": "^4.3.5"

async function emptyMockReadBody(): Promise<string> {
return new Promise(resolve => {
resolve()
return new Promise<string>(resolve => {
Copy link
Author

Choose a reason for hiding this comment

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

This is required by "typescript": "^4.3.5"

async function emptyMockReadBody(): Promise<string> {
return new Promise(resolve => {
resolve()
return new Promise<string>(resolve => {
Copy link
Author

Choose a reason for hiding this comment

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

This is required by "typescript": "^4.3.5"

"eslint-comments/no-use": "off",
"github/no-then": "off",
"import/no-namespace": "off",
"import/named": "off",
Copy link
Author

@mmorel-35 mmorel-35 Aug 25, 2021

Choose a reason for hiding this comment

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

This is because of "@typescript-eslint/parser": "^4.29.3"

@mmorel-35 mmorel-35 marked this pull request as ready for review August 25, 2021 14:54
@mmorel-35
Copy link
Author

Hi @brcrista, this is ready for review, when you have the time :)

@mmorel-35 mmorel-35 closed this Oct 23, 2021
lvpx added a commit that referenced this pull request Aug 13, 2022
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