Releases: exuanbo/module-from-string
Releases · exuanbo/module-from-string
Release list
v3.3.1
v3.3.0
v3.2.1
v3.2.0
v3.1.4
Bug Fixes
import.meta.urlis incorrectly set to path instead of URL string inimportFromString.
Chores
- Bump dependencies. Note that esbuild 0.14.4 adjusted its handling of
defaultexports and the__esModulemarker to improve compatibility with Webpack and Node, which may cause some changes when transforming the code from ES modules to CommonJS modules.
v3.1.3
v3.1.2
v3.1.1
Fixes
- In the previous versions when using
importstatement and dynamicimport()expression, the specifier would not be resolved correctly if used on Windows and the path starts with posix path separator.
Chores
- Bump dependency
esbuildfrom 0.12.22 to 0.12.24
v3.1.0
- Add new optional option
dirnameto specify the directory path for resolving relative pathrequireorimport. - Add support for dynamic
import()expression. - Fix problem when using
importstatement of ES modules.
v3.1.0-0
- Fix support using in ES module scope.
Execute node with--experimental-vm-modulescommand flag to enable this. - Add new optional option
dirnameto specify directory path when resolving relative path import.