next-intl 3.4.0 → 3.4.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.
Files changed (1) hide show
  1. package/package.json +9 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "next-intl",
3
- "version": "3.4.0",
3
+ "version": "3.4.2",
4
4
  "sideEffects": false,
5
5
  "author": "Jan Amann <jan@amann.work>",
6
6
  "funding": [
@@ -19,7 +19,9 @@
19
19
  "scripts": {
20
20
  "build": "rm -rf dist && rollup -c",
21
21
  "test": "TZ=Europe/Berlin vitest",
22
- "lint": "eslint src test && tsc --noEmit",
22
+ "lint": "pnpm run lint:source && pnpm run lint:package",
23
+ "lint:source": "eslint src test && tsc --noEmit",
24
+ "lint:package": "publint && attw --pack",
23
25
  "prepublishOnly": "CI=true turbo test && turbo lint && turbo build && cp ../../README.md .",
24
26
  "postpublish": "git checkout . && rm ./README.md",
25
27
  "size": "size-limit"
@@ -80,13 +82,14 @@
80
82
  "dependencies": {
81
83
  "@formatjs/intl-localematcher": "^0.2.32",
82
84
  "negotiator": "^0.6.3",
83
- "use-intl": "^3.4.0"
85
+ "use-intl": "^3.4.2"
84
86
  },
85
87
  "peerDependencies": {
86
88
  "next": "^10.0.0 || ^11.0.0 || ^12.0.0 || ^13.0.0 || ^14.0.0",
87
89
  "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
88
90
  },
89
91
  "devDependencies": {
92
+ "@arethetypeswrong/cli": "^0.13.5",
90
93
  "@edge-runtime/vm": "^3.1.3",
91
94
  "@size-limit/preset-big-lib": "^8.2.6",
92
95
  "@testing-library/react": "^13.0.0",
@@ -99,6 +102,7 @@
99
102
  "eslint-plugin-deprecation": "^1.4.1",
100
103
  "next": "^14.0.4",
101
104
  "path-to-regexp": "^6.2.1",
105
+ "publint": "^0.2.7",
102
106
  "react": "^18.2.0",
103
107
  "react-dom": "^18.2.0",
104
108
  "rollup": "^3.28.1",
@@ -110,7 +114,7 @@
110
114
  "size-limit": [
111
115
  {
112
116
  "path": "dist/production/index.react-client.js",
113
- "limit": "12.841 KB"
117
+ "limit": "12.855 KB"
114
118
  },
115
119
  {
116
120
  "path": "dist/production/index.react-server.js",
@@ -137,5 +141,5 @@
137
141
  "limit": "5.8 KB"
138
142
  }
139
143
  ],
140
- "gitHead": "7f87617f8db3f4750a048f16f61aaa1af85e8979"
144
+ "gitHead": "2ea59f67b13eea745f11fa27a6d57ec25ed6ac71"
141
145
  }