Skip to content

Bump @stores.com/http-error from 1.0.0 to 1.2.0#2

Merged
freshlogic merged 1 commit into
mainfrom
dependabot/npm_and_yarn/stores.com/http-error-1.2.0
May 27, 2026
Merged

Bump @stores.com/http-error from 1.0.0 to 1.2.0#2
freshlogic merged 1 commit into
mainfrom
dependabot/npm_and_yarn/stores.com/http-error-1.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 27, 2026

Copy link
Copy Markdown
Contributor

Bumps @stores.com/http-error from 1.0.0 to 1.2.0.

Release notes

Sourced from @​stores.com/http-error's releases.

v1.2.0

What's Changed

Full Changelog: stores-com/http-error@v1.1.0...v1.2.0

v1.1.0

What's Changed

New Contributors

Full Changelog: stores-com/http-error@v1.0.0...v1.1.0

Changelog

Sourced from @​stores.com/http-error's changelog.

[1.2.0] - 2026-05-26

Added

  • HttpError.from() accepts an optional second argument — an already-parsed JSON body. from(response) reads the body via response.clone() as before; from(response, json) uses the supplied body instead of re-reading the response, for a 200 response whose JSON you've already read (e.g. an errors[] envelope), since a response body can only be read once. The error keeps the response status and cause. Backward compatible.

[1.1.0] - 2026-05-11

Added

  • HttpError.from(response) now aggregates errors[] entries from the response body into err.message, joined by ; . For each entry, message is used if present, otherwise detail — covering both the GraphQL specification (message) and JSON:API (detail) envelope shapes. The default "${status} ${statusText}" message is still used when the body has no errors[], or when no entry has either field.
Commits
  • 33c7501 Merge pull request #3 from stores-com/from-response-json
  • 24b44c9 Accept an already-parsed body in HttpError.from() (1.2.0)
  • c83f7b5 aggregate body errors[] into err.message in HttpError.from()
  • a1f9c8a Add cache buster to Coveralls badge
  • e6048bc Fix Coveralls badge URL
  • b29a7f5 Add npm version and license badges to README
  • b9f7f44 Replace coveralls CLI with coverallsapp/github-action@v2
  • 95ad457 Remove matrix strategy, use env vars for versions
  • 9636d7a Add test:only script and remove default --test-concurrency=true
  • 89b8d20 Fix verify step to pass --repo before checkout
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@stores.com/http-error](https://github.com/stores-com/http-error) from 1.0.0 to 1.2.0.
- [Release notes](https://github.com/stores-com/http-error/releases)
- [Changelog](https://github.com/stores-com/http-error/blob/main/CHANGELOG.md)
- [Commits](stores-com/http-error@v1.0.0...v1.2.0)

---
updated-dependencies:
- dependency-name: "@stores.com/http-error"
  dependency-version: 1.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 27, 2026
@freshlogic freshlogic merged commit a2c00a0 into main May 27, 2026
2 checks passed
@freshlogic freshlogic deleted the dependabot/npm_and_yarn/stores.com/http-error-1.2.0 branch May 27, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant