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

remeda 0.21.0 #1

Merged
merged 7 commits into from
Sep 6, 2020
Merged

remeda 0.21.0 #1

merged 7 commits into from
Sep 6, 2020

Conversation

TkDodo
Copy link
Owner

@TkDodo TkDodo commented Sep 6, 2020

No description provided.

chmac and others added 7 commits September 4, 2020 19:29
the type S was actually never used, and the result object always had `any` as value;

now, we can let the result type have the key be whatever we return from the mapping function and the value will stay the same as before

restricting S to extends string | number | symbol will also ensure that the function only returns something that can actually be used as a key in an object
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.5 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.5...4.17.20)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.0.11 to 4.7.6.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](handlebars-lang/handlebars.js@v4.0.11...v4.7.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add mapValues

similar to the mapKeys function, but the keys stay the same and the value of the object is mapped instead

* streamline documentation

- add missing commas
- remove spaces from object definition to align with the other examples, e.g. `indexBy.ts`
@TkDodo TkDodo merged commit 94c6c1e into TkDodo:master Sep 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants