Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): Bump dts-bundle-generator from 8.1.2 to 9.0.0 #3121

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 4, 2023

Bumps dts-bundle-generator from 8.1.2 to 9.0.0.

Release notes

Sourced from dts-bundle-generator's releases.

9.0.0

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-export export { 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

  • Use language service "rename" functionality to avoid name collisions (see #130 and #270)
  • Support for auto renaming nodes with the same name in the bundle (see #116 and #270)

Fixed

  • Inlining a library with namespaced imports/exports inlines export statements (see #271 and #278)
  • Incorrect handling re-export with namespace (see #274 and #277)
  • Double-underscored names aren't exported (see #275 and #276)
  • Invalid bundle while using import as statements in the code (see #184 and #270)
  • Incorrect handling namespaced imports/exports (see #266)
Commits
  • 1ffe5cf Bumped version to 9.0.0
  • 1206fd6 Removed redundant limitation from readme
  • 9a6c1d6 Fixed checking dts config
  • f31f373 Merge pull request #278 from timocov/external-inlines-with-re-exports
  • 7336366 Fixed accidentally inlining export statements while inlining a library with n...
  • e1fd042 Replaced type-cast with non-null-assertion as it is more type-safe
  • a9dba29 Removed redundant log message
  • 5595933 Replaced an array of symbols with a set of symbols
  • 2c18acb Fixed output with no statements
  • ae60dbc Refactored processing namespaced imports
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dts-bundle-generator](https://github.com/timocov/dts-bundle-generator) from 8.1.2 to 9.0.0.
- [Release notes](https://github.com/timocov/dts-bundle-generator/releases)
- [Commits](timocov/dts-bundle-generator@v8.1.2...v9.0.0)

---
updated-dependencies:
- dependency-name: dts-bundle-generator
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 4, 2023
Copy link

vercel bot commented Dec 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marked-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2023 3:48pm

@UziTech UziTech merged commit c47e496 into master Dec 4, 2023
8 checks passed
@UziTech UziTech deleted the dependabot/npm_and_yarn/dts-bundle-generator-9.0.0 branch December 4, 2023 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant