Skip to content

Comments

Bump memoize-one from 5.1.1 to 5.2.1#15

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/memoize-one-5.2.1
Closed

Bump memoize-one from 5.1.1 to 5.2.1#15
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/memoize-one-5.2.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 5, 2021

Bumps memoize-one from 5.1.1 to 5.2.1.

Release notes

Sourced from memoize-one's releases.

5.2.1

The addition of a named import for memoize-one in 5.2.0 created an unintentional breaking change for our CommonJS bundle #116 (Thanks @​ehmicky for finding this)

5.2.1 reverts the addition of the named import of 5.2.0. 5.2.0 has also been deprecated on npm

5.2.0

⚠️ 5.2.0 is deprecated on npm ⚠️

The addition of our named import created a breaking change for our CommonJS build #116 (Thanks @​ehmicky for finding this)

The named import feature has been reverted and you can continue to use the default import has you always have

import memoizeOne from 'memoize-one';

New feature: Added a named import #37

DEPRECATED Please continue to use default import

This resulted in a minor bump for the library

You can now import memoize-one using a named import if you want

import { memoizeOne } from 'memoize-one';

Alternatively, you can continue to use the default import

import memoizeOne from 'memoize-one';

Fix: Correctly handling NaN #101

Our default equality checking function does a === equality check for all arguments. This was problematic when providing special "not a number" numberNaN as NaN !== NaN. Our default equality function now handles NaN values correctly

Thank you @​ohoho7 for raising this and @​Ayub-Begimkulov for diving it forward

Improvement: Documentation

I have added more detail to the readme which explains in greater detail how our default equality function works

Improvement: Bumping dev dependencies

I have upgraded all the devDependencies of memoize-one to be their latest versions. A reminder that memoize-one has no dependencies 🎉

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [memoize-one](https://github.com/alexreardon/memoize-one) from 5.1.1 to 5.2.1.
- [Release notes](https://github.com/alexreardon/memoize-one/releases)
- [Commits](alexreardon/memoize-one@v5.1.1...v5.2.1)

---
updated-dependencies:
- dependency-name: memoize-one
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 5, 2021
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 25, 2021

Superseded by #54.

@dependabot dependabot bot closed this Oct 25, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/memoize-one-5.2.1 branch October 25, 2021 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants