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

build(deps): bump @giscus/react from 2.4.0 to 3.0.0 #109

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 2, 2024

Bumps @giscus/react from 2.4.0 to 3.0.0.

Release notes

Sourced from @​giscus/react's releases.

@​giscus/react v3.0.0

Added

  • Update types with new available languages and themes.

Changed

  • Breaking: drop CommonJS support. This package is now ESM-only (#1998).

Fixed

  • Fix incompatibility with Next.js 14.1 when using the app router (#1976).
Commits
  • ad31fa6 common: Bump versions
  • f71ba9b common: Update types
  • 77f6fb0 react: Format config files too
  • 36973ff react: Export as pure ESM
  • e8417b2 common: Update dependencies
  • 111050c react: Remove packaged 2.3.0
  • 13d5043 build(deps-dev): bump the react group in /react with 6 updates
  • 33dcbb2 build(deps-dev): bump the react group in /react with 5 updates
  • 268fbcd build(deps-dev): bump the react group in /react with 7 updates
  • 46718bc build(deps-dev): bump the react group in /react with 6 updates
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Summary by Sourcery

Build:

  • Bump @giscus/react dependency from version 2.4.0 to 3.0.0 in package.json.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [@giscus/react](https://github.com/giscus/giscus-component/tree/HEAD/react) from 2.4.0 to 3.0.0.
- [Release notes](https://github.com/giscus/giscus-component/releases)
- [Commits](https://github.com/giscus/giscus-component/commits/@giscus/react-v3.0.0/react)

---
updated-dependencies:
- dependency-name: "@giscus/react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 2, 2024
Copy link

vercel bot commented Dec 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
stiletto-web ❌ Failed (Inspect) Dec 9, 2024 9:38pm

Copy link
Contributor

sourcery-ai bot commented Dec 2, 2024

Reviewer's Guide by Sourcery

This PR updates the @giscus/react dependency from version 2.4.0 to 3.0.0. This is a major version upgrade that introduces breaking changes by dropping CommonJS support in favor of ESM-only modules. The update also includes improvements to TypeScript types for languages and themes, and fixes compatibility issues with Next.js 14.1 when using the app router.

Class diagram for updated @giscus/react dependency

classDiagram
    class GiscusReact {
        +languages: String[]
        +themes: String[]
        +ESMOnly: Boolean
    }
    note for GiscusReact "Updated to version 3.0.0 with ESM-only support and improved types for languages and themes."
Loading

File-Level Changes

Change Details Files
Major version upgrade of @giscus/react dependency
  • Updates package version from 2.4.0 to 3.0.0
  • Drops CommonJS support in favor of ESM-only modules
  • Updates TypeScript types with new available languages and themes
  • Fixes Next.js 14.1 app router compatibility issues
package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Copy link

github-actions bot commented Dec 2, 2024

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ✅ 0 package(s) with unknown licenses.
  • ⚠️ 1 packages with OpenSSF Scorecard issues.
See the Details below.

OpenSSF Scorecard

PackageVersionScoreDetails
npm/@giscus/react ^3.0.0 ⚠️ 2.6
Details
CheckScoreReason
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Code-Review⚠️ 0Found 0/1 approved changesets -- score normalized to 0
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Maintained⚠️ 00 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
Security-Policy⚠️ 0security policy file not detected
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Vulnerabilities⚠️ 19 existing vulnerabilities detected

Scanned Files

  • package.json

Copy link

sonarqubecloud bot commented Dec 9, 2024

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 6, 2025

A newer version of @​giscus/react exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant