@tracktor/shared-module 2.14.2 → 2.14.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +2 -14
  2. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,18 +1,6 @@
1
1
  # Changelog
2
2
 
3
- ## [2.14.2] - 2025-07-02
3
+ ## [2.14.3] - 2025-07-02
4
4
 
5
5
  ### 🔧 Fixed
6
- - **package.json exports**: Fixed incorrect order of export conditions that was causing module resolution issues
7
- - **ESBuild warnings**: Resolved warnings about unreachable `types` and `default` conditions in exports map
8
- - **React Native compatibility**: Improved module resolution for React Native/Metro bundler
9
-
10
- ### 📦 Package Configuration
11
- - ⚡ **Export conditions order**: Reordered to `types` → `import` → `require` → `default` for proper resolution
12
- - 🛠️ **Build warnings**: Eliminated ESBuild warnings about unreachable export conditions
13
- - 📱 **Metro bundler**: Enhanced compatibility with React Native module resolution
14
-
15
- ### 🔍 Technical Details
16
- - Fixed export conditions order where `import` and `require` were preventing `types` and `default` from being used
17
- - Ensured TypeScript can properly resolve type declarations
18
- - Improved cross-platform module loading reliability
6
+ - **package.json exports**: Fixed peer dependency react
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tracktor/shared-module",
3
- "version": "2.14.2",
3
+ "version": "2.14.3",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "types": "./dist/main.d.ts",
@@ -67,7 +67,7 @@
67
67
  },
68
68
  "peerDependencies": {
69
69
  "axios": "*",
70
- "react": ">=18.0.0",
71
- "react-dom": ">=18.0.0"
70
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
71
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0"
72
72
  }
73
73
  }