Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps dts-bundle-generator from 8.0.1 to 9.1.0.

Release notes

Sourced from dts-bundle-generator's releases.

9.1.0

Release notes

With this release all known bugs in the tool are fixed (especially long-lived ones!) 🎉

Fixed

  • Star re-exports (import * as NS / export * as NS) aren't wrapped with a NS name (see #134 and #281)
  • (Re-)Export from re-export from external library doesn't add import/export statements (see #251 and #279)

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)

8.1.2

Fixed

  • Something went wrong - value cannot be null (see #265 and #267)

8.1.1

Fixed

  • Stack overflow while handling re-exports with circular dependencies (see #264 and 4429eac74b46e06d25238e63b6f9d9fb99393383)

... (truncated)

Commits
  • 88c25b8 Bumped version to 9.1.0
  • 2d3e710 Changed tests to pass with typescript@next (v5.4)
  • f0f0c21 Merge pull request #281 from timocov/fix134-ns
  • 2328187 Added wrapping import/export * as Ns with a namespace
  • 2b4d91b Remove unused file from tests
  • e1394fd Chore: Upgraded deps
  • fc2d5dd Allow to run e2e tests in parallel
  • 1cd06d7 Merge pull request #279 from timocov/re-export-from-external-library-fix251
  • d35f76e Fixed handling re-export from external libraries
  • 7e97d5e Small refactoring of isReExportFromImportableModule
  • 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.0.1 to 9.1.0.
- [Release notes](https://github.com/timocov/dts-bundle-generator/releases)
- [Commits](timocov/dts-bundle-generator@v8.0.1...v9.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 27, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 29, 2023

Superseded by #965.

@dependabot dependabot bot closed this Dec 29, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/dts-bundle-generator-9.1.0 branch December 29, 2023 20:39
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants