Skip to content
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

chore(deps): update dependency imgur to v2 #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 23, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
imgur ^0.2.1 -> ^2.0.0 age adoption passing confidence

Release Notes

keneucker/imgur (imgur)

v2.3.0

Compare Source

v2.2.0

Compare Source

Features
  • createalbum: adds the createAlbum method for creating new albums (4834011)

v2.1.4

Compare Source

Bug Fixes
  • license: licensed under the GNU Affero GPL (e8aa619)
  • update,upload: removes the support for array payloads and resolves issues with updateImage (51db842)

v2.1.3

Compare Source

Bug Fixes
  • upload: removes the console log from the upload method (dec56dc)
  • utils: resolves issues with error return success values always being true (11482d0)

v2.1.2

Compare Source

Bug Fixes
  • version: updates the version number (ea14efb)

v2.1.0

Compare Source

Features
  • src: adds rapid api support using new fields: rapidApiKey and rapidApiHost (8258321)

v2.0.3

Compare Source

Bug Fixes
  • utils: resolves issues with the response of errored requests (1010a10)

v2.0.2

Compare Source

Bug Fixes
  • src: now supports the use of a refresh token to obtain an access token (6d99e6d)

v2.0.1

Compare Source

Bug Fixes
  • client: fixes the issue of formData.getHeader not being available in the browser (ad6a684)
  • example: adds an example for nodejs uploads (e000bc2)
  • example: adds example code for the browser and cleans up the compilation configuration (07911ce)
  • src: resolves issues with uploads in the browser (d0d2867)
  • utils: removes fix from previous PR, which is unnecessary (d168e73)

v2.0.0

Compare Source

Bug Fixes
  • dependencies: updates all packages (c1cc9b0)
  • src: now properly handling errors with axios requests (3d40d05)
chore
BREAKING CHANGES
  • imgur 2.0.0

v1.0.2

Compare Source

v1.0.1

Compare Source

Bug Fixes
  • build: updates scripts and some names (56443a3)

v1.0.0

Compare Source

Bug Fixes
  • removes references to next branch (adf12d9)
  • _imgurrequest: fix logical check for credits/search (bb1c8ba), closes #​59
  • authorize.ts: adds eslint ignore for an explicit any in the test mock for authorization (f4ec54b)
  • scripts: updates to scripts (9340c2e)
  • search: fix json response (333aadd)
  • searchgallery: make searchGallery method accessible from client (08dd33f)
  • src/image: resolves issues with uploads by adding form.getHeaders when sending formData w/axios (a3c5a53)
  • utils: resolves issue with url uploads (bbaa974)
  • fix authorization flow (7959f3c)
  • fix cli utility and incorrect references to .data (5862a76)
  • fix types (a8deffe)
Code Refactoring
  • src: replaces got with axios, package is now compatible with both the browser and nodejs (a239e38)
  • initial impl of ImgurClient class (1609940)
  • authorization: remove built-in authorization flow (f7610ff), closes #​115
Features
  • album: add getAlbum (00bb0bd)
  • add deleteImage (0488d7b)
  • add favoriteImage (251a970)
  • add getGallery() (35dcad6)
  • add getSubredditGallery() (c72abcb)
  • add searchGallery() (3f058ed)
  • add updateImage (5a767c7)
  • initial reimplementation of the upload method (eeba909)
  • favoriteimage: adds functionality to favorite an image (48ba7b0)
  • getgalleryinfo: added a new method getGalleryInfo for retrieving gallery information (2ad7f51)
  • getgalleryinfo: added tests and handler mocks for getGalleryInfo (c6ee364)
  • setaccesstoken: adding a new method setAccessToken to set the access token externally (a5ac3d2)
  • updateinfo: added the updateInfo method and included a new test file for this method (42e71f2)
  • updateinfo: addressing requested changes for #​112, added code for update operation (49dcf0f)
Reverts
  • Revert "refactor(authorization): remove built-in authorization flow" (6cd8643)

  • refactor!: remove globbing from uploadFile (f09f017)

BREAKING CHANGES
  • src: The package can no longer be used with string path variables pointing to local
    files. This moves a single line of code, using fs.createReadStream, out of the project and places
    that responsibility on the consumer. The package now supports streams in favor of the string
    filepath upload.
  • ImgurClient class replaces imgur object
  • authorization: Imgur no longer supports the Resource Owner Password Credentials Grant type,
    so the outdated (i.e., broken) code that requires your username and password has been removed.
    You must now manage the Authorization Code Grant type flow yourself to obtain an access token
    via server redirect/callback and then provide it to this module via setAccessToken
  • uploadFile no longer accepts a glob pattern. It now
    accepts either a single image path or an array of image paths. If you
    must glob, do it yourself and then pass in the array. This removes an
    unnecessary complexity from the most important method.

v0.3.2

Compare Source

v0.3.1

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner December 23, 2021 20:55
@codecov
Copy link

codecov bot commented Dec 23, 2021

Codecov Report

❗ No coverage uploaded for pull request base (main@4f3eb23). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #35   +/-   ##
=======================================
  Coverage        ?   79.51%           
=======================================
  Files           ?        7           
  Lines           ?       83           
  Branches        ?       17           
=======================================
  Hits            ?       66           
  Misses          ?       12           
  Partials        ?        5           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@renovate renovate bot force-pushed the renovate/imgur-2.x branch 5 times, most recently from c29fabb to 400a7e6 Compare January 12, 2022 16:11
@renovate renovate bot force-pushed the renovate/imgur-2.x branch 3 times, most recently from 617ed84 to c6244b3 Compare March 14, 2022 13:09
@renovate renovate bot force-pushed the renovate/imgur-2.x branch 3 times, most recently from a2d3dcc to 6879939 Compare April 9, 2022 00:06
@renovate renovate bot force-pushed the renovate/imgur-2.x branch 2 times, most recently from 7546fc0 to 7125522 Compare April 26, 2022 17:23
@renovate renovate bot force-pushed the renovate/imgur-2.x branch 3 times, most recently from 0190a7d to 8ae4162 Compare May 5, 2022 16:34
@renovate renovate bot force-pushed the renovate/imgur-2.x branch 2 times, most recently from 720d02f to 8804894 Compare October 3, 2022 14:47
@renovate renovate bot force-pushed the renovate/imgur-2.x branch 2 times, most recently from 9aa384e to f919cf8 Compare November 3, 2022 18:28
@renovate renovate bot force-pushed the renovate/imgur-2.x branch 2 times, most recently from 3d18da3 to e812638 Compare January 17, 2023 22:54
@renovate renovate bot force-pushed the renovate/imgur-2.x branch 5 times, most recently from 5413715 to fa04269 Compare July 5, 2023 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
0 participants