Skip to content

Commit 4023b6b

Browse files
authored
Update all pnpm dependencies (2024-03-18) (#523)
1 parent 2988371 commit 4023b6b

File tree

7 files changed

+406
-540
lines changed

7 files changed

+406
-540
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"husky": "^8.0.3",
2525
"npm-run-all": "^4.1.5",
2626
"semantic-release": "^22.0.12",
27-
"turbo": "^1.12.4",
28-
"typescript": "^5.3.3"
27+
"turbo": "^1.12.5",
28+
"typescript": "^5.4.2"
2929
},
3030
"prettier": {
3131
"arrowParens": "avoid",

packages/docs/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,16 @@
4646
},
4747
"devDependencies": {
4848
"@types/mdx": "^2.0.11",
49-
"@types/react": "^18.2.55",
50-
"@types/react-dom": "^18.2.19",
49+
"@types/react": "^18.2.65",
50+
"@types/react-dom": "^18.2.22",
5151
"@types/semver": "^7.5.7",
5252
"autoprefixer": "^10.4.18",
5353
"postcss": "^8.4.35",
5454
"prettier": "^3.2.5",
55-
"prettier-plugin-tailwindcss": "^0.5.11",
55+
"prettier-plugin-tailwindcss": "^0.5.12",
5656
"remark-mdx-images": "^3.0.0",
5757
"shikiji": "^0.10.2",
58-
"typescript": "^5.3.3"
58+
"typescript": "^5.4.2"
5959
},
6060
"postcss": {
6161
"plugins": {

packages/e2e/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
},
2828
"devDependencies": {
2929
"@types/node": "^20.11.19",
30-
"@types/react": "^18.2.55",
31-
"@types/react-dom": "^18.2.19",
30+
"@types/react": "^18.2.65",
31+
"@types/react-dom": "^18.2.22",
3232
"@types/semver": "^7.5.7",
3333
"@types/webpack": "^5.28.5",
3434
"cypress": "^13.6.6",
3535
"npm-run-all": "^4.1.5",
3636
"semver": "^7.6.0",
37-
"typescript": "^5.3.3"
37+
"typescript": "^5.4.2"
3838
}
3939
}

packages/nuqs/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,16 @@
7272
"devDependencies": {
7373
"@size-limit/preset-small-lib": "^11.0.2",
7474
"@types/node": "^20.11.19",
75-
"@types/react": "^18.2.55",
76-
"@types/react-dom": "^18.2.19",
75+
"@types/react": "^18.2.65",
76+
"@types/react-dom": "^18.2.22",
7777
"next": "14.0.1",
7878
"npm-run-all": "^4.1.5",
7979
"react": "^18.2.0",
8080
"react-dom": "^18.2.0",
8181
"size-limit": "^11.0.2",
8282
"tsd": "^0.30.7",
8383
"tsup": "^8.0.2",
84-
"typescript": "^5.3.3",
84+
"typescript": "^5.4.2",
8585
"vitest": "^1.3.1"
8686
},
8787
"tsd": {

packages/nuqs/src/cache.ts

+6-4
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import type { ParserBuilder } from './parsers'
44

55
export type SearchParams = Record<string, string | string[] | undefined>
66

7-
type ExtractParserType<Parser> = Parser extends ParserBuilder<any>
8-
? ReturnType<Parser['parseServerSide']>
9-
: never
7+
type ExtractParserType<Parser> =
8+
Parser extends ParserBuilder<any>
9+
? ReturnType<Parser['parseServerSide']>
10+
: never
1011

1112
export function createSearchParamsCache<
1213
Parsers extends Record<string, ParserBuilder<any>>
@@ -39,7 +40,7 @@ export function createSearchParamsCache<
3940
}
4041
return c as Readonly<ParsedSearchParams>
4142
}
42-
function get<Key extends keyof Parsers>(key: Key): ParsedSearchParams[Key] {
43+
function get<Key extends Keys>(key: Key): ParsedSearchParams[Key] {
4344
const c = getCache()
4445
const entry = c[key]
4546
if (typeof entry === 'undefined') {
@@ -49,6 +50,7 @@ export function createSearchParamsCache<
4950
in get(${String(key)})`
5051
)
5152
}
53+
// @ts-ignore
5254
return entry
5355
}
5456
return { parse, get, all }

packages/scripts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"devDependencies": {
1313
"@types/minimist": "^1.2.5",
1414
"@types/node": "^20.11.19",
15-
"typescript": "^5.3.3"
15+
"typescript": "^5.4.2"
1616
}
1717
}

0 commit comments

Comments
 (0)