@lingui/core 6.0.1 → 6.1.0

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.
package/macro/index.d.mts CHANGED
@@ -126,7 +126,7 @@ export function t(i18n: I18n): {
126
126
  */
127
127
  export function plural(
128
128
  value: number | string | LabeledExpression<number | string>,
129
- options: ChoiceOptions
129
+ options: ChoiceOptions,
130
130
  ): string
131
131
 
132
132
  /**
@@ -151,7 +151,7 @@ export function plural(
151
151
  */
152
152
  export function selectOrdinal(
153
153
  value: number | string | LabeledExpression<number | string>,
154
- options: ChoiceOptions
154
+ options: ChoiceOptions,
155
155
  ): string
156
156
 
157
157
  type SelectOptions = {
@@ -182,7 +182,7 @@ type SelectOptions = {
182
182
  */
183
183
  export function select(
184
184
  value: string | LabeledExpression<string>,
185
- choices: SelectOptions
185
+ choices: SelectOptions,
186
186
  ): string
187
187
 
188
188
  /**
@@ -203,7 +203,7 @@ export function select(
203
203
  * @param descriptor The message descriptor
204
204
  */
205
205
  export function defineMessage(
206
- descriptor: MacroMessageDescriptor
206
+ descriptor: MacroMessageDescriptor,
207
207
  ): MessageDescriptor
208
208
 
209
209
  /**
@@ -232,4 +232,4 @@ export const msg: typeof defineMessage
232
232
  /**
233
233
  * Helps to define a name for a variable in the message
234
234
  */
235
- export function ph(def: LabeledExpression<string | number>): string
235
+ export function ph(def: LabeledExpression<string | number>): string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lingui/core",
3
- "version": "6.0.1",
3
+ "version": "6.1.0",
4
4
  "sideEffects": false,
5
5
  "description": "Internationalization (i18n) tools for JavaScript",
6
6
  "type": "module",
@@ -55,8 +55,8 @@
55
55
  "macro/index.mjs"
56
56
  ],
57
57
  "dependencies": {
58
- "@lingui/babel-plugin-lingui-macro": "6.0.1",
59
- "@lingui/message-utils": "6.0.1"
58
+ "@lingui/babel-plugin-lingui-macro": "6.1.0",
59
+ "@lingui/message-utils": "6.1.0"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@lingui/test-utils": "3.0.3",
@@ -74,5 +74,5 @@
74
74
  "unbuild": {
75
75
  "declaration": "node16"
76
76
  },
77
- "gitHead": "a710fd3c6dca7406a5b0ee219e99474586e93e59"
77
+ "gitHead": "46a340af0dbfc8e4ac483cc607c2b24ac48ab56b"
78
78
  }