chore(deps): update dts-bundle-generator to v9 #431
Merged
+5
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.1.2
->9.0.0
Release Notes
timocov/dts-bundle-generator (dts-bundle-generator)
v9.0.0
: 9.0.0Compare Source
Release notes
This release is one of biggest and the most valuable releases in years.
It introduces a fix for a limitation that existed since very first release i.e. resolving of name collisions 🎉.
Now, if you have 2 nodes with the same name in the bundle, one of them will be renamed (by adding
$NUM
suffix) to avoid clashing and accidental declaration merging (but if you have 2 interfaces declared in the same module to have declaration merging it should work as expected too).Because of this new mechanism it helped to address some of the issues that I wasn't aware of but it seems that it existed in some of the packages, i.e. using a wrong name because of renaming during import (
import { name as newName }
case) (see "Additional information" section in this PR).One of known changes in the declaration generation with this release is that a function/class/etc that was originally exported with the
default
export will never be exported directly but via re-exportexport { name as default }
. This should not affect the result of the bundle but I think it is worth to note it.But there is more, please refer to the change log below.
Last but not least, I want to thank @Atrue for the contribution which was a motivation to make this release happen 🙏
Added
Fixed
import as
statements in the code (see #184 and #270)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.