Skip to content

chore(deps): bump react-live from 4.1.8 to 5.0.1 - #1663

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-live-5.0.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-live-5.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026

Copy link
Copy Markdown
Contributor

Bumps react-live from 4.1.8 to 5.0.1.

Release notes

Sourced from react-live's releases.

react-live@5.0.1

Patch Changes

  • #416 b8bf7a0 - Fix the standalone Editor losing focus after the first keystroke. use-editable rebuilt its editing surface on the first edit's re-render, which reset contentEditable and dropped focus; Editor now settles that surface before it can be edited.

react-live@5.0.0

Major Changes

  • #418 be53ccd - Support React 19 type definitions, add an exports map, drop engines, and raise the output target.

    LivePreview's overloads referenced the global JSX namespace, which @types/react@19 removed. Because those types are emitted into the published declarations, consumers on React 19 types failed to compile. They now use React.JSX, which resolves under both @types/react@18 and @types/react@19.

    The package also gains an exports map with separate types for the ESM and CJS conditions. Filenames are unchanged from 4.1.x (dist/index.js, dist/index.mjs, dist/index.d.ts), so main, module, and types resolve exactly as before. Subpaths other than ./package.json are no longer importable; only the package root was ever documented.

    Output is now built for es2022 rather than es6, so the bundle may contain syntax such as optional chaining that previous releases transpiled away.

    The engines field is gone, along with the node: ">= 0.12.0" and npm: ">= 2.0.0" it declared. Both were years out of date, and neither constrained anything real: this is browser code, so the Node version that installs it has no bearing on whether it runs. npm will no longer print an engine warning against those bounds.

    None of this changes the public API -- same exports, same props, same react >=18 peer range -- but the exports map and the raised output target are enough that a major release is the honest way to ship them.

  • #421 004b007 - Type the live prop that withLive injects, instead of Record<string, unknown>.

    Wrapped components saw unknown for every key, so live.element could not be rendered and live.error could not be read without casting first. The prop now uses the same type the context is created with, which is the shape the docs have always described: code, error, element, onError, onChange.

    const Panel = withLive(({ live }) => {
      const Result = live.element; // was `unknown`, now a component
      return Result ? <Result /> : <pre>{live.error}</pre>;
    });

    Types only, with no runtime change. It is a narrowing, so a wrapped component that reads a key outside that shape off live will now fail to compile.

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for react-live since your current version.


Dependabot compatibility score

You can trigger a rebase of this PR 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 [react-live](https://github.com/FormidableLabs/react-live) from 4.1.8 to 5.0.1.
- [Release notes](https://github.com/FormidableLabs/react-live/releases)
- [Changelog](https://github.com/FormidableLabs/react-live/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FormidableLabs/react-live/compare/react-live@4.1.8...react-live@5.0.1)

---
updated-dependencies:
- dependency-name: react-live
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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 Oct 14, 2026
@github-actions

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 2.45 MB

ℹ️ View Unchanged
Filename Size Change
demo/.docusaurus/codeTranslations.json 2 B 0 B
demo/.docusaurus/docusaurus.config.mjs 16.6 kB 0 B
demo/.docusaurus/globalData.json 83.8 kB 0 B
demo/.docusaurus/i18n.json 372 B 0 B
demo/.docusaurus/registry.js 121 kB 0 B
demo/.docusaurus/routes.js 115 kB 0 B
demo/.docusaurus/routesChunkNames.json 47.7 kB 0 B
demo/.docusaurus/site-metadata.json 1.58 kB 0 B
demo/build/assets/css/styles.********.css 218 kB 0 B
demo/build/assets/js/main.********.js 731 kB +1 B (0%)
demo/build/assets/js/runtime~main.********.js 27.3 kB +1 B (0%)
demo/build/index.html 100 kB 0 B
demo/build/petstore/add-pet/index.html 30 kB 0 B
demo/build/petstore/create-user/index.html 24.6 kB 0 B
demo/build/petstore/create-users-with-array-input/index.html 24.7 kB 0 B
demo/build/petstore/create-users-with-list-input/index.html 24.7 kB 0 B
demo/build/petstore/delete-order/index.html 24.6 kB 0 B
demo/build/petstore/delete-pet/index.html 24.8 kB 0 B
demo/build/petstore/delete-user/index.html 24.9 kB 0 B
demo/build/petstore/find-pets-by-status/index.html 25.4 kB 0 B
demo/build/petstore/find-pets-by-tags/index.html 26.1 kB 0 B
demo/build/petstore/get-inventory/index.html 23.9 kB 0 B
demo/build/petstore/get-order-by-id/index.html 24.8 kB 0 B
demo/build/petstore/get-pet-by-id/index.html 25.5 kB 0 B
demo/build/petstore/get-user-by-name/index.html 25 kB 0 B
demo/build/petstore/login-user/index.html 25.6 kB 0 B
demo/build/petstore/logout-user/index.html 24.3 kB 0 B
demo/build/petstore/new-pet/index.html 24.9 kB 0 B
demo/build/petstore/pet/index.html 23.2 kB 0 B
demo/build/petstore/place-order/index.html 24.1 kB 0 B
demo/build/petstore/schemas/apiresponse/index.html 25.3 kB 0 B
demo/build/petstore/schemas/cat/index.html 39.3 kB 0 B
demo/build/petstore/schemas/category/index.html 26.4 kB 0 B
demo/build/petstore/schemas/dog/index.html 39.7 kB 0 B
demo/build/petstore/schemas/honeybee/index.html 39.7 kB 0 B
demo/build/petstore/schemas/id/index.html 23.5 kB 0 B
demo/build/petstore/schemas/order/index.html 27.5 kB 0 B
demo/build/petstore/schemas/pet/index.html 39.3 kB 0 B
demo/build/petstore/schemas/tag/index.html 24.8 kB 0 B
demo/build/petstore/schemas/user/index.html 41.2 kB 0 B
demo/build/petstore/store/index.html 22.2 kB 0 B
demo/build/petstore/subscribe-to-the-store-events/index.html 30.9 kB 0 B
demo/build/petstore/swagger-petstore-yaml/index.html 31.1 kB 0 B
demo/build/petstore/update-pet-with-form/index.html 24.9 kB 0 B
demo/build/petstore/update-pet/index.html 25.4 kB 0 B
demo/build/petstore/update-user/index.html 24.9 kB 0 B
demo/build/petstore/upload-file/index.html 24.8 kB 0 B
demo/build/petstore/user/index.html 22.8 kB 0 B

compressed-size-action

This branch is waiting to be deployed

1 waiting deployment
default — a59a04fb Waiting Oct 14, 2026 by dependabot[bot] via Analyze Unsafe (javascript) #2400
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