Pydash

Latest version: v8.0.4

Safety actively analyzes 688896 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 13

8.0.4

-------------------

- Fix bug in ``zip_object`` and ``zip_object_deep`` where an empty list for keys/values would cause an exception instead of returning an empty dict.

8.0.3

-------------------

- Specify explicit type parameters for all type annotations. Thanks DeviousStoat_!

8.0.2

-------------------

- Fix typing issue in ``map_`` for compatability with ``chain``. Thanks DeviousStoat_!

8.0.1

-------------------

- Fix issue where too many arguments were passed to stdlib's ``operator.attrgetter``, ``operator.itemgetter``, and ``operator.methodcaller`` when instances of those classes were used as callbacks to functions like ``map_``, ``filter_``, etc. due to a bug introduced in Python 3.12.3 and 3.11.9 that reported an incorrect signature for those ``operator`` class instances.

8.0.0

-------------------

- Add functions (Thanks DeviousStoat_!):

- ``apply`` (previously named ``thru``)
- ``apply_catch``
- ``apply_if``
- ``apply_if_not_none``
- ``eq_cmp``
- ``gt_cmp``
- ``gte_cmp``
- ``in_range_cmp``
- ``is_equal_cmp``
- ``is_equal_with_cmp``
- ``is_instance_of_cmp``
- ``is_match_cmp``
- ``is_match_with_cmp``
- ``is_monotone_cmp``
- ``lt_cmp``
- ``lte_cmp``

- Rename function ``thru`` to ``apply``. Thanks DeviousStoat_! (**breaking change**)
- Changed ``zip_``, ``unzip``, ``zip_with``, ``unzip_with`` and ``to_pairs`` to accept iterables of tuples instead of lists and return lists of tuples instead of lists of lists. Thanks DeviousStoat_! (**breaking change**)
- Fixed bug in ``divide``, ``multiply``, and ``subtract`` that returned the wrong result when ``0`` was used as one of the operation values. Thanks DeviousStoat_!

7.0.7

-------------------

- Fix bug in function wrappers that incorrectly computed the number of arguments the wrapped function could handle. Thanks DeviousStoat_!
- Fix bug in ``set_`` where the incorrect object type, list instead of dict, was initialized on class attributes. Thanks DeviousStoat_!
- Drop support for Python 3.7.

Page 1 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.