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

chore(deps): update dependency remeda to v2 #135

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 30, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
remeda (source) ^1.61.0 -> ^2.2.1 age adoption passing confidence

Release Notes

remeda/remeda (remeda)

v2.2.1

Compare Source

Bug Fixes

v2.2.0

Compare Source

Features

v2.1.0

Compare Source

Features

v2.0.12

Compare Source

Bug Fixes
  • pullObject,fromKeys: Don't partialize unbound records (#​735) (ca8f2d4)

v2.0.11

Compare Source

Bug Fixes

v2.0.10

Compare Source

Bug Fixes

v2.0.9

Compare Source

Bug Fixes

v2.0.8

Compare Source

Bug Fixes

v2.0.7

Compare Source

Bug Fixes

v2.0.6

Compare Source

Bug Fixes

v2.0.5

Compare Source

Bug Fixes

v2.0.4

Compare Source

Bug Fixes
  • set: prevent setting undefined on optional props (#​715) (43f3fc8)

v2.0.3

Compare Source

Bug Fixes

v2.0.2

Compare Source

Bug Fixes

v2.0.1

Compare Source

Bug Fixes

v2.0.0

Compare Source

🎉 We are excited to announce the release of Remeda v2! 🎉

It's been nearly two years since our last major update, and this version is packed with the improvements and changes you've been waiting for. This release focuses on modernization and simplification, gathering many important updates into one comprehensive release.

To make the transition as easy as possible we've prepared a thorough migration guide, which can be found on our documentation site.

Highlights

  • Modernized Runtime and TypeScript Support: Remeda is now compiled with a target of ES2022, and the minimum TypeScript version is now 5.1, allowing us to leverage the latest features for improved type safety and better runtime performance.
  • Removed Variants: The indexed and strict variants are now merged into the base functions, with indexed parameters and improved typing as defaults, respectively.
  • Headless Invocation Changes: Functions like keys and identity should now be called with no parameters to get their dataLast implementation; only type-guards remain headless.
  • Function Renames and Removals: We have aligned function names with ECMAScript standards (e.g., toPairs is now entries), and removed redundant functions that can be replaced with combinations of other functions (e.g., compact replaced with filter(isTruthy)).
  • Object Keys Handling: Typing changes better reflect JavaScript's handling of symbol and number keys.
  • Re-Implementations: Several functions, including clone, difference, and intersect, have had their runtime implementations and semantics adjusted to handle edge cases more consistently.

We believe these changes will enhance your development experience, making Remeda more powerful and easier to use. Thank you for being a part of the Remeda community. If you encounter any issues or have questions, please reach out on our GitHub Issues page. Happy coding!

Go ahead and update!
npm install remeda@latest
yarn add remeda@latest
pnpm add remeda@latest
bun add remeda@latest

The Remeda Team


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - "before 4am" in timezone Asia/Shanghai.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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.

Copy link

coderabbitai bot commented May 30, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Tip

Early access features: enabled

We are currently testing the following features in early access:

  • OpenAI gpt-4o model for code reviews and chat: OpenAI claims that this model is better at understanding and generating code than the previous models. We seek your feedback over the next few weeks before making it generally available.

Note:

  • You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file.
  • Please join our Discord Community to provide feedback and report issues.
  • OSS projects are always opted into early access features.

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/remeda-2.x branch 8 times, most recently from bc70095 to 7239ae4 Compare June 9, 2024 15:21
@renovate renovate bot force-pushed the renovate/remeda-2.x branch 5 times, most recently from 1bc2720 to c885faf Compare June 15, 2024 21:20
@renovate renovate bot force-pushed the renovate/remeda-2.x branch 6 times, most recently from a099a93 to e273edf Compare June 22, 2024 23:03
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.

None yet

0 participants