@depup/i18next 25.10.3-depup.0 → 25.10.4-depup.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/README.md +1 -1
- package/changes.json +1 -1
- package/dist/esm/package.json +1 -1
- package/index.d.ts +3 -1
- package/jsr.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ npm install @depup/i18next
|
|
|
13
13
|
|
|
14
14
|
| Field | Value |
|
|
15
15
|
|-------|-------|
|
|
16
|
-
| Original | [i18next](https://www.npmjs.com/package/i18next) @ 25.10.
|
|
16
|
+
| Original | [i18next](https://www.npmjs.com/package/i18next) @ 25.10.4 |
|
|
17
17
|
| Processed | 2026-03-22 |
|
|
18
18
|
| Smoke test | passed |
|
|
19
19
|
| Deps updated | 0 |
|
package/changes.json
CHANGED
package/dist/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"type":"module","version":"25.10.
|
|
1
|
+
{"type":"module","version":"25.10.4"}
|
package/index.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import type {
|
|
|
12
12
|
ResourceLanguage,
|
|
13
13
|
TOptions,
|
|
14
14
|
} from './typescript/options.js';
|
|
15
|
-
import type { KeyPrefix, TFunction, KeyFromSelectorFn } from './typescript/t.js';
|
|
15
|
+
import type { KeyPrefix, TFunction, KeyFromSelectorFn, SelectorKey } from './typescript/t.js';
|
|
16
16
|
|
|
17
17
|
export interface WithT<Ns extends Namespace = DefaultNamespace> {
|
|
18
18
|
// Expose parameterized t in the i18next interface hierarchy
|
|
@@ -200,11 +200,13 @@ export type Callback = (error: any, t: TFunction) => void;
|
|
|
200
200
|
|
|
201
201
|
/**
|
|
202
202
|
* Uses similar args as the t function and returns true if a key exists.
|
|
203
|
+
* Acts as a type guard, narrowing the key to {@link SelectorKey} so it can be passed to `t()`.
|
|
203
204
|
*/
|
|
204
205
|
export interface ExistsFunction<
|
|
205
206
|
TKeys extends string = string,
|
|
206
207
|
TInterpolationMap extends object = $Dictionary,
|
|
207
208
|
> {
|
|
209
|
+
(key: TKeys, options?: TOptions<TInterpolationMap>): key is TKeys & SelectorKey;
|
|
208
210
|
(key: TKeys | TKeys[], options?: TOptions<TInterpolationMap>): boolean;
|
|
209
211
|
}
|
|
210
212
|
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depup/i18next",
|
|
3
|
-
"version": "25.10.
|
|
3
|
+
"version": "25.10.4-depup.0",
|
|
4
4
|
"description": "i18next internationalization framework (with updated dependencies)",
|
|
5
5
|
"main": "./dist/cjs/i18next.js",
|
|
6
6
|
"module": "./dist/esm/i18next.js",
|
|
@@ -132,8 +132,8 @@
|
|
|
132
132
|
"changes": {},
|
|
133
133
|
"depsUpdated": 0,
|
|
134
134
|
"originalPackage": "i18next",
|
|
135
|
-
"originalVersion": "25.10.
|
|
136
|
-
"processedAt": "2026-03-
|
|
135
|
+
"originalVersion": "25.10.4",
|
|
136
|
+
"processedAt": "2026-03-22T12:15:54.328Z",
|
|
137
137
|
"smokeTest": "passed"
|
|
138
138
|
}
|
|
139
139
|
}
|