Updates next-usequerystate to nuqs (#399)
This commit is contained in:
parent
9ad2b64e2d
commit
bc3f716f8c
5 changed files with 21 additions and 15 deletions
28
package-lock.json
generated
28
package-lock.json
generated
|
|
@ -51,7 +51,7 @@
|
|||
"next": "^13.4.19",
|
||||
"next-i18next": "^10.5.0",
|
||||
"next-themes": "^0.2.1",
|
||||
"next-usequerystate": "^1.7.0",
|
||||
"nuqs": "^1.14.0",
|
||||
"pluralize": "^8.0.0",
|
||||
"react": "^18.2.0",
|
||||
"react-bootstrap-typeahead": "^6.2.3",
|
||||
|
|
@ -16774,6 +16774,11 @@
|
|||
"integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/mitt": {
|
||||
"version": "3.0.1",
|
||||
"resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz",
|
||||
"integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw=="
|
||||
},
|
||||
"node_modules/mkdirp": {
|
||||
"version": "0.5.6",
|
||||
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz",
|
||||
|
|
@ -16988,16 +16993,6 @@
|
|||
"react-dom": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/next-usequerystate": {
|
||||
"version": "1.7.2",
|
||||
"resolved": "https://registry.npmjs.org/next-usequerystate/-/next-usequerystate-1.7.2.tgz",
|
||||
"integrity": "sha512-5ChbGoG/TGYRuKtpI4fKf1wsePYrO75srXwLcuPR0Nnbm7Tspfbx0L6215PRmUb9ZJCRLoXy6J3CqJRZYCot3w==",
|
||||
"peerDependencies": {
|
||||
"next": "*",
|
||||
"react": "*",
|
||||
"react-dom": "*"
|
||||
}
|
||||
},
|
||||
"node_modules/next/node_modules/postcss": {
|
||||
"version": "8.4.14",
|
||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.14.tgz",
|
||||
|
|
@ -17188,6 +17183,17 @@
|
|||
"url": "https://github.com/fb55/nth-check?sponsor=1"
|
||||
}
|
||||
},
|
||||
"node_modules/nuqs": {
|
||||
"version": "1.14.0",
|
||||
"resolved": "https://registry.npmjs.org/nuqs/-/nuqs-1.14.0.tgz",
|
||||
"integrity": "sha512-bdJlLFTwowc6oA8dvhY+s52lIW3F8J6mTksIoDo414D/6P7uf1039XJiRtZXi6rk6374I7e4Pn//YjMJ2pYWbQ==",
|
||||
"dependencies": {
|
||||
"mitt": "^3.0.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"next": ">=13.4 <14.0.2 || ^14.0.3"
|
||||
}
|
||||
},
|
||||
"node_modules/object-assign": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
"next": "^13.4.19",
|
||||
"next-i18next": "^10.5.0",
|
||||
"next-themes": "^0.2.1",
|
||||
"next-usequerystate": "^1.7.0",
|
||||
"nuqs": "^1.14.0",
|
||||
"pluralize": "^8.0.0",
|
||||
"react": "^18.2.0",
|
||||
"react-bootstrap-typeahead": "^6.2.3",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import React, { useCallback, useEffect, useState } from 'react'
|
||||
import InfiniteScroll from 'react-infinite-scroll-component'
|
||||
import { queryTypes, useQueryState } from 'next-usequerystate'
|
||||
import { useQueryState } from 'nuqs'
|
||||
import { useRouter } from 'next/router'
|
||||
import { useTranslation } from 'next-i18next'
|
||||
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import React, { useCallback, useEffect, useState } from 'react'
|
||||
import InfiniteScroll from 'react-infinite-scroll-component'
|
||||
import { queryTypes, useQueryState } from 'next-usequerystate'
|
||||
import { useQueryState } from 'nuqs'
|
||||
import { useRouter } from 'next/router'
|
||||
import { useTranslation } from 'next-i18next'
|
||||
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import React, { useCallback, useEffect, useState } from 'react'
|
||||
import InfiniteScroll from 'react-infinite-scroll-component'
|
||||
import { getCookie } from 'cookies-next'
|
||||
import { queryTypes, useQueryState } from 'next-usequerystate'
|
||||
import { useQueryState } from 'nuqs'
|
||||
import { useRouter } from 'next/router'
|
||||
import { useTranslation } from 'next-i18next'
|
||||
import { serverSideTranslations } from 'next-i18next/serverSideTranslations'
|
||||
|
|
|
|||
Loading…
Reference in a new issue