Skip to content

Commit

Permalink
fix: Upgrade to negotiator@^1.0 (#1460)
Browse files Browse the repository at this point in the history
Doesn't contain any relevant changes, but good that it's past the 0.x
range now.

https://github.com/jshttp/negotiator/releases/tag/v1.0.0
https://npmdiff.dev/negotiator/0.6.4/1.0.0/
  • Loading branch information
amannn authored Oct 24, 2024
1 parent 5c75143 commit b93f297
Show file tree
Hide file tree
Showing 4 changed files with 1,670 additions and 2,907 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,10 @@
"rollup": "^4.18.0",
"turbo": "^2.2.3"
},
"pnpm": {
"overrides": {
"@babel/parser": "7.21.9"
}
},
"packageManager": "pnpm@9.11.0"
}
6 changes: 3 additions & 3 deletions packages/next-intl/.size-limit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const config: SizeLimitConfig = [
name: "import {createSharedPathnamesNavigation} from 'next-intl/navigation' (react-server)",
path: 'dist/production/navigation.react-server.js',
import: '{createSharedPathnamesNavigation}',
limit: '16.77 KB'
limit: '16.78 KB'
},
{
name: "import {createLocalizedPathnamesNavigation} from 'next-intl/navigation' (react-server)",
Expand All @@ -45,7 +45,7 @@ const config: SizeLimitConfig = [
name: "import {createNavigation} from 'next-intl/navigation' (react-server)",
path: 'dist/production/navigation.react-server.js',
import: '{createNavigation}',
limit: '16.785 KB'
limit: '16.8 KB'
},
{
name: "import * from 'next-intl/server' (react-client)",
Expand All @@ -60,7 +60,7 @@ const config: SizeLimitConfig = [
{
name: "import createMiddleware from 'next-intl/middleware'",
path: 'dist/production/middleware.js',
limit: '9.675 KB'
limit: '9.725 KB'
},
{
name: "import * from 'next-intl/routing'",
Expand Down
2 changes: 1 addition & 1 deletion packages/next-intl/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
],
"dependencies": {
"@formatjs/intl-localematcher": "^0.5.4",
"negotiator": "^0.6.3",
"negotiator": "^1.0.0",
"use-intl": "workspace:^"
},
"peerDependencies": {
Expand Down
Loading

0 comments on commit b93f297

Please sign in to comment.