Altinn / digdir-assistants

Generative AI assistants
MIT License
3 stars 0 forks source link

Update dependency remeda to v2 - autoclosed #67

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
remeda (source) ^1.61.0 -> ^2.0.0 age adoption passing confidence

Release Notes

remeda/remeda (remeda) ### [`v2.2.0`](https://togithub.com/remeda/remeda/releases/tag/v2.2.0) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.1.0...v2.2.0) ##### Features - **hasSubObject:** improve typing ([#​686](https://togithub.com/remeda/remeda/issues/686)) ([70fef47](https://togithub.com/remeda/remeda/commit/70fef4726309037b1c4fc84c5b75228c7848661b)) ### [`v2.1.0`](https://togithub.com/remeda/remeda/releases/tag/v2.1.0) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.12...v2.1.0) ##### Features - **split:** Add split ([#​734](https://togithub.com/remeda/remeda/issues/734)) ([f66b800](https://togithub.com/remeda/remeda/commit/f66b80088fdaa0c7cd3bcc633a6c80911d0740a5)) ### [`v2.0.12`](https://togithub.com/remeda/remeda/releases/tag/v2.0.12) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.11...v2.0.12) ##### Bug Fixes - **pullObject,fromKeys:** Don't partialize unbound records ([#​735](https://togithub.com/remeda/remeda/issues/735)) ([ca8f2d4](https://togithub.com/remeda/remeda/commit/ca8f2d4aa34c667503770a35d1a87436279d6605)) ### [`v2.0.11`](https://togithub.com/remeda/remeda/releases/tag/v2.0.11) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.10...v2.0.11) ##### Bug Fixes - key and value typing of unions of object types. ([#​728](https://togithub.com/remeda/remeda/issues/728)) ([e3a8214](https://togithub.com/remeda/remeda/commit/e3a821408cf7f92cae5e09ce392cd6b7eb483cb8)), closes [#​727](https://togithub.com/remeda/remeda/issues/727) ### [`v2.0.10`](https://togithub.com/remeda/remeda/releases/tag/v2.0.10) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.9...v2.0.10) ##### Bug Fixes - Don't return partial for branded or template keys ([#​721](https://togithub.com/remeda/remeda/issues/721)) ([9be11d0](https://togithub.com/remeda/remeda/commit/9be11d08565c56021d392fe71ef84d3eeb99eba2)), closes [#​719](https://togithub.com/remeda/remeda/issues/719) ### [`v2.0.9`](https://togithub.com/remeda/remeda/releases/tag/v2.0.9) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.8...v2.0.9) ##### Bug Fixes - **hasSubObject:** use `Simplify` type to show better type information ([#​726](https://togithub.com/remeda/remeda/issues/726)) ([931c52e](https://togithub.com/remeda/remeda/commit/931c52ec2e4d6e0ebc01ee2df6ef8288c55fae0c)), closes [/github.com/remeda/remeda/pull/683#discussion_r1630022640](https://togithub.com//github.com/remeda/remeda/pull/683/issues/discussion_r1630022640) - **isNullish:** better type narrowing ([#​725](https://togithub.com/remeda/remeda/issues/725)) ([427a5d8](https://togithub.com/remeda/remeda/commit/427a5d8146c171cd1572d16c6eda388832f6247a)), closes [/github.com/remeda/remeda/issues/675#issuecomment-2155230051](https://togithub.com//github.com/remeda/remeda/issues/675/issues/issuecomment-2155230051) ### [`v2.0.8`](https://togithub.com/remeda/remeda/releases/tag/v2.0.8) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.7...v2.0.8) ##### Bug Fixes - **conditional:** Use Object.assign to inject the defaultCase prop ([#​723](https://togithub.com/remeda/remeda/issues/723)) ([0e4c237](https://togithub.com/remeda/remeda/commit/0e4c23764148c12dae7e3bc7520bd6b7a646fa61)), closes [#​720](https://togithub.com/remeda/remeda/issues/720) [#​720](https://togithub.com/remeda/remeda/issues/720) [#​596](https://togithub.com/remeda/remeda/issues/596) ### [`v2.0.7`](https://togithub.com/remeda/remeda/releases/tag/v2.0.7) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.6...v2.0.7) ##### Bug Fixes - **hasSubObject:** incorrect type narrowing in negate condition ([#​683](https://togithub.com/remeda/remeda/issues/683)) ([a7d081e](https://togithub.com/remeda/remeda/commit/a7d081e00bd8db2fca2302396911e9f995fbc167)), closes [#​678](https://togithub.com/remeda/remeda/issues/678) ### [`v2.0.6`](https://togithub.com/remeda/remeda/releases/tag/v2.0.6) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.5...v2.0.6) ##### Bug Fixes - **pipe:** early exit on hasMany ([#​722](https://togithub.com/remeda/remeda/issues/722)) ([aa8f4d4](https://togithub.com/remeda/remeda/commit/aa8f4d42e8c6791cfb01f2da6f14999d7a04c44d)) ### [`v2.0.5`](https://togithub.com/remeda/remeda/releases/tag/v2.0.5) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.4...v2.0.5) ##### Bug Fixes - **join:** Remove Joined type export ([#​718](https://togithub.com/remeda/remeda/issues/718)) ([8a350e5](https://togithub.com/remeda/remeda/commit/8a350e515408e8f9d1f639558a37de093707a8ff)) ### [`v2.0.4`](https://togithub.com/remeda/remeda/releases/tag/v2.0.4) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.3...v2.0.4) ##### Bug Fixes - **set:** prevent setting `undefined` on optional props ([#​715](https://togithub.com/remeda/remeda/issues/715)) ([43f3fc8](https://togithub.com/remeda/remeda/commit/43f3fc837d8f86f1a2762bbf88003ae9a7a7f827)) ### [`v2.0.3`](https://togithub.com/remeda/remeda/releases/tag/v2.0.3) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.2...v2.0.3) ##### Bug Fixes - **takeLast:** fix index export ([#​712](https://togithub.com/remeda/remeda/issues/712)) ([459dd94](https://togithub.com/remeda/remeda/commit/459dd9498b0fcdd95d2fdf20c537c39498648d66)) ### [`v2.0.2`](https://togithub.com/remeda/remeda/releases/tag/v2.0.2) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.1...v2.0.2) ##### Bug Fixes - **intersection,difference:** add to index file ([#​711](https://togithub.com/remeda/remeda/issues/711)) ([b541a0b](https://togithub.com/remeda/remeda/commit/b541a0b13652fb99d20f79897505793f4e2764be)), closes [#​710](https://togithub.com/remeda/remeda/issues/710) ### [`v2.0.1`](https://togithub.com/remeda/remeda/releases/tag/v2.0.1) [Compare Source](https://togithub.com/remeda/remeda/compare/v2.0.0...v2.0.1) ##### Bug Fixes - **pickBy,omitBy:** Don't partialize simple records ([#​706](https://togithub.com/remeda/remeda/issues/706)) ([fdeb3e2](https://togithub.com/remeda/remeda/commit/fdeb3e2cb4a3e54f3d5fcb41db9e0e6a0e595548)), closes [#​696](https://togithub.com/remeda/remeda/issues/696) ### [`v2.0.0`](https://togithub.com/remeda/remeda/releases/tag/v2.0.0) [Compare Source](https://togithub.com/remeda/remeda/compare/v1.61.0...v2.0.0) 🎉 We are excited to announce the release of **Remeda v2**! 🎉 It's been nearly two years since our last major update, and this version is packed with the improvements and changes you've been waiting for. This release focuses on modernization and simplification, gathering many important updates into one comprehensive release. To make the transition as easy as possible we've prepared a [thorough migration guide, which can be found on our documentation site](https://remedajs.com/v1#migration-intro). ### Highlights - [**Modernized Runtime and TypeScript Support**](https://remedajs.com/v1#migration-environment): Remeda is now compiled with a target of **ES2022**, and the minimum TypeScript version is now **5.1**, allowing us to leverage the latest features for improved type safety and better runtime performance. - [**Removed Variants**](https://remedajs.com/v1#migration-variants): The `indexed` and `strict` variants are now merged into the base functions, with indexed parameters and improved typing as defaults, respectively. - [**Headless Invocation Changes**](https://remedajs.com/v1#migration-headless): Functions like `keys` and `identity` should now be called with no parameters to get their dataLast implementation; only type-guards remain headless. - [**Function Renames and Removals**](https://remedajs.com/v1#migration-removed): We have aligned function names with ECMAScript standards (e.g., `toPairs` is now `entries`), and removed redundant functions that can be replaced with combinations of other functions (e.g., `compact` replaced with `filter(isTruthy)`). - [**Object Keys Handling**](https://remedajs.com/v1#migration-keys): Typing changes better reflect JavaScript's handling of `symbol` and `number` keys. - [**Re-Implementations**](https://remedajs.com/v1#migration-reimplementations): Several functions, including `clone`, `difference`, and `intersect`, have had their runtime implementations and semantics adjusted to handle edge cases more consistently. We believe these changes will enhance your development experience, making Remeda more powerful and easier to use. Thank you for being a part of the Remeda community. If you encounter any issues or have questions, please reach out on our [GitHub Issues page](https://togithub.com/remeda/remeda/issues). Happy coding! ##### Go ahead and update! ```bash npm install remeda@latest yarn add remeda@latest pnpm add remeda@latest bun add remeda@latest ``` The Remeda Team

Configuration

📅 Schedule: Branch creation - "before 07:00 on Thursday" in timezone Europe/Oslo, 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.

renovate[bot] commented 3 months ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: yarn.lock
! Corepack is about to download https://repo.yarnpkg.com/4.2.2/packages/yarnpkg-cli/bin/yarn.js