next-intl 3.5.1 → 3.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  // https://nextjs.org/docs/advanced-features/i18n-routing#leveraging-the-next_locale-cookie
7
7
  const COOKIE_LOCALE_NAME = 'NEXT_LOCALE';
8
8
  const COOKIE_MAX_AGE = 31536000; // 1 year
9
- const COOKIE_SAME_SITE = 'strict';
9
+ const COOKIE_SAME_SITE = 'lax';
10
10
 
11
11
  // Should take precedence over the cookie
12
12
  const HEADER_LOCALE_NAME = 'X-NEXT-INTL-LOCALE';
@@ -1 +1 @@
1
- const L="NEXT_LOCALE",t=31536e3,E="strict",c="X-NEXT-INTL-LOCALE",e="locale";export{L as COOKIE_LOCALE_NAME,t as COOKIE_MAX_AGE,E as COOKIE_SAME_SITE,c as HEADER_LOCALE_NAME,e as LOCALE_SEGMENT_NAME};
1
+ const L="NEXT_LOCALE",E=31536e3,e="lax",l="X-NEXT-INTL-LOCALE",o="locale";export{L as COOKIE_LOCALE_NAME,E as COOKIE_MAX_AGE,e as COOKIE_SAME_SITE,l as HEADER_LOCALE_NAME,o as LOCALE_SEGMENT_NAME};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.COOKIE_LOCALE_NAME="NEXT_LOCALE",exports.COOKIE_MAX_AGE=31536e3,exports.COOKIE_SAME_SITE="strict",exports.HEADER_LOCALE_NAME="X-NEXT-INTL-LOCALE",exports.LOCALE_SEGMENT_NAME="locale";
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.COOKIE_LOCALE_NAME="NEXT_LOCALE",exports.COOKIE_MAX_AGE=31536e3,exports.COOKIE_SAME_SITE="lax",exports.HEADER_LOCALE_NAME="X-NEXT-INTL-LOCALE",exports.LOCALE_SEGMENT_NAME="locale";
@@ -1,6 +1,6 @@
1
1
  export declare const COOKIE_LOCALE_NAME = "NEXT_LOCALE";
2
2
  export declare const COOKIE_MAX_AGE = 31536000;
3
- export declare const COOKIE_SAME_SITE = "strict";
3
+ export declare const COOKIE_SAME_SITE = "lax";
4
4
  export declare const COOKIE_BASE_PATH_NAME = "NEXT_INTL_BASE_PATH";
5
5
  export declare const HEADER_LOCALE_NAME = "X-NEXT-INTL-LOCALE";
6
6
  export declare const LOCALE_SEGMENT_NAME = "locale";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-intl",
3
- "version": "3.5.1",
3
+ "version": "3.5.2",
4
4
  "sideEffects": false,
5
5
  "author": "Jan Amann <jan@amann.work>",
6
6
  "funding": [
@@ -82,7 +82,7 @@
82
82
  "dependencies": {
83
83
  "@formatjs/intl-localematcher": "^0.2.32",
84
84
  "negotiator": "^0.6.3",
85
- "use-intl": "^3.5.1"
85
+ "use-intl": "^3.5.2"
86
86
  },
87
87
  "peerDependencies": {
88
88
  "next": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0",
@@ -141,5 +141,5 @@
141
141
  "limit": "5.81 KB"
142
142
  }
143
143
  ],
144
- "gitHead": "b768a063cf25cdcac04d159c38f4af2b72b4c06d"
144
+ "gitHead": "6aec1c0f1f944fa97730f3564831d039b4b059a8"
145
145
  }