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

feat: add pullObject #576

Merged
merged 5 commits into from
Mar 22, 2024
Merged

feat: add pullObject #576

merged 5 commits into from
Mar 22, 2024

Conversation

eranhirsch
Copy link
Member

A new function the suite of object-creating utilties. Pull provides a simpler API for mapToObj style mappings where both the key and the value need to be computed from an iterable of items.


Make sure that you:

  • Typedoc added for new methods and updated for changed
  • Tests added for new methods and updated for changed
  • New methods added to src/index.ts
  • New methods added to mapping.md

We use semantic PR titles to automate the release process!

https://conventionalcommits.org

PRs should be titled following using the format: < TYPE >(< scope >)?: description

Available Types:

  • feat: new functions, and changes to a function's type that would impact users.
  • fix: changes to the runtime behavior of an existing function, or refinements to it's type that shouldn't impact most users.
  • perf: changes to function implementations that improve a functions runtime performance.
  • refactor: changes to function implementations that are neither fix nor perf
  • test: tests-only changes (transparent to users of the function).
  • docs: changes to the documentation of a function or the documentation site.
  • build, ci, style, chore, and revert: are only relevant for the internals of the library.

For scope put the name of the function you are working on (either new or
existing).

@eranhirsch eranhirsch requested a review from TkDodo March 19, 2024 11:36
Copy link

codesandbox-ci bot commented Mar 19, 2024

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 9939ef5:

Sandbox Source
remeda-example-vanilla Configuration

@eranhirsch eranhirsch changed the title feat: pull feat: pullObject Mar 19, 2024
@eranhirsch eranhirsch changed the title feat: pullObject feat: add pullObject Mar 19, 2024
src/fromKeys.ts Outdated Show resolved Hide resolved
@eranhirsch eranhirsch merged commit 933b2d4 into master Mar 22, 2024
20 checks passed
@eranhirsch eranhirsch deleted the eranhirsch/pull branch March 22, 2024 07:44
@TkDodo
Copy link
Collaborator

TkDodo commented Mar 22, 2024

🎉 This PR is included in version 1.56.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@TkDodo
Copy link
Collaborator

TkDodo commented Mar 22, 2024

🎉 This PR is included in version 2.0.0-beta.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

3 participants