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

Iterator Helpers #2818

Merged
merged 68 commits into from
Jun 15, 2023
Merged

Iterator Helpers #2818

merged 68 commits into from
Jun 15, 2023

Commits on May 31, 2023

  1. AsyncIterator, pt 1

    rwaldron authored and michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    846527d View commit details
    Browse the repository at this point in the history
  2. AsyncIterator, pt 1

    rwaldron authored and michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    fb1ec43 View commit details
    Browse the repository at this point in the history
  3. AsyncIterator, pt 2

    rwaldron authored and michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    3cbd492 View commit details
    Browse the repository at this point in the history
  4. AsyncIterator, pt 3

    rwaldron authored and michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    d11190b View commit details
    Browse the repository at this point in the history
  5. AsyncIterator, pt 4

    rwaldron authored and michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    796d915 View commit details
    Browse the repository at this point in the history
  6. Lint fix

    rwaldron authored and michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    4d84bb5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1ffd654 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a77da9d View commit details
    Browse the repository at this point in the history
  9. delete asIndexedPairs

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    738e83c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c664108 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7bbdc23 View commit details
    Browse the repository at this point in the history
  12. drop

    property descriptor
    name
    length
    [[Prototype]]
    is a function
    is not constructible
    result instanceof Iterator
    limit is given a non-primitive that needs to be converted to a number
      through valueOf
      through toString (array)
    limit coercion to number throws
    limit converts to NaN
      same as limit not supplied
    limit behaves properly
      limit < number of values
      limit = number of values
      limit > number of values
    gets the next method from the underlying iterator only once
    underlying iterator has throwing next getter
    underlying iterator next throws when advancing past dropped items
    underlying iterator is advanced after calling drop
    underlying iterator is closed after calling drop
    underlying iterator is already closed
    underlying iterator next returns non-object
    underlying iterator next returns object with throwing done/value getters
    underlying iterator return is never called when result iterator is closed
    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    f37c41d View commit details
    Browse the repository at this point in the history
  13. more drop tests

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    ee73f08 View commit details
    Browse the repository at this point in the history
  14. more every tests

    property descriptor
    name
    length
    [[Prototype]]
    is a function
    is callable
    is not constructible
    result is a Boolean
    predicate is non-callable
    iterator already exhausted
    called on non-object
    called on object with "next" method
    called on object with non-callable "next" method
    predicate returns non-Boolean
    predicate returns truthy for all iterated values
      returns true
    predicate returns truthy for some iterated values but then falsey for at least one iterated value
      returns false
      iteration stops
      iterator is closed
    predicate returns falsey immediately
      returns false
      iteration stops
      iterator is closed
    predicate throws
      every throws
      iterator is closed
    predicate throws then iterator close also throws
    predicate this value is undefined
    predicate is passed the yielded value as the first parameter and a counter as second parameter
    gets the next method from the iterator only once
    iterator has throwing next getter
    iterator has throwing return getter
    iterator next throws
    iterator return throws
    iterator next returns non-object
    iterator next returns object with throwing done/value getters
    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    7d93b51 View commit details
    Browse the repository at this point in the history
  15. finish drop/every

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    1731b9e View commit details
    Browse the repository at this point in the history
  16. missed some

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    c240314 View commit details
    Browse the repository at this point in the history
  17. more drop/every tests

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    5961825 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    9cb3763 View commit details
    Browse the repository at this point in the history
  19. filter tests

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    2d9724e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    8394ceb View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    26c7463 View commit details
    Browse the repository at this point in the history
  22. remove unused vars

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    7078f1b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    625ba33 View commit details
    Browse the repository at this point in the history
  24. fixup: fix Object toString test

    ljharb authored and michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    b9fd34d View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    3d83a24 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    4df6042 View commit details
    Browse the repository at this point in the history
  27. start of flatMap tests

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    0fbe8e2 View commit details
    Browse the repository at this point in the history
  28. use verifyProperty

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    e4aa3b3 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    188b5cc View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    1daf454 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    cdbdbee View commit details
    Browse the repository at this point in the history
  32. remove unused includes

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    cdf7237 View commit details
    Browse the repository at this point in the history
  33. remove empty includes

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    dee5d01 View commit details
    Browse the repository at this point in the history
  34. missed one

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    a50a903 View commit details
    Browse the repository at this point in the history
  35. more flatMap tests

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    d9f1a78 View commit details
    Browse the repository at this point in the history
  36. add tests for take

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    eab8870 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    c203788 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    71aa978 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    bf25cae View commit details
    Browse the repository at this point in the history
  40. fix broken take test

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    13f20cf View commit details
    Browse the repository at this point in the history
  41. add tests for some

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    3caff9a View commit details
    Browse the repository at this point in the history
  42. add tests for map

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    da7cfa2 View commit details
    Browse the repository at this point in the history
  43. add test for forEach

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    73c93df View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    e0ffa73 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    412bcf6 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    8b49bf4 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    8e4974b View commit details
    Browse the repository at this point in the history
  48. typo

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    dfdd47a View commit details
    Browse the repository at this point in the history
  49. typo

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    1dc86d8 View commit details
    Browse the repository at this point in the history
  50. Iterator.from tests

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    61e8521 View commit details
    Browse the repository at this point in the history
  51. tests for find

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    66f41b8 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    43dc6bf View commit details
    Browse the repository at this point in the history
  53. run prettier

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    3c42624 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    901f8b1 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    ffb5f7c View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    224854c View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    4c2a096 View commit details
    Browse the repository at this point in the history
  58. add toArray tests

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    ed0909a View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    d39135d View commit details
    Browse the repository at this point in the history
  60. use prefix increments

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    6653018 View commit details
    Browse the repository at this point in the history
  61. add tests for reduce

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    1f3ac12 View commit details
    Browse the repository at this point in the history
  62. review feedback

    michaelficarra committed May 31, 2023
    Configuration menu
    Copy the full SHA
    d0913b4 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    0d04ba7 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    b36d1d5 View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    03b56c5 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2023

  1. Configuration menu
    Copy the full SHA
    6ee276a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    523e08c View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2023

  1. Configuration menu
    Copy the full SHA
    30f9dcf View commit details
    Browse the repository at this point in the history