paypal-common-components icon indicating copy to clipboard operation
paypal-common-components copied to clipboard

chore(deps): update dependency imgur to v2

Open renovate[bot] opened this issue 3 years ago • 1 comments

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[bot] avatar Dec 23 '21 20:12 renovate[bot]

Codecov Report

:exclamation: 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           

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

codecov[bot] avatar Dec 23 '21 20:12 codecov[bot]