@navios/di-react 0.2.0 → 0.2.1

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 (2) hide show
  1. package/CHANGELOG.md +6 -1
  2. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.1] - 2025-12-20
9
+
10
+ ### Fixed
11
+
12
+ - Fixed package.json exports to use correct CommonJS file extensions (`.cjs` and `.d.cts`)
13
+
8
14
  ## [0.2.0] - 2025-01-XX
9
15
 
10
16
  ### Added
@@ -36,4 +42,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
36
42
  - Synchronous instance resolution when available (optimization)
37
43
  - React Suspense integration for declarative loading states
38
44
  - Optional service loading for feature flags and plugins
39
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@navios/di-react",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "author": {
5
5
  "name": "Oleksandr Hanzha",
6
6
  "email": "alex@granted.name"
@@ -12,11 +12,11 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "peerDependencies": {
15
- "@navios/di": "^0.6.0",
15
+ "@navios/di": "^0.6.1",
16
16
  "react": "^18.0.0 || ^19.0.0"
17
17
  },
18
18
  "typings": "./lib/index.d.mts",
19
- "main": "./lib/index.js",
19
+ "main": "./lib/index.cjs",
20
20
  "module": "./lib/index.mjs",
21
21
  "exports": {
22
22
  ".": {
@@ -25,20 +25,20 @@
25
25
  "default": "./lib/index.mjs"
26
26
  },
27
27
  "require": {
28
- "types": "./lib/index.d.ts",
29
- "default": "./lib/index.js"
28
+ "types": "./lib/index.d.cts",
29
+ "default": "./lib/index.cjs"
30
30
  }
31
31
  }
32
32
  },
33
33
  "devDependencies": {
34
- "@navios/di": "^0.6.0",
34
+ "@navios/di": "^0.6.1",
35
35
  "@testing-library/dom": "^10.4.1",
36
- "@testing-library/react": "^16.3.0",
36
+ "@testing-library/react": "^16.3.1",
37
37
  "@types/react": "^19.2.7",
38
38
  "jsdom": "^27.3.0",
39
39
  "react": "^19.2.3",
40
40
  "react-dom": "^19.2.3",
41
41
  "typescript": "^5.9.3",
42
- "zod": "^4.1.13"
42
+ "zod": "^4.2.1"
43
43
  }
44
44
  }