@emnapi/core, a vital package for bridging native Node.js modules with WebAssembly environments, has released version 1.4.5, succeeding the previous stable version 1.4.4. While both versions share the same core purpose and MIT license, a key difference lies in their dependencies. Version 1.4.5 utilizes "@emnapi/wasi-threads" version 1.0.4, whereas version 1.4.4 depended on version 1.0.3 of the same package. This indicates potential updates or bug fixes within the threading capabilities crucial for parallel processing within WebAssembly modules. Both versions rely on "tslib" "^2.4.0", underscoring a consistent adherence to TypeScript helper functions.
Examining the dist details also highlights a subtle difference. Version 1.4.5 has a slightly smaller unpacked size (1777435 bytes) compared to version 1.4.4 (1777605 bytes), suggesting minor optimizations or reduction in included assets. Although the file count remains constant at 15, the smaller size could translate to slightly faster load times or a reduced memory footprint. The release date also shows that version 1.4.5 was released more recently than version 1.4.4.
For developers using @emnapi/core, this update suggests exploring the changes incorporated in "@emnapi/wasi-threads" 1.0.4. This might involve reviewing the changelog of "@emnapi/wasi-threads" to see the specific improvements made between versions 1.0.3 and 1.0.4, and assessing if these changes impact your specific use case, particularly if your application leverages multi-threading. The reduced unpacked size is a welcome bonus.
The are not vulnerabilities for the version 1.4.5 of the package @emnapi/core