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

Bump dts-bundle-generator from 6.13.0 to 9.0.0 #189

Closed

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps dts-bundle-generator from 6.13.0 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)

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)

8.1.0

Added

  • Added support for .mts and .cts extensions (see #204)
  • Fixed handling re-exports in dependencies (see #259)

8.0.1

Fixed

  • declare module Module statements from dependencies are inlined despite if it should be imported (see #250 and a7255127ddbae46f2b4a37d54404fed3c644207e)

... (truncated)

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 6.13.0 to 9.0.0.
- [Release notes](https://github.com/timocov/dts-bundle-generator/releases)
- [Commits](timocov/dts-bundle-generator@v6.13.0...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 the dependencies Pull requests that update a dependency file label Dec 4, 2023
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 1, 2024

Superseded by #196.

@dependabot dependabot bot closed this Jan 1, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/dts-bundle-generator-9.0.0 branch January 1, 2024 18:25
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