Skip to content

Update Javascript packages (non-major)#1159

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/js-update
Open

Update Javascript packages (non-major)#1159
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/js-update

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 10, 2026

This PR contains the following updates:

Package Change Age Confidence
@​codemirror/autocomplete 6.20.06.20.2 age confidence
@codemirror/commands 6.10.16.10.3 age confidence
@codemirror/language 6.12.16.12.3 age confidence
@​codemirror/lint 6.9.36.9.6 age confidence
@​codemirror/search 6.6.06.7.0 age confidence
@codemirror/state 6.5.46.6.0 age confidence
@​codemirror/view 6.39.126.43.0 age confidence
@types/node (source) 24.10.1024.12.4 age confidence
@types/react (source) 19.2.1019.2.14 age confidence
eslint-config-next (source) 16.1.616.2.6 age confidence
next (source) 16.1.616.2.6 age confidence
react (source) 19.2.419.2.6 age confidence
react-dom (source) 19.2.419.2.6 age confidence
styled-components (source) 6.3.86.4.1 age confidence

Release Notes

codemirror/commands (@​codemirror/commands)

v6.10.3

Compare Source

Bug fixes

Make sure selection-extending commands preserve the associativity of the selection head.

v6.10.2

Compare Source

Bug fixes

Move the selection to a less surprising place when undoing, moving the selection, redoing, then undoing again.

codemirror/language (@​codemirror/language)

v6.12.3

Compare Source

Bug fixes

Fix a crash in bracketMatching when composing at end of document.

v6.12.2

Compare Source

Bug fixes

Make sure brackets are highlighted in the initial editor state.

Pause bracket matching updates during composition, to avoid disrupting Mobile Safari's fragile composition handling.

codemirror/state (@​codemirror/state)

v6.6.0

Compare Source

New features

EditorSelection.range now takes an optional assoc argument.

SelectionRange.extend can now be given a third argument to specify associativity.

vercel/next.js (eslint-config-next)

v16.2.6

Compare Source

v16.2.5

Compare Source

v16.2.4

Compare Source

v16.2.3

Compare Source

v16.2.2

Compare Source

v16.2.1

Compare Source

[!NOTE]
This release is backporting bug fixes. It does not include all pending features/changes on canary.

Core Changes
  • docs: post release amends (#​91715)
  • docs: fix broken Activity Patterns demo link in preserving UI state guide (#​91698)
  • Fix adapter outputs for dynamic metadata routes (#​91680)
  • Turbopack: fix webpack loader runner layer (#​91727)
  • Fix server actions in standalone mode with cacheComponents (#​91711)
  • turbo-persistence: remove Unmergeable mmap advice (#​91713)
  • Fix layout segment optimization: move app-page imports to server-utility transition (#​91701)
  • Turbopack: lazy require metadata and handle TLA (#​91705)
  • [turbopack] Respect {eval:true} in worker_threads constructors (#​91666)
Credits

Huge thanks to @​icyJoseph, @​abhishekmardiya, @​ijjk, @​mischnic, @​unstubbable, @​sokra, and @​lukesandberg for helping!

v16.2.0

Compare Source

v16.1.7

Compare Source

vercel/next.js (next)

v16.2.6

Compare Source

v16.2.5

Compare Source

v16.2.4

Compare Source

v16.2.3

Compare Source

v16.2.2

Compare Source

v16.2.1

Compare Source

v16.2.0

Compare Source

v16.1.7

Compare Source

facebook/react (react)

v19.2.6: 19.2.6 (May 6th, 2026)

Compare Source

React Server Components

v19.2.5: 19.2.5 (April 8th, 2026)

Compare Source

React Server Components
styled-components/styled-components (styled-components)

v6.4.1

Compare Source

Patch Changes
  • 49d09ae: Fix a performance regression in 6.4.0 where dynamic createGlobalStyle components caused significant re-render slowdowns. Also restores pre-6.4 cascade ordering when multiple instances of the same createGlobalStyle coexist.
  • eca95b2: Fix outdated dev-mode error messages for keyframes-in-untagged-strings and component-selector references that still pointed at www.styled-components.com and described behavior from styled-components v3.

v6.4.0

Compare Source

Minor Changes
  • b0f3d29: .attrs() improvements: props supplied via attrs are now automatically made optional on the resulting component (previously required even when attrs provided a default). Also fixes a bug where the attrs callback received a mutable props object that could be changed by subsequent attrs processing; it now receives an immutable snapshot.

  • 2a973d8: Dropped IE11 support: ES2015 build target, inlined unitless CSS properties (removing @​emotion/unitless dependency), removed legacy React class statics from hoist and other unnecessary code.

  • 9e07d95: Add createTheme(defaultTheme, options?) for CSS variable theming that works across RSC and client components.

    Returns an object with the same shape where every leaf is var(--prefix-path, fallback). Pass it to ThemeProvider for stable class name hashes across themes (no hydration mismatch on light/dark switch).

    const theme = createTheme({ colors: { primary: '#​0070f3' } });
    // theme.colors.primary → "var(--sc-colors-primary, #​0070f3)"
    // theme.raw → original object
    // theme.vars.colors.primary → "--sc-colors-primary"
    // theme.resolve(el?) → computed values from DOM (client-only)
    // theme.GlobalStyle → component that emits CSS var declarations

    vars exposes bare CSS custom property names (same shape as the theme) for use in createGlobalStyle dark mode overrides without hand-writing variable names:

    const { vars } = createTheme({ colors: { bg: '#fff', text: '#​000' } });
    
    const DarkOverrides = createGlobalStyle`
      @​media (prefers-color-scheme: dark) {
        :root {
          ${vars.colors.bg}: #​111;
          ${vars.colors.text}: #eee;
        }
      }
    `;

    Options: prefix (default "sc"), selector (default ":root", use ":host" for Shadow DOM).

  • 79cc7b4: Add first-class CSP nonce support. Nonces can now be configured via StyleSheetManager's nonce prop (recommended for Next.js, Remix), ServerStyleSheet's constructor, <meta property="csp-nonce"> (Vite convention), <meta name="sc-nonce">, or the legacy __webpack_nonce__ global.

  • b0f3d29: Rearchitect createGlobalStyle to use shared stylesheet groups.

    All instances of a createGlobalStyle component now share a single stylesheet group, registered once at definition time. This fixes unmounting one instance removing styles needed by others (#​5695), styles scattering after remount (#​3146), and group ID leaks during SSR (#​3022).

    CSS injection order is now fully determined at definition time (lower group ID = earlier in stylesheet). Render order no longer affects CSS order. Keyframes defined before a component correctly appear before that component's rules.

    Also fixes: O(n^2) performance regression in jsdom test environments from unbounded rule accumulation, and stale static global styles during client-side HMR (effect deps now include the globalStyle reference so module re-evaluation triggers re-injection).

  • b0f3d29: Significant render performance improvements via three-layer memoization and hot-path micro-optimizations. Client-only; server renders are unaffected.

    Re-renders that don't change styling now skip style resolution entirely. Components sharing the same CSS (e.g., list items) benefit from cross-sibling caching. Hot-path changes include forEachfor/for...of, template literal → manual concat, and reduced allocations.

    Benchmarks vs 6.3.12:

    • Parent re-render (most common): 3.3x faster
    • First mount: 1.7-2.5x faster
    • Prop cycling: 2.3-2.4x faster
    • 10K heavy layouts: 1.9x faster
    • No regressions on any benchmark
  • 9ada92b: React Server Components support: inline style injection, deduplication, and a new stylisPluginRSC for child-index selector fixes.

    Inline style injection: RSC-rendered styled components emit <style data-styled> tags alongside their elements. CSS is deduplicated per render via React.cache (React 19+). Extended components use :where() zero-specificity wrapping on base CSS so extensions always win the cascade regardless of injection order.

    StyleSheetManager works in RSC: stylisPlugins and shouldForwardProp are now applied in server component environments where React context is unavailable.

    stylisPluginRSC — opt-in stylis plugin that fixes :first-child, :last-child, :nth-child(), and :nth-last-child() selectors broken by inline <style> tags shifting child indices. Rewrites them using CSS Selectors Level 4 of S syntax to exclude styled-components style tags from the count.

    import { StyleSheetManager, stylisPluginRSC } from 'styled-components';
    
    <StyleSheetManager stylisPlugins={[stylisPluginRSC]}>{children}</StyleSheetManager>;

    The plugin rewrites :first-child, :last-child, :nth-child(), and :nth-last-child() using CSS Selectors Level 4 of S syntax to exclude injected style tags from the child count.

    Browser support: Chrome 111+, Firefox 113+, Safari 9+ (~93% global). In unsupported browsers, the entire CSS rule is dropped — only opt in if your audience supports it. Use :first-of-type / :nth-of-type() as a universally compatible alternative.

    HMR: Stale styles during client-side HMR are detected and invalidated when module re-evaluation creates new component instances while IDs remain stable (SWC plugin assigns IDs by file location). createGlobalStyle additionally clears stale sheet entries when the instance changes between renders.

    The plugin is fully tree-shakeable — zero bytes in bundles that don't import it.

Patch Changes
  • b0f3d29: Expose as and forwardedAs props in React.ComponentProps extraction for styled components
  • 553cbb4: Fix memory leak in long-running apps using components with free-form string interpolations (e.g. color: ${p => p.$dynamicValue} where the value comes from unbounded user input).
  • b0f3d29: React Native improvements: replaced postcss with a lightweight CSS declaration parser, fixing nanoid crashes in Expo/Metro (#​5705) and improving parse speed 4-6x. Parent re-renders with unchanged children are 2.6-3.2x faster via cache-first render. Updated native component alias list (removed 5 dead components, added 4 missing). Added react-native as an optional peer dependency.
  • 74e8b76: Smaller install footprint via unused dependency cleanup.

v6.3.12

Compare Source

Patch Changes
  • db4f940: Fix test performance regression in 6.3.x by eliminating double style rendering in createGlobalStyle and removing unnecessary DOM queries during cleanup in client/test environments.
  • 1203f80: Fix React Native crash caused by document references in the native build. The native bundle no longer includes DOM code, resolving compatibility with RN 0.79+ and Hermes.
  • 5ef3804: Gracefully handle CSS syntax errors in React Native instead of crashing. Missing semicolons and other syntax issues now log a warning in development and produce an empty style object instead of throwing a fatal error.
  • a777f5a: Preserve explicitly passed undefined props instead of stripping them. This fixes compatibility with libraries like MUI and Radix UI that pass undefined to reset inherited defaults (e.g., role={undefined}). Props set to undefined via .attrs() are still stripped as before.

v6.3.11

Compare Source

Patch Changes
  • 752f5ec: fix: resolve "React is not defined" ReferenceError introduced in 6.3.10 when loading the CJS build in Node.js

v6.3.10

Compare Source

Patch Changes
  • f674224: fix: RSC style tags for extended components have correct href and include base CSS (#​5663)

    • Fix spaces in <style href> attribute that caused React 19 hydration failures when using styled() inheritance
    • Fix missing base component CSS in RSC output when only the extended component renders
    • Emit a separate <style> tag per inheritance level with content-aware hrefs, enabling React 19 deduplication of shared base styles
    • Preserve correct CSS ordering (base before extended) for proper specificity override behavior
  • f674224: Reduce standalone/browser bundle size by making IS_RSC a build-time constant, enabling dead code elimination of RSC-specific branches

v6.3.9

Compare Source

Patch Changes
  • ca61aca: Fix CSS block comments containing // (e.g. URLs) causing subsequent styles to not be applied.
  • a2cd792: Fix createGlobalStyle styles not being removed when unmounted in RSC environments. React 19's precedence attribute on style tags makes them persist as permanent resources; global styles now render without precedence so they follow normal component lifecycle.
  • dbe0aae: In RSC environments, theme is now undefined instead of {} for styled components, matching the existing behavior of withTheme and createGlobalStyle. This ensures accessing theme properties without a ThemeProvider correctly throws rather than silently returning undefined.
  • 1888c73: Fix withTheme HOC types: ref now correctly resolves to the component instance type instead of the constructor, and theme is properly optional in the wrapped component's props.
  • f84f3fa: Fix SSR styles hydration and global style cleanup in Shadow DOM
  • 43a5b4b: Optimize internal style processing hot paths: cached GroupedTag index lookups, string fast path in flatten, direct string concatenation in dynamic style generation, pre-built stylis middleware chain with lazy RegExp creation, single-lookup Map operations, VirtualTag append fast-path, and manual string concat in SSR output.
  • 788e8c0: Revert exports field and restore browser/server build split with browser field in package.json. Fixes require('stream') resolution errors in browser bundlers like webpack 5.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "on tuesday"
  • 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/js-update branch 4 times, most recently from 1a32a9c to e680ef2 Compare February 12, 2026 11:12
@renovate renovate Bot force-pushed the renovate/js-update branch 5 times, most recently from c143e71 to b62c350 Compare February 20, 2026 17:50
@renovate renovate Bot force-pushed the renovate/js-update branch 5 times, most recently from 7605a0c to 37a5aa4 Compare March 2, 2026 09:21
@renovate renovate Bot force-pushed the renovate/js-update branch 6 times, most recently from 5d65f75 to 28a17e0 Compare March 12, 2026 10:39
@renovate renovate Bot force-pushed the renovate/js-update branch 4 times, most recently from 3d5a70c to c55870e Compare March 21, 2026 01:15
@renovate renovate Bot force-pushed the renovate/js-update branch 4 times, most recently from 9942812 to 405dc6e Compare April 1, 2026 09:48
@renovate renovate Bot force-pushed the renovate/js-update branch 2 times, most recently from 3f3ea00 to da01114 Compare April 8, 2026 18:06
@renovate renovate Bot force-pushed the renovate/js-update branch 2 times, most recently from d3dc5b3 to 8bac72b Compare April 9, 2026 17:14
@renovate renovate Bot force-pushed the renovate/js-update branch 3 times, most recently from e342d77 to dc87388 Compare April 21, 2026 17:00
@renovate renovate Bot force-pushed the renovate/js-update branch from dc87388 to 5f46d66 Compare April 29, 2026 09:46
@gwilymk gwilymk added this pull request to the merge queue May 5, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch May 5, 2026
@renovate renovate Bot force-pushed the renovate/js-update branch 6 times, most recently from 6a17a5f to 38e78e3 Compare May 12, 2026 00:57
@renovate renovate Bot force-pushed the renovate/js-update branch from 38e78e3 to e0b23ac Compare May 14, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants