Weeaboo-Bot / discordbot

Discord.JS bot that I have been working on for the past 2 years.
https://discordbot-eight.now.sh
10 stars 4 forks source link

Bump tough-cookie and booru #147

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 1 year ago

Removes tough-cookie. It's no longer used after updating ancestor dependency booru. These dependencies need to be updated together.

Removes tough-cookie

Updates booru from 0.3.6 to 2.6.3

Release notes

Sourced from booru's releases.

2.6.1

  • Fixed tags being incorrectly joined with an encoded +/, (#93)

2.6.0

  • Added credential support
    • Support is fairly basic and only support query param auth
    • The credential object provided will be serialized into query params
    • Previously credentials did nothing, now they do something
  • Updated some types to return more useful type unions (like AnySite being a union of all site domains)
  • Booru#getSearchUrl now properly accepts no parameters
const booru = require('booru')
const gelbooru = booru.forSite('gb', { api_key: 'key', user_id: 'id' })
gelbooru.getSearchUrl()
// https://gelbooru.com/index.php?page=dapi&s=post&q=index&json=1&tags=&limit=100&pid=1&api_key=key&user_id=id

// or booru.search('gb', [], { credentials: { api_key: 'key', user_id: 'id' }, }) // Uses the same search URL as above

v2.5.3

2.5.3

  • Use encodeURIComponent instead of encodeURI for tags to properly encode them
  • Update some project files for more consistent development

v2.5.2

2.5.2

  • Fixed parsing of gelbooru's API response

v2.5.0

2.5.0

  • Update API endpoint for r34.xxx, see AtoraSuunva/booru#75
  • Add Booru#getSearchUrl, meant for aiding in debugging
    • You can use this to get the URL that booru would use to search, to inspect the response yourself
  • Minor changes to allow VS code's Run & Debug to work, kinda
    • Still needs some setup, and some refactoring to get working nicely

v2.4.0

  • Removed furry.booru.org since they have CloudFlare browser verification enabled.
    • As far as I know, there's no (intended) way to bypass this if you're not a browser.
    • Added CloudFlare-specific error message if this happens in the future
  • Add fix for Paheal changing their API response format
  • Make example.js only specify the "cat" default tag if you don't specify a site

... (truncated)

Changelog

Sourced from booru's changelog.

2.6.3

  • Export more types:
    • BooruCredentials, Derpibooru, XmlBooru, Post, SearchParameters, SearchResults, Site
  • Correctly mark Hypnohub as not supporting order:random (or any random sorting)
  • Update dependencies

2.6.2

  • Fixed tags being encoded twice (#94)
  • Fixed e621/e926 returning score: NaN on posts with 0 total score

2.6.1

  • Fixed tags being incorrectly joined with an encoded +/, (#93)

2.6.0

  • Added credential support
    • Support is fairly basic and only support query param auth
    • The credential object provided will be serialized into query params
    • Previously credentials did nothing, now they do something
  • Updated some types to return more useful type unions (like AnySite being a union of all site domains)
  • Booru#getSearchUrl now properly accepts no parameters
const booru = require('booru')
const gelbooru = booru.forSite('gb', { api_key: 'key', user_id: 'id' })
gelbooru.getSearchUrl()
// https://gelbooru.com/index.php?page=dapi&s=post&q=index&json=1&tags=&limit=100&pid=1&api_key=key&user_id=id

// or booru.search('gb', [], { credentials: { api_key: 'key', user_id: 'id' }, }) // Uses the same search URL as above

2.5.9

2.5.8

  • Fix error when searching rule34.xxx with tags that return no results
    • For some reason, the API literally returns an empty response with HTTP 200 instead of an empty array (or at least a different status code)

2.5.7

  • Fix error when splitting by tags when konachan returned an empty string (thanks youliao)

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Weeaboo-Bot/discordbot/network/alerts).
sean351 commented 8 months ago

@dependabot rebase

dependabot[bot] commented 8 months ago

Looks like these dependencies are updatable in another way, so this is no longer needed.