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

[Snyk] Upgrade memoize-one from 5.0.0 to 6.0.0 #32

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

Conversation

snyk-bot
Copy link

@snyk-bot snyk-bot commented Mar 3, 2023

Snyk has created this PR to upgrade memoize-one from 5.0.0 to 6.0.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 17 versions ahead of your current version.
  • The recommended version was released a year ago, on 2021-10-20.
Release notes
Package name: memoize-one
  • 6.0.0 - 2021-10-20
    Read more
  • 6.0.0-beta.1 - 2021-10-15

    v6.0.0-beta.1

  • 5.2.1 - 2021-04-24

    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 - 2021-04-22

    ⚠️ 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 🎉

  • 5.1.1 - 2019-08-23

    Looser EqualityFn type

    For 5.1.0 we shipped an EqualityFn type that was not ideal. It was decided that the simplest path forward for consumers was to move to a looser EqualityFn type. #73

    - export type EqualityFn = (newArgs: readonly unknown[], lastArgs: readonly unknown[]) => boolean;
    + export  type EqualityFn = (newArgs: any[], lastArgs: any[]) => boolean;

    Thanks @ SanderDeWaal1992 for raising this issue

  • 5.1.0 - 2019-08-21

    Typescript support! 🤘🤩🤘

    Typescript consumers will now start getting correct types without having to rely on installing @ types/memoize-one. Internally memoize-one is now authored in Typescript.

    memoize-one is still shipping flow types, so if you are using, or want to use flow, then you will still get the same fantastic types you always have.

    And if you want to use good old regular vanilla JS then you can do that too!

    This change has been marked as a feature release as it will not break any existing flow consumers

    ❤ Thanks to @ PavelVanecekAtlassian, @ danieldelcore and @ TrySound for their assistance. And thanks to @ karol-majewski and @ franklixuefei for creating the previous memoize-one typescript types on DefinitelyTyped

  • 5.1.0-beta.6 - 2019-08-21

    v5.1.0-beta.6

  • 5.1.0-beta.5 - 2019-08-21

    v5.1.0-beta.5

  • 5.1.0-beta.4 - 2019-08-20

    v5.1.0-beta.4

  • 5.1.0-beta.3 - 2019-08-20

    v5.1.0-beta.3

  • 5.1.0-beta.2 - 2019-08-20
  • 5.1.0-beta.1 - 2019-08-20
  • 5.0.5 - 2019-07-09
  • 5.0.4 - 2019-04-08
  • 5.0.3 - 2019-04-08
  • 5.0.2 - 2019-03-27
  • 5.0.1 - 2019-03-27
  • 5.0.0 - 2018-12-17
from memoize-one GitHub release notes
Commit messages
Package name: memoize-one

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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