jquense / yup

Dead simple Object schema validation
MIT License
22.93k stars 934 forks source link

chore(deps): update dependency dts-bundle-generator to v9 #2141

Open renovate[bot] opened 12 months ago

renovate[bot] commented 12 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dts-bundle-generator ^6.13.0 -> ^9.5.1 age adoption passing confidence

Release Notes

timocov/dts-bundle-generator (dts-bundle-generator) ### [`v9.5.1`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.5.1): 9.5.1 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.5.0...v9.5.1) ##### Fixed - Namespace import disappeared in output (see [#​319](https://redirect.github.com/timocov/dts-bundle-generator/issues/319) and [`aa5a334`](https://redirect.github.com/timocov/dts-bundle-generator/commit/aa5a334bbf58f9f06d8ef75b12262ba4b5e08cb4)) ### [`v9.5.0`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.5.0): 9.5.0 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.4.1...v9.5.0) ##### Fixed - Constants declared by using object/array binding pattern syntax fail the build (see [#​315](https://redirect.github.com/timocov/dts-bundle-generator/issues/315) and [#​317](https://redirect.github.com/timocov/dts-bundle-generator/issues/317)) ### [`v9.4.1`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.4.1): 9.4.1 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.4.0...v9.4.1) ##### Fixed - Fixed issue when because of recursive types some of the types could get removed from the bundle (see [#​318](https://redirect.github.com/timocov/dts-bundle-generator/issues/318) and [`897a5d5`](https://redirect.github.com/timocov/dts-bundle-generator/commit/897a5d50051fb2e13c482a18f4b189410f847475)) ### [`v9.4.0`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.4.0): 9.4.0 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.3.1...v9.4.0) ##### Fixed - Performance improvements (see [#​302](https://redirect.github.com/timocov/dts-bundle-generator/issues/302), [#​303](https://redirect.github.com/timocov/dts-bundle-generator/issues/303) and [#​314](https://redirect.github.com/timocov/dts-bundle-generator/issues/314)) - Declarations of "unknown" modules aren't included despite enabled inlineDeclareExternals flag (see [#​312](https://redirect.github.com/timocov/dts-bundle-generator/issues/312) and [`186e6fd`](https://redirect.github.com/timocov/dts-bundle-generator/commit/186e6fd436058da15a999052631c8fa799536ee7)) - Fixed handling `import *` statements with local usage but not directly exporting (see [#​304](https://redirect.github.com/timocov/dts-bundle-generator/issues/304) and [#​309](https://redirect.github.com/timocov/dts-bundle-generator/issues/309)) - Fixed bug when imported nodes weren't included into bundle if they were used in `declare module` statements only (see [#​305](https://redirect.github.com/timocov/dts-bundle-generator/issues/305) and [#​316](https://redirect.github.com/timocov/dts-bundle-generator/issues/316)) - Fixed issue with unknown extension when using `allowArbitraryExtensions` compiler option (see [#​313](https://redirect.github.com/timocov/dts-bundle-generator/issues/313)) - thanks [@​stepankuzmin](https://redirect.github.com/stepankuzmin) ### [`v9.3.1`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.3.1): 9.3.1 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.3.0...v9.3.1) Fixing one little oopsie from [v9.3.0](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.3.0) release. ##### Fixed - Spamming warning log messages while processing variables (see [`8ecb56f`](https://redirect.github.com/timocov/dts-bundle-generator/commit/8ecb56f3b6be6c218367406a297dfcecedc5b077)) ### [`v9.3.0`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.3.0): 9.3.0 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.2.5...v9.3.0) ##### Changed - Do not compile bundled output together as they might have incompatible global declarations (see [#​296](https://redirect.github.com/timocov/dts-bundle-generator/issues/296) and [`43c2058`](https://redirect.github.com/timocov/dts-bundle-generator/commit/43c2058c8f63c8d3263973f901b7c6d552aac2d2)) ##### Fixed - Not all symbols in a declaration merging are exported (see [#​301](https://redirect.github.com/timocov/dts-bundle-generator/issues/301) and [`874f801`](https://redirect.github.com/timocov/dts-bundle-generator/commit/874f801d35441fac2039daf960a3dad3a84fd37c)) - Namespaced imports/exports don't generate a namespace if they are exported via name (see [#​299](https://redirect.github.com/timocov/dts-bundle-generator/issues/299) and [`86fc2ff`](https://redirect.github.com/timocov/dts-bundle-generator/commit/86fc2ff9cb87fa859cac9dec1b4c15552408b042)) - jsdoc comments are stripped for nodes that were renamed because of the name collision (see [#​298](https://redirect.github.com/timocov/dts-bundle-generator/issues/298) and [`2b1b281`](https://redirect.github.com/timocov/dts-bundle-generator/commit/2b1b2813fa4764bc520a6570ae771ccb1c97c5be)) - Do not rename a node if known global name refers to this a symbol of that node (see [#​297](https://redirect.github.com/timocov/dts-bundle-generator/issues/297) and [`c0a7007`](https://redirect.github.com/timocov/dts-bundle-generator/commit/c0a700731298e9f5b734f18371e21f9ad9597e5a)) ### [`v9.2.5`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.2.5): 9.2.5 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.2.4...v9.2.5) ##### Fixed - Fixed inlining transitive-dependencies when using `inlineDeclareGlobals` (see [`eb03676`](https://redirect.github.com/timocov/dts-bundle-generator/commit/eb036762f3d7b9534b6cfcc7c891419167ceef8a)) ### [`v9.2.4`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.2.4): 9.2.4 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.2.3...v9.2.4) ##### Added - Added a warning if referenced type is not exported because it was renamed due to the name collisions (see [#​288](https://redirect.github.com/timocov/dts-bundle-generator/issues/288), [https://github.com/timocov/dts-bundle-generator/issues/286#issuecomment-1886438899](https://redirect.github.com/timocov/dts-bundle-generator/issues/286#issuecomment-1886438899) and [`262286c`](https://redirect.github.com/timocov/dts-bundle-generator/commit/262286c823bba00fd5e02f3984dfc44ee37bcd69)). ### [`v9.2.3`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.2.3): 9.2.3 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.2.2...v9.2.3) ##### Fixed - Do not export types if their local name changed because of collisions (unless they were explicitly exported) (see [#​286](https://redirect.github.com/timocov/dts-bundle-generator/issues/286) and [`643003f`](https://redirect.github.com/timocov/dts-bundle-generator/commit/643003f93eafb4aacdaab964e3ef7ab5c19a6e11)) ### [`v9.2.2`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.2.2): 9.2.2 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.2.1...v9.2.2) ##### Fixed - Added support for `var` symbol renaming (see [#​285](https://redirect.github.com/timocov/dts-bundle-generator/issues/285)) - thanks [@​Atrue](https://redirect.github.com/Atrue)! ### [`v9.2.1`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.2.1): 9.2.1 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.2.0...v9.2.1) ##### Fixed - Fixed handling `globalThis` and `undefined` (as a value) values (see [#​282](https://redirect.github.com/timocov/dts-bundle-generator/issues/282) and [`6a132dd`](https://redirect.github.com/timocov/dts-bundle-generator/commit/6a132dde62ec6261a4a68bfb26efd85dc0bae699)) ### [`v9.2.0`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.2.0): 9.2.0 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.1.0...v9.2.0) ##### Release notes In this release I tried to adapt tests from api-extractor tool in order to compare results and apart from some passing tests I found a few issues that are fixed in this release. ##### Fixed - Prettified output when some "parts" aren't emitted (e.g. banner) (see [`af1736f`](https://redirect.github.com/timocov/dts-bundle-generator/commit/af1736f6fccd9b550a5acfe25a966a133d5bc083)) - Fixed incorrect `import()` statement if imported name is imported with renaming (see [`9edab0d`](https://redirect.github.com/timocov/dts-bundle-generator/commit/9edab0dd94013e0539de9ea106e79f978ac22f4b)) - Fixed wrongly collision-resolved names when a name exists in a global scope (see [`25703d7`](https://redirect.github.com/timocov/dts-bundle-generator/commit/25703d7f422f3590d1a3ccf7e92bd45d1e4fc987)) - Fixed incorrect output while having re-export via import (see [`e324b37`](https://redirect.github.com/timocov/dts-bundle-generator/commit/e324b3700e728db6971eb97388f93adc8abd066e)) - Fixed incomplete generated namespace while having `export * from` statements (see [`0bd1a19`](https://redirect.github.com/timocov/dts-bundle-generator/commit/0bd1a19173c069b3413b88a772b236035fd176bf)) - Fixed incorrect generation while using `export * from` statements (see [`0bdbf07`](https://redirect.github.com/timocov/dts-bundle-generator/commit/0bdbf078a4e7d963765a689b5383f2b7b33b8aea) and [`b27daaa`](https://redirect.github.com/timocov/dts-bundle-generator/commit/b27daaabf781a893e11a7adbe486717295940b06)) - Fixed error while generating namespaced exports via import statements (see [`06e531f`](https://redirect.github.com/timocov/dts-bundle-generator/commit/06e531f86d161d5794311f046062942e03d4a98b)) ### [`v9.1.0`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.1.0): 9.1.0 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v9.0.0...v9.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](https://redirect.github.com/timocov/dts-bundle-generator/issues/134) and [#​281](https://redirect.github.com/timocov/dts-bundle-generator/issues/281)) - (Re-)Export from re-export from external library doesn't add import/export statements (see [#​251](https://redirect.github.com/timocov/dts-bundle-generator/issues/251) and [#​279](https://redirect.github.com/timocov/dts-bundle-generator/issues/279)) ### [`v9.0.0`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v9.0.0): 9.0.0 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v8.1.2...v9.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](https://redirect.github.com/timocov/dts-bundle-generator/pull/270)). 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](https://redirect.github.com/Atrue) for [the contribution](https://redirect.github.com/timocov/dts-bundle-generator/pull/268) which was a motivation to make this release happen 🙏 ##### Added - Use language service "rename" functionality to avoid name collisions (see [#​130](https://redirect.github.com/timocov/dts-bundle-generator/issues/130) and [#​270](https://redirect.github.com/timocov/dts-bundle-generator/issues/270)) - Support for auto renaming nodes with the same name in the bundle (see [#​116](https://redirect.github.com/timocov/dts-bundle-generator/issues/116) and [#​270](https://redirect.github.com/timocov/dts-bundle-generator/issues/270)) ##### Fixed - Inlining a library with namespaced imports/exports inlines export statements (see [#​271](https://redirect.github.com/timocov/dts-bundle-generator/issues/271) and [#​278](https://redirect.github.com/timocov/dts-bundle-generator/issues/278)) - Incorrect handling re-export with namespace (see [#​274](https://redirect.github.com/timocov/dts-bundle-generator/issues/274) and [#​277](https://redirect.github.com/timocov/dts-bundle-generator/issues/277)) - Double-underscored names aren't exported (see [#​275](https://redirect.github.com/timocov/dts-bundle-generator/issues/275) and [#​276](https://redirect.github.com/timocov/dts-bundle-generator/issues/276)) - Invalid bundle while using `import as` statements in the code (see [#​184](https://redirect.github.com/timocov/dts-bundle-generator/issues/184) and [#​270](https://redirect.github.com/timocov/dts-bundle-generator/issues/270)) - Incorrect handling namespaced imports/exports (see [#​266](https://redirect.github.com/timocov/dts-bundle-generator/issues/266)) ### [`v8.1.2`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v8.1.2): 8.1.2 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v8.1.1...v8.1.2) ##### Fixed - Something went wrong - value cannot be null (see [#​265](https://redirect.github.com/timocov/dts-bundle-generator/issues/265) and [#​267](https://redirect.github.com/timocov/dts-bundle-generator/issues/267)) ### [`v8.1.1`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v8.1.1): 8.1.1 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v8.1.0...v8.1.1) ##### Fixed - Stack overflow while handling re-exports with circular dependencies (see [#​264](https://redirect.github.com/timocov/dts-bundle-generator/issues/264) and [`4429eac`](https://redirect.github.com/timocov/dts-bundle-generator/commit/4429eac74b46e06d25238e63b6f9d9fb99393383)) ### [`v8.1.0`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v8.1.0): 8.1.0 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v8.0.1...v8.1.0) ##### Added - Added support for `.mts` and `.cts` extensions (see [#​204](https://redirect.github.com/timocov/dts-bundle-generator/issues/204)) - Fixed handling re-exports in dependencies (see [#​259](https://redirect.github.com/timocov/dts-bundle-generator/issues/259)) ### [`v8.0.1`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v8.0.1): 8.0.1 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v8.0.0...v8.0.1) ##### Fixed - `declare module Module` statements from dependencies are inlined despite if it should be imported (see [#​250](https://redirect.github.com/timocov/dts-bundle-generator/issues/250) and [`a725512`](https://redirect.github.com/timocov/dts-bundle-generator/commit/a7255127ddbae46f2b4a37d54404fed3c644207e)) ### [`v8.0.0`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v8.0.0): 8.0.0 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v7.2.0...v8.0.0) ##### Breaking changes - Minimal typescript version changed from 4.0 to 5.0 (see [#​238](https://redirect.github.com/timocov/dts-bundle-generator/issues/238) and [#​240](https://redirect.github.com/timocov/dts-bundle-generator/issues/240)) - Changed default behavior for `module ModuleName` statements (without quotes) (see [#​237](https://redirect.github.com/timocov/dts-bundle-generator/issues/237) and [#​242](https://redirect.github.com/timocov/dts-bundle-generator/issues/242)) ##### Fixed - Fixed wrong `export` state of referenced namespaces/modules (see [#​241](https://redirect.github.com/timocov/dts-bundle-generator/issues/241) and [#​242](https://redirect.github.com/timocov/dts-bundle-generator/issues/242)) - Some types are removed if they used in ambient context (see [#​243](https://redirect.github.com/timocov/dts-bundle-generator/issues/243) and [#​244](https://redirect.github.com/timocov/dts-bundle-generator/issues/244)) - Imports are lost when importing esm-like modules without default export using commonjs import or esm import default (see [#​230](https://redirect.github.com/timocov/dts-bundle-generator/issues/230) and [#​245](https://redirect.github.com/timocov/dts-bundle-generator/issues/245)) - Statements aren't inlined if they are used in declare global statements only (see [#​214](https://redirect.github.com/timocov/dts-bundle-generator/issues/214) and [#​246](https://redirect.github.com/timocov/dts-bundle-generator/issues/246)) - Fixed incorrect output if rename while re-exporting the default export without a name (see [#​185](https://redirect.github.com/timocov/dts-bundle-generator/issues/185) and [#​248](https://redirect.github.com/timocov/dts-bundle-generator/issues/248)) ### [`v7.2.0`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v7.2.0): 7.2.0 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v7.1.0...v7.2.0) ##### Fixed - Incorrect handling inlining `import()` statements (see [#​234](https://redirect.github.com/timocov/dts-bundle-generator/issues/234) and [#​235](https://redirect.github.com/timocov/dts-bundle-generator/issues/235)) ### [`v7.1.0`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v7.1.0): 7.1.0 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v7.0.0...v7.1.0) ##### Fixed - Fixed incorrect handling optional binding elements by [@​jinzhubaofu](https://redirect.github.com/jinzhubaofu) and [@​timocov](https://redirect.github.com/timocov) (see [`2e1b1af`](https://redirect.github.com/timocov/dts-bundle-generator/commit/2e1b1afa0dc405641b57963148b8487a3d6ddb50) and [#​229](https://redirect.github.com/timocov/dts-bundle-generator/issues/229)) ##### New Contributors - [@​jinzhubaofu](https://redirect.github.com/jinzhubaofu) made their first contribution in [`2e1b1af`](https://redirect.github.com/timocov/dts-bundle-generator/commit/2e1b1afa0dc405641b57963148b8487a3d6ddb50) **Full Changelog**: https://github.com/timocov/dts-bundle-generator/compare/v7.0.0...v7.1.0 ### [`v7.0.0`](https://redirect.github.com/timocov/dts-bundle-generator/releases/tag/v7.0.0): 7.0.0 [Compare Source](https://redirect.github.com/timocov/dts-bundle-generator/compare/v6.13.0...v7.0.0) ##### Breaking changes - Minimal typescript version changed from 3.0 to 4.5 - `yargs` dependency was upgraded from 17.2 to 17.6 - Minimal NodeJS version changed from 12 to 14 - Compilation target changed from `es5` to `es2020` (modules are still `commonjs` though) See [#​224](https://redirect.github.com/timocov/dts-bundle-generator/issues/224) ##### Fixed - Improve support of non-relative imports in projects with a baseUrl (see [#​224](https://redirect.github.com/timocov/dts-bundle-generator/issues/224)) Many thanks to [@​josh-](https://redirect.github.com/josh-) for their contribution!

Configuration

📅 Schedule: Branch creation - "before 4am" (UTC), 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 was generated by Mend Renovate. View the repository job log.