🩹 Fixes
- eval: Return fallback value (#326)
💅 Refactors
❤️ Contributors
- Lars Kappert (@webpro)
🩹 Fixes
- eval: Fallback in async mode (#325)
🩹 Fixes
- Conditional access to
mod.default(8c30a94)
Important
To enhance compatibility, jiti
>=2.1enabledinteropdefaultusing a new Proxy method. If you migrated to2.0.0earlier, this might have caused behavior changes. In case of any issues during the upgrade, please report so we can investigate to solve them. 🙏🏼🚀 Enhancements
- Support
jiti.import(id, {default: true})(#323)🩹 Fixes
- interopDefault: Avoid
inoperator for primitive inputs (#321)- interopDefault: Simplify logic for default export checks (#322)
❤️ Contributors
🩹 Fixes
- Bump cache version (3acd097)
🌊 Types
- Use local
NodeModuletype (718bea2)
- types: Add standalone types for node require (#316)
- Update babel to 7.25.7
Does any of this look wrong? Please let us know.
See the full diff on Github. The new version differs by 31 commits:
chore(release):
v2.3.3refactor:
remove some unused exports (#327)fix(eval):
return fallback value (#326)chore(release):
v2.3.2chore:
update lockfilefix(eval):
fallback in async mode (#325)chore(release):
v2.3.1fix:
conditional access to `mod.default`chore:
update notechore(release):
v2.3.0chore:
update lockfilefeat:
support `jiti.import(id, {default: true})` (#323)docs:
add note about interop defaultdocs:
update interopDefault description and referencerefactor(interopDefault):
simplify logic for default export checks (#322)fix(interopDefault):
avoid `in` operator for primitive inputs (#321)docs:
fix format (#320)chore(release):
v2.2.1fix:
bump cache versionchore(release):
v2.2.0ci:
correct conditionci:
run nightly release oncefeat:
use smarter proxy for `interopDefault` (#318)refactor:
inline interopDefault from mllychore(release):
v2.1.2types:
use local `NodeModule` typechore(release):
v2.1.1chore:
updarte depsfix(types):
add standalone types for node require (#316)test:
ignore deps for node native registertest:
add dependency tests
- @depfu rebase
- Rebases against your default branch and redoes this update
- @depfu recreate
- Recreates this PR, overwriting any edits that you've made to it
- @depfu merge
- Merges this PR once your tests are passing and conflicts are resolved
- @depfu cancel merge
- Cancels automatic merging of this PR
- @depfu close
- Closes this PR and deletes the branch
- @depfu reopen
- Restores the branch and reopens this PR (if it's closed)
- @depfu pause
- Ignores all future updates for this dependency and closes this PR
- @depfu pause [minor|major]
- Ignores all future minor/major updates for this dependency and closes this PR
- @depfu resume
- Future versions of this dependency will create PRs again (leaves this PR as is)