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 the npm_and_yarn group group with 1 update #159

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 8 months ago

Bumps the npm_and_yarn group group with 1 update: booru.

Updates booru from 0.3.6 to 2.6.4

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.4

  • Update dependencies, notably fixing a fast-xml-parser security issue

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)

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by atorasuunva, a new releaser for booru since your current version.


Dependabot compatibility score

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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/Weeaboo-Bot/discordbot/network/alerts).
dependabot[bot] commented 8 months ago

Looks like booru is up-to-date now, so this is no longer needed.