Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

## [Unreleased]

### Fixed
- Corrected `exports` map in `package.json` to avoid fallback resolution in Node environments.
- Replaced broken `"import": "./esm.mjs"` with a valid conditional export block.
- Ensures compatibility with Metro, Vite, and Node without resolution warnings.

### [0.2.4](https://github.com/satya164/use-latest-callback/compare/v0.2.3...v0.2.4) (2025-06-14)

Expand Down Expand Up @@ -42,4 +48,4 @@

* fix paths in `package.json` ([13828a2](https://github.com/satya164/use-latest-callback/commit/13828a21077f8885a2b00ab0a15badc3a4e3a3c6))

### [0.1.8](https://github.com/satya164/use-latest-callback/compare/v0.1.7...v0.1.8) (2023-11-09)
### [0.1.8](https://github.com/satya164/use-latest-callback/compare/v0.1.7...v0.1.8) (2023-11-09)
12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@
"types": "./lib/src/index.d.ts",
"exports": {
".": {
"types": "./lib/src/index.d.ts",
"import": "./esm.mjs",
"default": "./lib/src/index.js"
}
},
"types": "./lib/src/index.d.ts",
"import": "./esm.mjs",
"require": "./lib/src/index.js",
"default": "./lib/src/index.js"
}
},

"files": [
"src",
"lib",
Expand Down