Skip to content

chore(deps): bump @hyperjump/browser from 1.6.0 to 2.0.0 - #3109

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/hyperjump/browser-2.0.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/hyperjump/browser-2.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 30, 2026 •

Copy link
Copy Markdown

Bumps @hyperjump/browser from 1.6.0 to 2.0.0.

Release notes

Sourced from @​hyperjump/browser's releases.

v2.0.0

A rewrite of @hyperjump/browser. The documentation is now at https://hyperjump.io/browser/.

What's new

  • Hyperjump sessions. A session holds its configuration and fetches the way a web browser does. Requests belong to it, the way a page load's do. See Hyperjump sessions.
  • Safe with documents you don't control. A session fetches only the URLs its allowRetrieval allows, and headers like credentials go only to the URLs they're for. See What a session can fetch.
  • A stack of layers. Each request goes through layers you choose, like an RFC 9111 HTTP cache and a scheduler, and ends at a transport chosen by URL scheme. Write your own layers. See Layers.
  • Selectors and walks. jrefSelect, jrefVisit, and jrefFind find values in a document and follow only the references they need. See Read values.
  • JSON and JRef parsers with positions. They never throw, recover from syntax errors, and give every value its place in the text. They work as unified plugins too. See Parse JSON and JRef.
  • Registries. A session answers documents your app already has without fetching them. See Registries.
  • Tracing. See what a session fetched and why, as a waterfall or a HAR file. See Tracing.
  • JSON is built in, beside JRef.

Breaking changes

  • A session fetches only the URLs its allowRetrieval allows. By default, that's the working directory in Node.js and the page's origin in a browser.
  • get is browse, which takes a Hyperjump session and gives you a target instead of a Browser. get(url, browser) is browse(session, url, { referencedFrom }).
  • value, typeOf, has, step, iter, values, entries, and keys are the jref functions, like jrefValue and jrefStep. They take the session first, return promises, and aren't curried. jrefValue only gives you a string, number, boolean, or null. There's no length.
  • Media type plugins are in the session's mediaTypes instead of global, and a plugin's parse returns a document whose root is a JSON AST node.
  • URI scheme plugins are fetchers in the transport, like defaultTransport({ "urn:": fetcher(fn) }).
  • The error classes are gone. Errors have a cause.code, like "ERR_HTTP_STATUS", and the URL that failed as their url.
  • @hyperjump/browser/jref is gone. fromJref parses JRef into a tree.
  • It needs Node.js 24 or later, or Chrome 126, Edge 126, Firefox 131, or Safari 18.4 or later.

See Migrate from v1 for each change and what to do about it.

Commits
  • 74f8844 2.0.0
  • 5b50d57 Publish before pushing in the release checklist
  • d7971a6 Add a page on migrating from v1
  • 4dbc5f4 Reword the design docs that Vale finds misspellings in
  • 4a70ca7 Add making a GitHub release to the release checklist
  • b94ff65 Rebuild hyperjump.io when the docs change
  • 5b8208f Add a release checklist
  • 28b5cd4 Make a JSON container's array of children at its exact size
  • 2dfa082 Reuse tokens and find lines going forward when parsing JSON
  • 5b15b12 Parse JSON faster
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from a team as a code owner November 30, 2026 21:20
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 30, 2026
@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: dependabot/npm_and_yarn/hyperjump/browser-2.0.0/f14268c

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/hyperjump/browser-2.0.0 branch 6 times, most recently from 43f2c76 to 61565f2 Compare December 3, 2026 17:21
Bumps [@hyperjump/browser](https://github.com/hyperjump-io/browser) from 1.6.0 to 2.0.0.
- [Release notes](https://github.com/hyperjump-io/browser/releases)
- [Commits](hyperjump-io/browser@v1.6.0...v2.0.0)

---
updated-dependencies:
- dependency-name: "@hyperjump/browser"
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/hyperjump/browser-2.0.0 branch from 61565f2 to f14268c Compare December 3, 2026 23:07

This branch has not been deployed

No deployments
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.

0 participants