react-i18next 13.3.1 → 13.3.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 13.3.2
2
+
3
+ - types: fix consider importing '\*.js'
4
+
1
5
  ### 13.3.1
2
6
 
3
7
  - optimize defaultVariables feature introduced in last release
@@ -1 +1 @@
1
- {"type":"module","version":"13.3.1"}
1
+ {"type":"module","version":"13.3.2"}
package/icu.macro.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { Trans } from './';
2
+ import { Trans } from './index.js';
3
3
  import type { Namespace, TypeOptions, i18n, ParseKeys } from 'i18next';
4
4
 
5
5
  export { Trans };
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { $Subtract, $Tuple } from './helpers';
1
+ import type { $Subtract, $Tuple } from './helpers.js';
2
2
  import type {
3
3
  ReactOptions,
4
4
  i18n,
@@ -10,11 +10,11 @@ import type {
10
10
  KeyPrefix,
11
11
  } from 'i18next';
12
12
  import * as React from 'react';
13
- import { Trans, TransProps } from './TransWithoutContext';
14
- export { initReactI18next } from './initReactI18next';
13
+ import { Trans, TransProps } from './TransWithoutContext.js';
14
+ export { initReactI18next } from './initReactI18next.js';
15
15
 
16
16
  export const TransWithoutContext: typeof Trans;
17
- export { Trans, TransProps }
17
+ export { Trans, TransProps };
18
18
 
19
19
  export function setDefaults(options: ReactOptions): void;
20
20
  export function getDefaults(): ReactOptions;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-i18next",
3
- "version": "13.3.1",
3
+ "version": "13.3.2",
4
4
  "description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "types": "./index.d.ts",
@@ -172,11 +172,6 @@
172
172
  "!**/example/**"
173
173
  ]
174
174
  },
175
- "husky": {
176
- "hooks": {
177
- "pre-commit": "lint-staged"
178
- }
179
- },
180
175
  "lint-staged": {
181
176
  "linters": {
182
177
  "*.{ts,tsx,js,json,md}": [