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

[Snyk] Upgrade algoliasearch from 4.17.1 to 4.22.0 #241

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

Conversation

NOUIY
Copy link
Owner

@NOUIY NOUIY commented Jan 8, 2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade algoliasearch from 4.17.1 to 4.22.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 8 versions ahead of your current version.
  • The recommended version was released 25 days ago, on 2023-12-14.
Release notes
Package name: algoliasearch
  • 4.22.0 - 2023-12-14

    v4.22.0

    • fix(recommend): update TrendingFacetHit facetValue type to string (#1498) (ac9d6e2), closes #1498

    Why

    The trending-facets API only returns type string for facetValue.

    A follow-up on #1494 as other models return items/hits which are of type RecordWithObjectID

    However, trending-facets model returns a list of TrendingFacetHit which (by definition) don't have an objectID property.

    How

    To simplify the code, we can remove the type argument TObject for trending-facets

    Impact

    If you're not using TypeScript or the trending-facets model, there is nothing to change. You can ignore the following.

    Otherwise, you will need to remove the type argument passed to getTrendingFacets and the code goes from this:

    type FacetType = {
      facetName: string;
      facetValue: string;
    }
    const { results } = await client.getTrendingFacets<FacetType>(/**/)

    To this:

    const { results } = await client.getTrendingFacets(/**/)
  • 4.21.1 - 2023-12-12

    v4.21.1

    • fix(recommend): RecommendedForYouQuery userToken should be required (#1496) (d20b253), closes #1496
  • 4.21.0 - 2023-12-11

    v4.21.0

  • 4.20.0 - 2023-09-12
  • 4.19.1 - 2023-07-20
  • 4.19.0 - 2023-07-18
  • 4.18.0 - 2023-06-23
  • 4.17.2 - 2023-06-08
  • 4.17.1 - 2023-05-24
from algoliasearch GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Copy link

guardrails bot commented Jan 8, 2024

⚠️ We detected 7 security issues in this pull request:

Vulnerable Libraries (7)
Severity Details
High pkg:npm/[email protected] (t) upgrade to: > 3.15.0
N/A pkg:npm/[email protected] (t) upgrade to: 15.10.1
High pkg:npm/@11ty/[email protected] (t) upgrade to: > 1.0.2
High pkg:npm/[email protected] (t) upgrade to: > 4.3.8
High pkg:npm/[email protected] (t) upgrade to: > 4.18.2
Medium pkg:npm/[email protected] (t) upgrade to: > 3.1.1
Critical pkg:npm/@google-cloud/[email protected] (t) upgrade to: > 3.12.0

More info on how to fix Vulnerable Libraries in JavaScript.


👉 Go to the dashboard for detailed results.

📥 Happy? Share your feedback with us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants