mirror of
https://github.com/civitai/civitai.git
synced 2026-09-20 22:08:18 +08:00
update nextjs version
This commit is contained in:
Vendored
+1
-1
@@ -2,4 +2,4 @@
|
||||
/// <reference types="next/image-types/global" />
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
||||
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
|
||||
|
||||
Generated
+1807
-947
File diff suppressed because it is too large
Load Diff
+4
-4
@@ -152,7 +152,7 @@
|
||||
"meilisearch": "0.33.0",
|
||||
"micro": "^10.0.1",
|
||||
"msgpackr": "^1.10.2",
|
||||
"next": "^12.3.4",
|
||||
"next": "^14.2.11",
|
||||
"next-auth": "^4.24.5",
|
||||
"next-axiom": "^0.17.0",
|
||||
"next-plausible": "^3.12.0",
|
||||
@@ -169,10 +169,10 @@
|
||||
"rand-seed": "^1.0.2",
|
||||
"randomstring": "^1.3.0",
|
||||
"rate-limiter-flexible": "^2.4.1",
|
||||
"react": "18.2.0",
|
||||
"react": "^18.3.1",
|
||||
"react-blurhash": "^0.2.0",
|
||||
"react-chartjs-2": "^5.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-highlight-within-textarea": "^3.2.1",
|
||||
"react-hook-form": "^7.45.0",
|
||||
"react-instantsearch": "7.12.0",
|
||||
@@ -245,7 +245,7 @@
|
||||
"eslint-config-airbnb": "^19.0.4",
|
||||
"eslint-config-airbnb-typescript": "^17.0.0",
|
||||
"eslint-config-mantine": "2.0.0",
|
||||
"eslint-config-next": "12.3.1",
|
||||
"eslint-config-next": "^14.2.11",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-import-resolver-typescript": "^3.5.1",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Router, { useRouter } from 'next/router';
|
||||
import { createContext, useContext, useEffect, useRef } from 'react';
|
||||
import { UrlObject } from 'url';
|
||||
import { resolveHref } from 'next/dist/shared/lib/router/router';
|
||||
import { resolveHref } from 'next/dist/client/resolve-href'
|
||||
import { QS } from '~/utils/qs';
|
||||
import { create } from 'zustand';
|
||||
import { useDidUpdate } from '@mantine/hooks';
|
||||
|
||||
@@ -7,7 +7,8 @@ import {
|
||||
getBrowserRouter,
|
||||
useBrowserRouter,
|
||||
} from '~/components/BrowserRouter/BrowserRouterProvider';
|
||||
import { NextRouter, resolveHref } from 'next/dist/shared/lib/router/router';
|
||||
import { NextRouter } from 'next/dist/shared/lib/router/router';
|
||||
import { resolveHref } from 'next/dist/client/resolve-href'
|
||||
import { useCurrentUser } from '~/hooks/useCurrentUser';
|
||||
import { QS } from '~/utils/qs';
|
||||
import { getHasClientHistory } from '~/store/ClientHistoryStore';
|
||||
|
||||
Reference in New Issue
Block a user