fix(rust-binary-locator): use import.meta.resolve and url.fileURLToPath to locate bundled Rust binary in ESM environments
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 2026-02-10 - 1.1.2 - fix(rust-binary-locator)
|
||||
use import.meta.resolve and url.fileURLToPath to locate bundled Rust binary in ESM environments
|
||||
|
||||
- Replace require.resolve with import.meta.resolve to support ESM module resolution
|
||||
- Convert resolved file URL to a filesystem path using url.fileURLToPath
|
||||
- Export the url module from ts/plugins to provide fileURLToPath
|
||||
|
||||
## 2026-02-10 - 1.1.1 - fix(readme)
|
||||
update README with comprehensive documentation, usage examples, API reference, installation instructions, and legal/company information
|
||||
|
||||
|
||||
Reference in New Issue
Block a user