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 immutable from 3.8.2 to 4.0.0 #13

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

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade immutable from 3.8.2 to 4.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 15 versions ahead of your current version.
  • The recommended version was released 4 months ago, on 2021-10-07.
Release notes
Package name: immutable
  • 4.0.0 - 2021-10-07
    Read more
  • 4.0.0-rc.15 - 2021-09-16

    This is the last planned RC release before releasing a stable 4.0!! 🎉 🎉 🎉

    BREAKING:

    • Replace incompatible collections when merging nested data with mergeDeep() (#1840)
      • This means that mergeDeep() will no longer merge lists of tuples into maps. For more information see #1840 and the updated mergeDeep() documentation.

    New:

    • Add "sideEffects: false" to package.json (#1661)
    • Update Flow types to be compatible with the latest version (#1863)
    • Use ES standard for iterator method reuse (#1867)
    • Generalize fromJS() and Seq() to support Sets (#1865)

    Fixes:

    • Fix some TS type defs (#1847)
      • Adds ArrayLike<T> as option to type factory functions and fromJS now returns Collection<unknown> instead of just unknown.
    • Fix issue with IE11 and missing Symbol.iterator (#1850)
    • Simplify typescript definition files to support all UMD use cases (#1854)
  • 4.0.0-rc.14 - 2021-07-08
    • Fixes some TypeScript issues (Map constructor, update function, mapEntries)
    • Fix add zipall to orderedset
    • Improve documentation
  • 4.0.0-rc.12 - 2018-10-30

    Fixes:

    • Update to support Flow v0.85 and makes Record strict typing optional to ease migration from v3 or earlier v4 release candidates (#1636)
  • 4.0.0-rc.11 - 2018-10-27

    Potentially Breaking:

    • Improve hash speed and avoid collision for common values (#1629)

      Causes some hash values to change, which could impact the order of iteration of values in some Maps (which are already advertised as unordered, but highlighting just to be safe)

    • [TypeScript] Remove Iterable<T> as tuple from Map constructor types (#1626)

      Typescript allowed constructing a Map with a list of List instances, assuming each was a key, value pair. While this runtime behavior still works, this type led to more issues than it solved so it has been removed. (Note, this may break previous v4 rcs, but is not a change against v3)

    Fixes:

    • Give Records a displayName (#1625)
    • Set.map produces valid underlying map (#1606)
    • Support isPlainObj with constructor key (#1627)

    Docs:

    • Fix missing sub-types in API docs (#1619)
    • Add docsearch (#1610)
    • Add styles to doc search (#1628)
  • 4.0.0-rc.10 - 2018-09-19

    It's been a long time since the last release candidate, but quite a bit of work has happened since the last once. One step closer to a final release!

    Breaking:

    • Remove IteratorSequence. Do not attempt to detect iterators in Seq(). (#1589)

      Iterables can still be provided to Seq(), and most Iterators are also
      Iterables, so this change should not affect the vast majority of uses.
      For more information, see PR #1589

    • Node buffers no longer considered value-equal

      This was actually broken as of v4.0.0-rc.1 (2dcf3ef)
      but was highlighted as a breaking change by (#1437)

    New:

    • Top level predicate functions (#1600)

      New functions are exported from the immutable module:
      isSeq(), isList(), isMap(), isOrderedMap(), isStack(), isSet(), isOrderedSet(), and isRecord().

    • Support Typescript 3 (#1593)
    • Support latest Flow (#1531)
    • Add RecordOf<TProps> type alias for TypeScript, matching Flow (#1578)
    • Improved Flow support for Record subclasses (still not advised) (#1414)
    • Improve performance of toJS (#1581)

      Cursory test is >10% faster than both v3.8.2 and v4.0.0-rc.7,
      and corrects the regression since v4.0.0-rc.9.

    • Added optional notSetValue in first() and last() (#1556)
    • Enable flow strict (#1580)
    • Make isArrayLike check more precise to avoid false positives (#1520)
    • map() for List, Map, and Set returns itself for no-ops (#1455) (5726bd1)
    • Hash functions as objects, allowing functions as values in collections (#1485)

    Fix:

    • groupBy no longer returns a mutable Map instance (#1602)
    • Fix issue where refs can recursively collide, corrupting .size (#1598)
    • Throw error in mergeWith() method if missing the required merger function (#1543)
    • Update isPlainObj() to workaround Safari bug and allow cross-realm values (#1557)
    • The mergeDeepWith merger is untypable in TS/Flow. (#1532)
    • Fix missing "& T" to some methods in RecordInstance (#1464)
    • Make notSetValue optional for typed Records (#1461) (a1029bb)
    • Export type of RecordInstance (#1434)
    • Fix Record size check in merge() (#1521)
    • Fix Map#concat being not defined (#1402)
  • 4.0.0-rc.9 - 2017-10-18

    Fixes:

    • Improved typescript definitions for new functional API (#1395)
    • Improved flow types for Record setIn()/getIn() key-paths. (#1399)
    • Improved flow types for functional merge() definitions. (#1400)
  • 4.0.0-rc.8 - 2017-10-17
    Read more
  • 4.0.0-rc.7 - 2017-10-05

    Fixes:

    • Fixed syntax error in typescript definitions which limited some checking (#1354)
  • 4.0.0-rc.6 - 2017-10-05
  • 4.0.0-rc.5 - 2017-10-05
  • 4.0.0-rc.4 - 2017-10-02
  • 4.0.0-rc.3 - 2017-09-30
  • 4.0.0-rc.2 - 2017-03-13
  • 4.0.0-rc.1 - 2017-03-11
  • 3.8.2 - 2017-10-03
from immutable GitHub release notes
Commit messages
Package name: immutable
  • 2ddb5c2 v4.0.0
  • ef81750 Changelog 4.0.0 (#1880)
  • 089dca7 keep sidebar fixed + merge top and bottom sidebar (#1868)
  • d2522bd Add correct types for empty Seq and Collection (#1878)
  • 611c559 Ensure latest version docs are built (#1877)
  • ec328d6 v4.0.0-rc.15
  • c515a9f upgrade to jest 27 and jasmine-check to 1.0.0-rc (#1874)
  • d8cc0a2 Update flow to latest (#1875)
  • ad90f2e Prevent mutable structures when merging Immutable objects using mergeDeep (#1840)
  • 7041293 Replace cp with cpy (#1873)
  • 678b802 No require with import (#1872)
  • 7c64271 Generalize fromJS() and Seq() to support Sets (#1865)
  • 2030909 Prepare new version of documentation (#1856)
  • f3eff25 Use ES standard for iterator fmethod reuse (#1867)
  • 4d50e12 Fix visual regression in docs (#1866)
  • 6b03706 Flow updated to latest version (#1863)
  • 2a642f7 Prepare for Flow upgrade by modernizing flow test syntax (#1864)
  • 80aa4c6 Organize README content (#1862)
  • 526621c Fix styles to doc search (#1651)
  • 0101c06 Clean up scripts & resources (#1861)
  • 351f9e6 Simplify typescript definition files (#1854)
  • e80d8fa Lint and format type definitions (#1855)
  • a7b75bc Fix website docs (#1853)
  • d2f9729 You added es bundle, but forget about sideEffects:false (#1661)

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