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

Cleanup: Upgrade lodash and plottable #1333

Merged
merged 7 commits into from
Aug 10, 2018

Conversation

stephanwlee
Copy link
Contributor

  • Lodash renamed pairs to toPairs.
  • sortedIndex renamed to sortedIndexBy

Unfortunately, type information lacks reference to the new ones
so we wrote the POJO version of these utilities at least for now.

@stephanwlee stephanwlee requested a review from jart August 3, 2018 17:19
@stephanwlee stephanwlee force-pushed the upgrade branch 2 times, most recently from b8a458d to 31e51e8 Compare August 3, 2018 21:22
@lgeiger
Copy link
Contributor

lgeiger commented Aug 5, 2018

Thanks for getting this started!

Plottable also upgraded d3 to version ^4.13.0: palantir/plottable#3464
Tensorboard currently requires 4.9.1 so it probably makes sense to update d3 as well.

- Lodash renamed `pairs` to `toPairs`.
- `sortedIndex` renamed to `sortedIndexBy`

Unfortunately, type information lacks reference to the new ones
so we wrote the POJO version of these utilities at least for now.
More lodash notes:
- `sortByAll` -> `sortBy`
- scope argument in _.map and _.each is deprecated
- .each() evaluates Lodash object right away (i.e.,
    _([]).each().value()) is illegal)
@stephanwlee stephanwlee merged commit 9b89383 into tensorflow:master Aug 10, 2018
@stephanwlee stephanwlee deleted the upgrade branch August 10, 2018 22:42
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.

3 participants