Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@remix-run/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
1045
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@remix-run/eslint-config - npm Package Versions

1
104

0.0.0-experimental-ec9aa7481

Diff

mjackson
published 0.0.0-nightly-ed3a99a49-20241012 •

mjackson
published 2.13.1 •

Changelog

Source

v2.13.1

Date: 2024-10-11

Patch Changes

  • @remix-run/dev - Revert future.v3_optimizeDeps back to future.unstable_optimizeDeps as it was not intended to stabilize in Remix v2 (#10099)

Full Changelog: v2.13.0...v2.13.1

mjackson
published 2.13.1-pre.0 •

mjackson
published 2.13.0 •

Changelog

Source

v2.13.0

Date: 2024-10-11

What's Changed

Stabilized APIs

This release stabilizes a handful of "unstable" APIs in preparation for the pending React Router v7 release (see these posts for more info):

  • unstable_datadata (for use with Single Fetch)
  • unstable_flushSyncflushSync (useSubmit, fetcher.load, fetcher.submit)
  • unstable_viewTransitionviewTransition (<Link>, <Form>, useNavigate, useSubmit)
  • ~~future.unstable_optimizeDepsfuture.v3_optimizeDeps (Docs)~~
    • ⚠️ This flag was not intended to stabilize in Remix v2 and was reverted back to future.unstable_optimizeDeps in 2.13.1
  • future.unstable_lazyRouteDiscoveryfuture.v3_lazyRouteDiscovery (Docs)
  • future.unstable_singleFetchfuture.v3_singleFetch (Docs)

Minor Changes

  • Stabilize React Router APIs in Remix (#9980)
    • Adopt stabilized React Router APIs internally
      • Single Fetch: unstable_dataStrategy -> dataStrategy
      • Lazy Route Discovery: unstable_patchRoutesOnNavigation -> patchRoutesOnNavigation
    • Stabilize public-facing APIs
      • Single Fetch: unstable_data() -> data()
      • unstable_viewTransition -> viewTransition (Link, Form, navigate, submit)
      • unstable_flushSync> -> <Link viewTransition> (Link, Form, navigate, submit, useFetcher)
  • Stabilize future flags (#10072, #10092)
    • future.unstable_lazyRouteDiscovery -> future.v3_lazyRouteDiscovery
    • future.unstable_optimizeDeps -> future.v3_optimizeDeps
    • future.unstable_singleFetch -> future.v3_singleFetch

Patch Changes

  • @remix-run/dev - Stop passing request.signal as the renderToReadableStream signal to abort server rendering for cloudflare/deno runtimes because by the time that request is aborted, aborting the rendering is useless because there's no way for React to flush down the unresolved boundaries (#10047)
    • This has been incorrect for some time, but only recently exposed due to a bug in how we were aborting requests when running via remix vite:dev because we were incorrectly aborting requests after successful renders - which was causing us to abort a completed React render, and try to close an already closed ReadableStream
    • This has likely not shown up in any production scenarios because cloudflare/deno production runtimes are (correctly) not aborting the request.signal on successful renders
    • The built-in entry.server files no longer pass a signal to renderToReadableStream because adding a timeout-based abort signal to the default behavior would constitute a breaking change
    • Users can configure this abort behavior via their own entry.server via remix reveal entry.server, and the template entry.server files have been updated with an example approach for newly created Remix apps
  • @remix-run/express - Fix adapter logic for aborting request.signal so we don't incorrectly abort on the close event for successful requests (#10046)
  • @remix-run/react - Fix bug with clientLoader.hydrate in a layout route when hydrating with bubbled errors (#10063)

Updated Dependencies

Changes by Package

Full Changelog: v2.12.1...v2.13.0

mjackson
published 2.13.0-pre.2 •

mjackson
published 2.13.0-pre.1 •

mjackson
published 0.0.0-nightly-d9061d154-20241010 •

mjackson
published 2.13.0-pre.0 •

mjackson
published 0.0.0-nightly-6ee69c13d-20241003 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc