Packages

@next/eslint-plugin-next

16.4.6 · 9 Nov 2026MIT57.3M / weekRepositoryHomepagenpmAtom feed

Your version

12.3.0

8 Sep 2022Where it was published

12.3.7 is the newest release of 12.x.

In short

20 new42 fixed46 changed98 internal

Release note

Core Changes

  • Refactor client entry plugin to separate methods.

  • Eliminate path polyfill and incremental-cache from base server

  • Remove precopied styled-jsx

  • Refactor handling of addPageEntry promise

  • Support multiple flush effects

  • Eliminate Amp in Edge runtime

  • Rename page -> entry in on-demand-entry-handler

  • Update .env HMR handling

  • Fix Edge SSR routes

  • Support tsconfig paths without baseurl

  • Enable @typescript-eslint/no-use-before-define for functions

  • Remove minify: false for webpack5 bundle

  • Next Server code refactoring

  • Eliminate path and utils from base server

  • Remove webpack4 types

  • Enable additional TypeScript ESLint rules

  • next/dynamic: Handle template literal import path

  • Add comment on slash normalizing in server

  • Refactor base server

  • Add separate entry per layout/page.

  • next-server: Fix priority for edge routes

  • Add todo for dependsOn

  • Improved server CSS handling

  • next-swc: Update swc

  • Fix next-app-loader on windows

  • swc/emotion: Correct the SPACE_AROUND_COLON regex

  • #39609: Warns about suspense and ssr

  • Use realpath when emitting traced package.json

  • #39706: Add avif support for node serve static

  • next: Do not display message when middleware is removed on dev mode

  • Allow Edge Functions to stream a compressed fetch response

  • Fix meaninglessFileNames type in compiler options schema

  • Update stalled ensure log to use debug instead

  • Skip building /500 in dev mode

  • Fix onError handling in next/future/image

  • Improve error message on next/future/image when objectFit or objectPosition

  • Refactor client CSS imports

  • Ensure moduleResolution is written correctly

  • Fix disposing active entries in dev compilers

  • #39807: Ignore width/height from webpack with "fill"

  • Add handling for auto installing TypeScript deps and HMRing tsconfig

  • Remove eslint warning when no eslint config is present

  • next/swc: Enable wasm first binding load for the platforms

  • Fix next/future/image blur-up placeholder

  • Fix runLintCheck during build

  • Skip auto-install for missing deps in CI

  • Remove un-necessary internal jest-worker error during ts/lint error

  • Bump @vercel/nft@0.22.0

  • Handle edge runtime for app

  • HMR for client CSS imports

  • ts: Use AppProps's generic for pageProps

  • Treat non page file as non route under app dir

  • Fix next/future/image incorrectly warning for fill + blur

  • Ensure prefetch heuristic matches with and without middleware

  • Add experimental.fallbackNodePolyfills flag

  • Fix incorrect build log for moduleResolution

  • #39993: Avoid race condition for next/script onReady

  • Avoid bundling next/script in the server build by default

  • Handle async module for client components

  • Remove Unused SQLite file

  • Update next/future/image to use svg blur placeholder during next dev

  • Remove <noscript> from next/future/image

  • Fix filePath being wrongly stringified

  • Refactor Server Router

  • Update to detect GSSP with edge runtime during build

  • Fix handling with custom _error and pages/500

  • Fix edge rewrite handling

  • Error for ssg and ssr exports from client components in build time

  • next: Support has match and locale option on middleware config

  • Change alt to required in next/future/image

  • Allow port 0 in next dev and next start

  • Update to stable: next/future/image, remotePatterns, unoptimized

  • #40066: Preserve error status code from serveStatic

  • Detect ESLint config in package.json

  • Ignore EEXIST errors when creating symlinks for output standalone

  • Bump @vercel/nft@0.22.1

  • Bump styled-jsx

  • Match data fetch and busting cache key when path URI encodes

  • Updating the Next.js Logo

  • next/script: Simplify logic and update tests

  • Bypass empty pages folder for layouts

  • Fix styled-jsx macro imports

  • Ensure path can be specified for clearPreviewData

  • Apply default export interop to next/config

  • Improved route resolution in next-app-loader

  • Add prefetch to new router

  • Update next/future/image to support only width or only height

  • Add experimental proxy timeout option

  • Fix static info parsing when export data fetching method as variable

  • switchable-runtime: Make dev server not break when wrong runtime config is exported

  • Revert "Refactor Server Router"

  • switchable-runtime: Make it possible to switch between edge and server runtime in dev

  • Revert "Revert "Refactor Server Router" (#40328)"

  • Fix URLSearchParams lacking data from rewrite

  • lint: Disable react/no-unknown-property

  • Update onLoadingComplete for next/future/image to receive reference to <img>

  • Remove warning for swcMinify being enabled

Documentation Changes

  • Revert "Adds note about custom server requirements"

Misc Changes

  • Fix preinstall failed in yarn@1.x on FreeBSD with npm@8.17

  • Add edge ssr to pr stats

  • create-app: Support github url has trailing slash

  • Added tests for next/router in app directory

  • Fix failing e2e getServerSideProps test

  • Add path to export-page

  • Add test for server CSS imports

  • cli: Do not throw error when extracting examples in Node 18+

  • cli: Delete temp file after extraction

  • Fix test hydration check in Safari 10.1

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.