Discord-MusicBot
                                
                                
                                
                                    Discord-MusicBot copied to clipboard
                            
                            
                            
                        chore(deps): update nextjs monorepo to v12.3.1
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence | 
|---|---|---|---|---|---|
| eslint-config-next | 12.2.4 -> 12.3.1 | 
||||
| next (source) | 12.2.4 -> 12.3.1 | 
Release Notes
vercel/next.js
v12.3.1
Core Changes
- Update react-server-dom-webpack: #40356
 - Fix flight manifest to include all chunks: #40365
 - docs: fix typos: #40342
 - Fix page url for edge routes in app dir: #40361
 - Subresource Integrity for App Directory: #39729
 - Stop build warning about 
experimental: { esmExternals: 'loose' }: #40377 - Add template and error file types: #39808
 - Bump styled-jsx for showing displayName: #40411
 - fix(#40388): 
next/dynamicshould only add default loading without suspense: #40397 - Add missing trace for full reload event: #40393
 - feat(ts): expose 
AppType: #40391 - Update dev watcher to ignore more accurately: #40412
 - Add failing case for location throw: #40445
 - Drop legacy RSC handling in client for pages: #40472
 - fix: eslint no-script-component-in-head error url: #40422
 - chore: Update swc: #40292
 - feat(edge): allows configuring Dynamic code execution guard: #39539
 - Rename allowDynamic to unstable_allowDynamic: #40496
 - Don't execute prefetches for bot user agents: #40435
 - Update semver of eslint-plugin-react: #40246
 - Clean up startTransition in Link: #40505
 - docs(README): next.js logo with dark mode: #40223
 - Passing down original sourcemap for flight client loader: #40508
 - next/script: make 
onLoadconcurrent rendering resilient: #40191 - chore: Update swc: #40520
 - Add missing feature in next-swc: #40550
 - Mask Flight Parameters from Middleware: #39939
 - Unwrap promise with experimental_use: #40575
 - fix(next/router): Prevent query delete in routing when next.config basePath option is truthy: #40566
 - fix(image): handle image imports with high aspect ratio: #40563
 - fix: loosen webpack compilation with 
fallbackNodePolyfills: false: #40612 - Adding experimentalAdjustFallback feature to font optimization: #40185
 - fix: handle 
notFound: truein/withnext export: #40592 - refactor: split up 
CONTRIBUTING.md: #40515 - Implement SWC transformer for server and client graphs: #40603
 - Fix edge wasm handling during deploy: #40625
 - Client directive: #40415
 - Remove internal client next api detection: #40646
 - Attach module trace for RSC related errors: #40652
 - Use createFromFetch instead of createFromReadableStream to fetch Flight: #40656
 - Change Flight response content type to application/octet-stream: #40665
 - Send web vitals to Vercel analytics in app: #40669
 - Refactor fetchServerResponse: #40674
 - Port page and layout level API assertions to SWC transform: #40653
 - Ensure smooth scroll is disabled for navigation in new and existing router: #40642
 - Upgrade to latest React experimental: #40672
 - Refine error messages: #40661
 - Incldue styled-jsx in swc compiling: #40679
 - misc: update caniuse-lite to latest: #40680
 - Remove non existed exports and files: #40685
 - fix(image): preload should respect crossOrigin: #40676
 - Add handling for static generation in app: #40561
 - Avoid direct React client API imports in the server graph: #40686
 - Drop legacy RSC server and client extension: #40692
 
Documentation Changes
- docs: fix middleware path: #40340
 - Fix mdx docs: #40402
 - Update Server Components documentation.: #40452
 - docs: move 
swcMinify: trueout of "Experimental features" section: #40394 - Clarify use of 
loadingproperty: #40488 - docs(errors/large-page-data): how to see data being passed to page: #40491
 - docs(basic-features/script): update script version history: #40263
 - Added "negative matcher" documentation: #40282
 - Fix a typo in docs: #40501
 
Example Changes
- chore: fix examples: #40395
 - chore(examples): update turborepo examples link: #40487
 - update(examples): Emotion modules: #40242
 - Added comments to middleware-matcher example: #40273
 - Remove legacy mobx example: #40304
 - Update cms-makeswift example: #40560
 - Fixed typo: #40608
 - Revert "Fixed typo": #40623
 - chore: Migrate with-prefetching example to typescript: #40671
 - chore: Refactor active-class-name example: #40670
 - docs(examples): fix error connection handling: #40633
 
Misc Changes
- Temporarily disable unstable app test: #40408
 - docs(middleware): fix broken link
 - chore: use 
link:instead offile:in CONTRIBUTING.md: #40510 - add Balázs as codeowner to 
/errors/directory - fix(cli): tune filter for extracting example 
.tar: #40513 - Add additional tests for prefetch and trailingSlash: #40517
 - Wrap parallel routes tests in describe: #40546
 - fix(#40025): run 
next/scriptbeforeInteractive test in both dev & prod: #40541 
Credits
Huge thanks to @huozhi, @shuding, @ijjk, @jasham, @Kikobeats, @wyattjoh, @rubytree33, @timneutkens, @balazsorban44, @andrewrjohn, @SukkaW, @hanneslund, @leerob, @Djo1e, @kdy1, @msafi, @tknickman, @feugy, @cramforce, @ryparker, @victorboucher, @steven-tey, @JDansercoer, @janklimo, @hiro0218, @HaNdTriX, @migueloller, @flex-kyunghwa, @saalimzafar, @alxhotel, @janicklas-ralph, @feedthejim, and @chornos13 for helping!
v12.3.0
Core Changes
- Refactor client entry plugin to separate methods.: #39162
 - Eliminate path polyfill and incremental-cache from base server: #39548
 - Remove precopied styled-jsx: #39520
 - Refactor handling of addPageEntry promise: #39547
 - Support multiple flush effects: #39559
 - Eliminate Amp in Edge runtime: #39560
 - Rename page -> entry in on-demand-entry-handler: #39564
 - Update .env HMR handling: #39566
 - Fix failing switchable runtime deploy test: #39579
 - Fix Edge SSR routes: #39594
 - Support tsconfig paths without baseurl: #34926
 - Enable @typescript-eslint/no-use-before-define for functions: #39602
 - Remove minify: false for webpack5 bundle: #39620
 - Next Server code refactoring: #39591
 - Eliminate path and utils from base server: #39622
 - Remove webpack4 types: #39631
 - Enable additional TypeScript ESLint rules: #39640
 - fix(next/dynamic): handle template literal import path: #39623
 - Add comment on slash normalizing in server: #39653
 - Refactor base server: #39649
 - Add separate entry per layout/page.: #39611
 - fix(next-server): Fix priority for edge routes : #39462
 - Add todo for dependsOn: #39677
 - Improved server CSS handling: #39664
 - feat(next-swc): Update swc: #39499
 - fix next-app-loader on windows: #39657
 - fix(swc/emotion): Correct the 
SPACE_AROUND_COLONregex: #39710 - fix(#39609): warns about suspense and ssr: #39676
 - Use realpath when emitting traced package.json: #39683
 - fix(#39706): add avif support for node serve static: #39733
 - fix(next): Do not display message when middleware is removed on dev mode: #39604
 - refactor(portal): remove useRef from portal component: #39792
 - refactor(use-intersection): remove useRef usage: #39791
 - allow Edge Functions to stream a compressed 
fetchresponse: #39608 - fix meaninglessFileNames type in compiler options schema: #39698
 - build: upgrade edge-runtime: #39749
 - Update stalled ensure log to use debug instead: #39826
 - Skip building /500 in dev mode: #39828
 - Fix  
onErrorhandling innext/future/image: #39824 - Improve error message on 
next/future/imagewhenobjectFitorobjectPosition: #39614 - Refactor client CSS imports: #39758
 - Ensure moduleResolution is written correctly: #39836
 - Fix disposing active entries in dev compilers: #39845
 - fix(#39807): ignore width/height from webpack with "fill": #39849
 - Add handling for auto installing TypeScript deps and HMRing tsconfig: #39838
 - Remove eslint warning when no eslint config is present: #39872
 - feat(next/swc): enable wasm first binding load for the platforms: #38883
 - Fix 
next/future/imageblur-up placeholder : #39785 - Fix runLintCheck during build: #39883
 - Skip auto-install for missing deps in CI: #39882
 - Remove un-necessary internal jest-worker error during ts/lint error: #39886
 - Bump 
@vercel/[email protected]: #39906 - Handle edge runtime for app: #39910
 - build: upgrade edge-runtime: #39898
 - HMR for client CSS imports: #39916
 - fix(ts): use 
AppProps's generic forpageProps: #38867 - Treat non page file as non route under app dir: #39976
 - Fix 
next/future/imageincorrectly warning forfill+blur: #39986 - Ensure prefetch heuristic matches with and without middleware: #39920
 - feat: add 
experimental.fallbackNodePolyfillsflag: #39248 - Fix incorrect build log for moduleResolution: #39991
 - fix(#39993): avoid race condition for next/script onReady: #40002
 - Avoid bundling 
next/scriptin the server build by default: #40013 - Handle async module for client components: #39953
 - Upgrade typescript to 4.8.2: #39979
 - Remove Unused SQLite file: #40056
 - Update 
next/future/imageto use svg blur placeholder duringnext dev: #39992 - Remove 
<noscript>fromnext/future/image: #40075 - Fix 
filePathbeing wrongly stringified: #40070 - Refactor Server Router: #39902
 - Update to detect GSSP with edge runtime during build: #40076
 - Fix handling with custom _error and pages/500: #40110
 - Fix edge rewrite handling: #40115
 - Error for ssg and ssr exports from client components in build time: #40106
 - feat(next): Support has match and locale option on middleware config: #39257
 - Change 
altto required innext/future/image: #40136 - Allow port 0 in 
next devandnext start: #40118 - Update to stable: 
next/future/image,remotePatterns,unoptimized: #40142 - fix(#40066): preserve error status code from serveStatic: #40128
 - fix: detect ESLint config in package.json: #40158
 - ignore EEXIST errors when creating symlinks for output standalone: #40150
 - Bump 
@vercel/[email protected]: #40164 - Bump styled-jsx: #40165
 - Match data fetch and busting cache key when path URI encodes: #39568
 - Updating the Next.js Logo: #40181
 - next/script: simplify logic and update tests: #40026
 - Bypass empty pages folder for layouts: #40132
 - chore: Update swc: #39965
 - Fix styled-jsx macro imports: #40234
 - Ensure path can be specified for clearPreviewData: #40238
 - fix: apply default export interop to 
next/config: #40224 - Improved route resolution in next-app-loader: #40109
 - Add prefetch to new router: #39866
 - Update 
next/future/imageto support onlywidthor onlyheight: #40278 - Add experimental proxy timeout option: #40289
 - Fix static info parsing when export data fetching method as variable: #40317
 - fix(switchable-runtime): make dev server not break when wrong runtime config is exported: #40312
 - Revert "Refactor Server Router": #40328
 - fix(switchable-runtime): Make it possible to switch between edge and server runtime in dev: #39327
 - Revert "Revert "Refactor Server Router" (#40328)" : #40333
 - refactor(next/swc): remove unnecessary field in 
RemoveConsole: #40296 - [edge] fix URLSearchParams lacking data from rewrite: #40260
 - fix(lint): disable 
react/no-unknown-property: #40331 - Update 
onLoadingCompletefornext/future/imageto receive reference to<img>: #40326 - Remove warning for swcMinify being enabled: #40359
 
Documentation Changes
- docs: Rename API middlewares title in sidebar: #39534
 - [docs] Avoid next config validation warning: #39554
 - Update strategies count to 4: #39610
 - Change the React Server Components CTA to the router/layout RFC: #39724
 - Add section to 
next/future/imagedocs about Known Browser Bugs: #39759 - Update next.js.configs line number: #39802
 - Add note about using the /_error page directly to custom error page article: #39671
 - Typescript Documentation Improvement for Persistent Layouts: #33659
 - Add clarity in docs for using 
exportPathMapwithgetStaticPaths: #39813 - Update links to point to more accurate docs: #39818
 - Update docs 
next/future/imagewith details about computed aspect ratio: #39829 - Mention router.isPreview on Preview Mode page: #39830
 - doc: improve a word client side rendering: #39771
 - Docs: Updated note about using next/head in basic-features/font-optimization: #39863
 - [docs] Fixed 404 links to Layouts RFC blog post: #39937
 - Adds note about custom server requirements: #39931
 - fix hash-link: #39929
 - Mention 
largePageDataBytesin warning docs: #39941 - Update Font Optimization docs: #39950
 - [docs] Update UTM params of some links: #39951
 - Revert "Adds note about custom server requirements": #39956
 - Update image.md: #39984
 - Update 
script.md: #40017 - [docs] Add precision about 
pageExtensions: #40016 - Update debugging.md (--dev -> --save-dev for npm): #39998
 - docs(testing): add JSDoc typing in 
jest.config.js: #40090 - docs(image): Use hook inside of function component: #40096
 - docs(security-headers): interest-cohort has been replaced by browsing-topics: #40113
 - [docs] Functional syntax for _document example in Basic Features: Font Optimization: #40140
 - Fix typo in error/middleware-upgrade-guide.md: #40176
 - docs: documents middleware matcher: #40180
 - docs: update get-static-paths.md: #40205
 - Change image sizes docs to use em instead of px: #40288
 - Change sizes docs to use max-width in media query: #40290
 - docs: fix numbering in middleware docs: #40276
 - Update docs for 
remotePatternsimage config: #40350 - docs: fix typo: #40354
 
Example Changes
- docs(examples): use vercel integration in cms-sanity: #39323
 - Typo : #39596
 - Update Convex Example: #39562
 - Update with-loading example: #39646
 - [Docs] Update with-slate example: #39639
 - Tweak Convex example: #39739
 - examples/with-redux-thunk , update README (#39555): #39712
 - [Docs] Update mongodb example: #39658
 - Convert with-goober example to TS: #39761
 - [docs] Migrate dynamic routing example to typescript: #39806
 - Remove unnecessary type reference in Vitest example: #39819
 - Update cms-makeswift example: #39834
 - Migrate data-fetch example to typescript: #39852
 - [Docs] Update examples to favour functional _document: #39871
 - chore(with-docker): don't copy package.json twice: #39896
 - Prefer function _app component in examples: #39967
 - Migrate with-xstate to typescript: #39974
 - Use Font Optimization in examples: #39977
 - Add local setup info in the with-supabase-auth-realtime-db example's README: #40030
 - Remove semi in Convex example: #40052
 - Refactored the with-supertokens example to use typescript: #39987
 - Add config types to all examples: #40083
 - adding with-axiom example: #38300
 - Update Convex example to convex 0.1.9: #40162
 - Remove extra "d" in comment: #40212
 - fix(examples/with-styled-components-babel): list should have unique key: #40215
 - Migrate image-component example to typescript: #40204
 - ref(with-sentry example): Explicitly set 
hideSourceMaps: #40079 - Update next-forms example: #40284
 - Migrate with-context-api example to typescript: #40297
 - Migrate with-react-jss to typescript: #40308
 - Update react-remove-properties example: #40307
 - Migrate using-preact example to typescript: #40295
 - added type to clientPromise in with-mongodb/lib: #40339
 - Remove babel from custom-server-typescript example: #40309
 - Merge with-mobx-state-tree with with-mobx-state-tree-typescript example: #40306
 - Fix 
image-componentexample types: #40352 
Misc Changes
- Fix preinstall failed in [email protected] on FreeBSD with [email protected]: #39529
 - Add edge ssr to pr stats: #39621
 - Update test failure logging : #39655
 - Update image tests files from *.js to *.ts: #39663
 - fix(create-app): support github url has trailing slash: #39665
 - Update contributing.md : #39767
 - Update ubuntu CI version due to deprecation: #39817
 - Leverage VERCEL_CLI_VERSION env for deploy tests: #39823
 - Update flakey relay analytics test: #39877
 - Added tests for next/router in app directory: #39867
 - Fix failing e2e getServerSideProps test: #39885
 - Add path to export-page: #39893
 - Fix rsc basic e2e test on deploy: #39905
 - test: merge edge ssr tests: #39924
 - chore: check against 
npmversion in issue validator: #38915 - Increase test concurrency: #39922
 - Fix passing VERCEL_CLI_VERSION env for deploy tests: #39946
 - test: pin typescript version to 4.7: #39978
 - (next/mdx) set providerImportSource to react by default: #39954
 - Add test for server CSS imports: #40019
 - Update docker image for stats action: #40032
 - Update flakey tsconfig test: #40105
 - fix: scripts comment typos: #40207
 - fix(cli): do not throw error when extracting examples in Node 18+: #40182
 - Update to use specific swc version for PR stats: #40237
 - fix(cli): delete temp file after extraction: #40259
 - Fix test hydration check in Safari 10.1: #40285
 - chore: turn off debug mode on issue validator: #40301
 - Update README.md
 
Credits
Huge thanks to @stipsan, @ijjk, @timneutkens, @bennettdams, @shuding, @cherniavskii, @huozhi, @Brooooooklyn, @thatbeautifuldream, @Janpot, @MoosaSaadat, @alexcole, @HaNdTriX, @magic-akari, @balazsorban44, @styfle, @SukkaW, @kdy1, @sokra, @delbaoliveira, @puneetkathar1, @nkzawa, @Schniz, @greebl3, @kasperaamodt, @chaseignited, @masad-frost, @Kikobeats, @davewelsh, @MaedahBatool, @adrianbienias, @michaeloliverx, @arthurdenner, @sumiren, @migueloller, @hanneslund, @wyattjoh, @kwonoj, @boredland, @simongavelin, @esbenam, @theMosaad, @jleclanche, @leerob, @AdilAmanat, @souporserious, @ykdojo, @sanjaiyan-dev, @yoannmoinet, @thomasballinger, @titusdmoore, @jferrettiboke, @Dueen, @dunglas, @KenAKAFrosty, @wbinnssmith, @schehata, @remorses, @visnup, @Nutlope, @yhay81, @hiro0218, @avigoldman, @feugy, @jeferson-sb, @lobsterkatie, @atcastle, @bcheidemann, @Will956, @orionmiz, @S0UPernova, @cvbuelow, and @leonzalion for helping!
v12.2.5
Core Changes
- Change invalid internal upstream image error code: #39334
 - Hoist styles for Route Announcer: #39331
 - fix: wrong reference url for disableStaticImages: #39362
 - fix: skip resizing image if it's animated: #39325
 - Fix catchall rewrites for _next/data routes: #39370
 - Fix 
next/future/imagealt text: #39366 - refactor: add named export in next/server: #39381
 - fix(ts): More strict Redirect type: #38277
 - fix(next): dev server starting when importing a file using get-projec…: #38274
 - Add runtime to PageConfig type: #37453
 - fix: improve logging for _devPagesManifest.json loading failures: #38046
 - Allow custom path for preview mode cookies: #38313
 - Fix removing whitespacing in dev overlay: #28277
 - Fix emotion labelFormat and sourcemap options: #39389
 - Fix emotion shouldForwardProp options breaks component selectors: #39390
 - next/image imgix loader can use multiple auto params: #34808
 - Adds 
eslint-plugin-eslint-pluginto ensureeslint-plugin-nextrules follow ESLint rule best practices along with enforcing some consistency.: #37920 - [ESLint] Adds 
--output-fileflag: #36420 - Update polyfill for eslint no-unwanted-polyfillio rule: #33170
 - fix(ts): Middleware type tweaks: #38625
 - Fix Link generation for SSG pages if locale domains are used: #36818
 - Setup require hook in next-server for styled-jsx resolving: #39305
 - fix: ensure trailing slash on registry URL when fetching wasm fallback: #39427
 - typing: upgrade styled-jsx to remove workaround in build script: #39408
 - Extract redirect utils into a separate file: #39433
 - Ensure locale redirects are not applied in minimal mode: #39436
 - feat(middleware): augments / matcher with /index: #39397
 - Bump edge-runtime packages: #39450
 - Ensure default _app is used when falling back to default _error: #39467
 - Handle rewriting WebSocket requests: #39463
 - App Build Stats: #38884
 - Tweak styled-jsx type declarations: #39474
 - FIX GAUSSIAN BLUR IN FUTURE\IMAGE: #39190
 - Add hot-reloading for env file changes: #38483
 - feat(next-swc/modularize_imports): Add Kebab case: #38583
 - Make dev watch ignore more specific: #39504
 - Bump styled-jsx and remove manual types creation: #39506
 - Add position styling to future fill images: #39438
 - fix: ensure hidden iframe apps render in development mode: #39514
 - Enable @typescript-eslint/no-use-before-define variables,enums,typedefs for core files: #39511
 - Re-add styled-jsx as a normal dependency: #39518
 
Documentation Changes
- docs: update When section of getStaticProps page: #39393
 - Update script.md: #39400
 - API Routes Request Helpers docs.: #39407
 - Improve description of 
context.queryingetServerSideProps(): #39422 - Enhance sizes documentation for next/image: #39301
 - Add component wrapper in sizes documentation code snippet: #39437
 - Update 
router.prefetchdocumentation to includelocaleoption: #39442 - Fix docs path "Invalid getServerSideProps Return Value": #39443
 - Improve next/future/image Migration docs: #39421
 
Example Changes
- Fixed links to supabase examples: #39343
 - Examples/cms-wordpress migrate to TypeScript: #39250
 - chore: upgrade example to Docker Compose v2: #39372
 - fix (examples): Changed the version of next-pwa: #39369
 - Port 'with-static-export' example to TypeScript: #38268
 - update examples/custom-server-fastify and replace depreaction: #38269
 - Land(Update example with-apivideo-upload README): #39391
 - Fix: broken TypeScript in WordPress example.: #39402
 - Enable @typescript-eslint/no-use-before-define for examples dir: #39469
 - [examples] Add on-demand revalidation to Contentful example: #39475
 - Fixed issues with environment variables for Windows users: #37853
 - fix(examples/with-wdyr): example config to support SWC: #39465
 
Misc Changes
- test: ensure default output is correct: #39358
 - Fix failing escheck test: #39365
 - Add yarn 2 Setup Files to Valid Files for create-next-app: #30936
 - Add Object#fromEntries polyfill (with 6 lines of code): #36426
 - chore: restores removed tests: #39452
 - Fix next.config.js overwriting on deploy e2e test: #39476
 - Update contributing.md to recommend corepack: #39479
 - Fix swc build for freebsd target: #39478
 
Credits
Huge thanks to @pthomas931, @madmed88, @sanjaiyan-dev, @balazsorban44, @DonghyukJacobJang, @ijjk, @chaiwattsw, @styfle, @dunglas, @ahkhanjani, @promer94, @terrierscript, @shawncal, @insik-han, @QuiiBz, @ykzts, @JoshuaKGoldberg, @lucasassisrosa, @dikwickley, @Brooooooklyn, @sicarius97, @FourwingsY, @manovotny, @SukkaW, @pepoeverton, @jdeniau, @sumiren, @anthonyshew, @pekarja5, @huozhi, @leerob, @fediev, @atcastle, @shuding, @feugy, @jonohewitt, @zakiego, @Schniz, @timneutkens, @wyattjoh, @MaedahBatool, @X7Becka, @nnnnoel, @dcdev67, @alvinometric, @timothympace, and @jeferson-sb for helping!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
 
This PR has been generated by Mend Renovate. View repository job log here.