@entropic-bond/localize-react 1.4.2 → 1.4.3

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/lib/locale.d.ts CHANGED
@@ -5,7 +5,7 @@ interface LocaleConfig {
5
5
  export interface LocaleEntries {
6
6
  [key: string | symbol]: string;
7
7
  }
8
- declare type Rule = (word: string, locale: string) => string;
8
+ type Rule = (word: string, locale: string) => string;
9
9
  export declare class Locale {
10
10
  private constructor();
11
11
  static get instance(): Locale;
@@ -3,7 +3,7 @@ import { LocaleEntries } from './locale';
3
3
  export interface LocalizedState {
4
4
  locale?: LocaleEntries;
5
5
  }
6
- export declare type StateWithLocale<S> = S & LocalizedState;
6
+ export type StateWithLocale<S> = S & LocalizedState;
7
7
  /**
8
8
  * Derive React components from this class to provide locale capabilities.
9
9
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entropic-bond/localize-react",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "branches": [
@@ -44,24 +44,24 @@
44
44
  },
45
45
  "homepage": "https://github.com/entropic-bond/localize-react#readme",
46
46
  "devDependencies": {
47
- "@semantic-release/changelog": "^6.0.1",
47
+ "@semantic-release/changelog": "^6.0.2",
48
48
  "@semantic-release/git": "^10.0.1",
49
49
  "@testing-library/jest-dom": "^5.16.5",
50
- "@testing-library/react": "^13.3.0",
50
+ "@testing-library/react": "^13.4.0",
51
51
  "@testing-library/user-event": "^14.4.3",
52
- "@types/jest": "^28.1.7",
53
- "@types/react": "^18.0.17",
54
- "@types/react-dom": "^18.0.6",
52
+ "@types/jest": "^29.2.5",
53
+ "@types/react": "^18.0.26",
54
+ "@types/react-dom": "^18.0.10",
55
55
  "fetch-mock": "^9.11.0",
56
56
  "git-branch-is": "^4.0.0",
57
- "husky": "^8.0.1",
58
- "jest": "^28.1.3",
59
- "jest-environment-jsdom": "^28.1.3",
57
+ "husky": "^8.0.3",
58
+ "jest": "^29.3.1",
59
+ "jest-environment-jsdom": "^29.3.1",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0",
62
62
  "semantic-release": "^19.0.3",
63
- "ts-jest": "^28.0.8",
64
- "typescript": "^4.7.4"
63
+ "ts-jest": "^29.0.5",
64
+ "typescript": "^4.9.4"
65
65
  },
66
66
  "husky": {
67
67
  "hooks": {