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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update memoize-one to the latest version 馃殌 #9

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

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jun 29, 2018

Version 4.0.0 of memoize-one was just published.

Dependency memoize-one
Current Version 3.1.1
Type dependency

The version 4.0.0 is not covered by your current version range.

If you don鈥檛 accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.

It might be worth looking into these changes and trying to get this project onto the latest version of memoize-one.

If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you don鈥檛 have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.


Release Notes 4.0.0

Changes

A bundle of joy 馃巵

We are now publishing a number of bundle builds for your consumption needs!

  • dist/memoize-one.cjs.js CommonJS bundle
  • dist/memoize-one.esm.js ESM bundle
  • dist/memoize-one.min.js UMD bundle (production build)
  • dist/memoize-one.js UMD bundle (development build)

This was listed as a breaking change 馃挜 - even though there are no api changes. The only changes are to the names and paths of the build files.

Bumping flow

We are now on the latest version of flow: 0.75.

Commits

The new version differs by 5 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don鈥檛 help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 馃尨

@codecov
Copy link

codecov bot commented Jun 29, 2018

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master      #9   +/-   ##
======================================
  Coverage    64.7%   64.7%           
======================================
  Files           5       5           
  Lines         153     153           
  Branches       28      28           
======================================
  Hits           99      99           
  Misses         48      48           
  Partials        6       6

Continue to review full report at Codecov.

Legend - Click here to learn more
螖 = absolute <relative> (impact), 酶 = not affected, ? = missing data
Powered by Codecov. Last update 006e4ca...e396dfb. Read the comment docs.

greenkeeper bot added a commit that referenced this pull request Aug 31, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 31, 2018

Version 4.0.1 just got published.

Update to this version instead 馃殌

Release Notes 4.0.1

Fixes

Handling functions that throw #31

Previously if your result function threw a value you could get some strange behaviour. We have fixed this so that memoizeOne is aware when your result function throws a value. If your result function throws then the memoized function will also throw. A thrown value is not cached and the result function will be re-executed if called again with the same arguments.

const willThrow = (message) => {
  console.log(message);
  throw new Error(message);
}

const memoized = memoizeOne(willThrow);
let firstError;
let secondError;

try {
memoized('first message');
// console.log => 'first message'
} catch (e) {
firstError = e;
}

try {
memoized('first message');
// console.log => 'first message'
// even though the arguments are the same the result function was called again
} catch (e) {
secondError = e;
}

// result is regenerated and not cached
console.log(firstError === secondError);
// false

Thanks @ChristopherChudzicki for raising this issue and for the initial PR. Thanks to @scinos and @jamiebuilds for working this through with me.

Improvements

  • Moving to babel 7 #34
  • Moving to flow 0.79.1 #34
  • Added example for custom equality function with multiple arguments to README #29. Thanks @andwilley!!
Commits

The new version differs by 10 commits.

  • a713021 v4.0.1
  • 1405e49 moving to babel 7 (#34)
  • 8a46505 No caching errors (#35)
  • 0c5743d Now handling exceptions. Closes #31 (#33)
  • c00ba01 adding download badge
  • a8e5f2f include size badges (#30)
  • 58fb93b Add example for custom equality function with multiple arguments to README (#29)
  • a18436e Update README.md (#27)
  • 8c99663 clearer language
  • aaf423d removing dead links

See the full diff

greenkeeper bot added a commit that referenced this pull request Aug 31, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 31, 2018

Version 4.0.2 just got published.

Update to this version instead 馃殌

Commits

The new version differs by 4 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 7, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 7, 2018

  • The dependency memoize-one was updated from 3.1.1 to 4.0.3.

Update to this version instead 馃殌

Release Notes for 4.0.3
  • Upgrading to flow 0.85
  • Upgrading dev deps
Commits

The new version differs by 3 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 11, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 11, 2018

  • The dependency memoize-one was updated from 3.1.1 to 4.1.0.

Update to this version instead 馃殌

Commits

The new version differs by 4 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 17, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 17, 2018

  • The dependency memoize-one was updated from 3.1.1 to 5.0.0.

Update to this version instead 馃殌

Commits

The new version differs by 7 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 27, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 27, 2019

  • The dependency memoize-one was updated from 3.1.1 to 5.0.1.

Update to this version instead 馃殌

Release Notes for 5.0.1

Engineering health

  • Bumping all dev dependencies #56
  • Upgrading to flow 0.95.1 #56
  • Minor internal cleanup of flow types #56

Other

  • Improving language used for argument length checking for the default equality function in the docs #56
Commits

The new version differs by 2 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 29, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 29, 2019

  • The dependency memoize-one was updated from 3.1.1 to 5.0.2.

Update to this version instead 馃殌

Release Notes for 5.0.2
  • Fixing flow issue #58. Caused by using non-standard $ExpectError comment. Thanks @jmansor for the pick up
Commits

The new version differs by 2 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 8, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 8, 2019

  • The dependency memoize-one was updated from 3.1.1 to 5.0.3.

Update to this version instead 馃殌

Commits

The new version differs by 5 commits.

  • da141a7 v5.0.3
  • 795ae46 Bumping deps (#63)
  • 2662e07 Check in equality perf benchmark (#62)
  • dc00d09 Using for loop for improved speed (#59)
  • cbde410 Split function generic into generic types for args and return value (#61)

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 8, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 8, 2019

  • The dependency memoize-one was updated from 3.1.1 to 5.0.4.

Update to this version instead 馃殌

greenkeeper bot added a commit that referenced this pull request Jul 9, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 9, 2019

  • The dependency memoize-one was updated from 3.1.1 to 5.0.5.

Update to this version instead 馃殌

greenkeeper bot added a commit that referenced this pull request Aug 21, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 21, 2019

  • The dependency memoize-one was updated from 3.1.1 to 5.1.0.

Update to this version instead 馃殌

greenkeeper bot added a commit that referenced this pull request Aug 23, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 23, 2019

  • The dependency memoize-one was updated from 3.1.1 to 5.1.1.

Update to this version instead 馃殌

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.

None yet

0 participants