fix(deps): update dependency @httpx/assert to v0.15.0 #5998
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.14.0
->0.15.0
Release Notes
belgattitude/httpx (@httpx/assert)
v0.15.0
Compare Source
Minor Changes
#1537
dfb209f
Thanks @belgattitude! - isPlainObject inline behaviour with @httpx/plain-object v2.#1530
4e1ecf4
Thanks @belgattitude! - Not 100% compatible with sindreshorsus/is-plain-obj anymoreThe changes shouldn't affect most users, but it's worth noting that the
isPlainObject
function no longer consider static built-in objects as plain objects (Math, JSON, Atomics).
This fix an issue with
{ [Symbol.toStringTag]: 'tag' }
that wasn't considered as a plain object.If the behaviour is needed there's a new
isStaticBuiltInClass
function that can be used to checkif a value is a static built-in class (Math, JSON, Atomics).
Another change to mention is that
isPlainObject
now accepts[Symbol.iterator]
as a valid property for plain objects.
Which allows to add iterators to plain objects.
#1530
4e1ecf4
Thanks @belgattitude! - Fix issue with plain objects that contains a [Symbol.iterator]isPlainObject
now accepts[Symbol.iterator]
as a valid property for plain objects.Which allows to add iterators to plain objects.
#1530
4e1ecf4
Thanks @belgattitude! - Small performance increase#1530
4e1ecf4
Thanks @belgattitude! - This fix an issue with{ [Symbol.toStringTag]: 'tag' }
that wasn't considered as a plain object.#1530
4e1ecf4
Thanks @belgattitude! - Bundle size reduction from 101B to 75B when importing isPlainObject from @httpx/plain-object#1530
4e1ecf4
Thanks @belgattitude! - isPlainObject allows static built-in classes: for Atomic, Math, Json.The changes shouldn't affect most users, but it's worth noting that the
isPlainObject
function no longer consider static build-in objects as plain objects (Math, JSON, Atomics).
This fix an issue with
{ [Symbol.toStringTag]: 'tag' }
that wasn't considered as a plain object.If the behaviour is needed there's a new
isStaticBuiltInClass
function that can be used to checkif a value is a static built-in class (Math, JSON, Atomics).
#1530
4e1ecf4
Thanks @belgattitude! - Change assertPlainObject default message to 'Not a PlainObject'This change the default error message of
assertPlainObject
to 'Not a PlainObject' instead of 'Not a plain object'.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.