brave / brave-talk

Unlimited private video calls with your friends and colleagues
Mozilla Public License 2.0
123 stars 35 forks source link

Update all non-major dependencies #1466

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
eslint-plugin-react 7.34.3 -> 7.34.4 age adoption passing confidence
husky 9.0.11 -> 9.1.1 age adoption passing confidence
i18next (source) 23.11.5 -> 23.12.1 age adoption passing confidence
prettier (source) 3.3.2 -> 3.3.3 age adoption passing confidence
react-i18next 14.1.2 -> 14.1.3 age adoption passing confidence
semver 7.6.2 -> 7.6.3 age adoption passing confidence
ts-jest (source) 29.1.5 -> 29.2.3 age adoption passing confidence
webpack 5.92.1 -> 5.93.0 age adoption passing confidence

Release Notes

jsx-eslint/eslint-plugin-react (eslint-plugin-react) ### [`v7.34.4`](https://togithub.com/jsx-eslint/eslint-plugin-react/blob/HEAD/CHANGELOG.md#7344---20240713) [Compare Source](https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.34.3...v7.34.4) ##### Fixed - \[`prop-types`]: fix `className` missing in prop validation false negative ([#​3749] [@​akulsr0](https://togithub.com/akulsr0)) - \[`sort-prop-types`]: Check for undefined before accessing `node.typeAnnotation.typeAnnotation` ([#​3779] [@​tylerlaprade](https://togithub.com/tylerlaprade)) [7.34.4]: https://togithub.com/jsx-eslint/eslint-plugin-react/compare/v7.34.3...v7.34.4 [#​3779]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3779 [#​3749]: https://togithub.com/jsx-eslint/eslint-plugin-react/pull/3749
typicode/husky (husky) ### [`v9.1.1`](https://togithub.com/typicode/husky/compare/v9.1.0...2968998755465f69069f297b5bb603e26d6b1772) [Compare Source](https://togithub.com/typicode/husky/compare/v9.1.0...v9.1.1) ### [`v9.1.0`](https://togithub.com/typicode/husky/releases/tag/v9.1.0) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.11...v9.1.0)

*Super saiyan ~~god~~ dog! It's over 9.0.0!* *There's a bug with this release which prevents the deprecation notice to appear and requires to remove `#!/usr/bin/env sh` and `. "$(dirname -- "$0")/_/husky.sh"` (which are deprecated by the way). I'll publish a new version to fix that. Sorry about any inconvenience.* ### What's new You can now run package commands directly, no need for `npx` or equivalents. It makes writing hooks more intuitive and is also slightly faster 🐺⚡️ ```diff ### .husky/pre-commit - npx jest + jest # ~0.2s faster ``` A new recipe has been added to the docs. Lint staged files without external dependencies (inspired by Prettier docs). Feel free to modify it. ```shell ### .husky/pre-commit prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown git update-index --again ``` For more advanced use cases, see [lint-staged](https://togithub.com/lint-staged/lint-staged). ### Fixes - `bunx husky init` command - Workaround for some hooks implementation on Windows 🤷 ### Deprecations - Remove `#!/usr/bin/env sh` and `. "$(dirname -- "$0")/_/husky.sh"` from your hooks - Move your code from `~/.huskyrc` to `.config/husky/init.sh` Support for these will be removed in v10, notices have been added. ### Friendly reminder If Git hooks don't fit your workflow, you can disable Husky globally. Just add `export HUSKY=0` to `.config/husky/init.sh`. I've seen some confusion about this on X, so just a heads-up! ### Sponsoring Husky is downloaded over 45M times per month and used by ~1.5M projects. If your company wants to sponsor, you can do so here: [GitHub Sponsors](https://togithub.com/sponsors/typicode). **Have a nice summer ☀️ I'm open to new opportunities/consulting so feel free to drop me a message 😉**
i18next/i18next (i18next) ### [`v23.12.1`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23121) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.12.0...v23.12.1) - Use explicit imports for utils [2212](https://togithub.com/i18next/i18next/pull/2212) ### [`v23.12.0`](https://togithub.com/i18next/i18next/blob/HEAD/CHANGELOG.md#23120) [Compare Source](https://togithub.com/i18next/i18next/compare/v23.11.5...v23.12.0) - feat: Add posibility to override keyPrefix for certain translation. [2211](https://togithub.com/i18next/i18next/issues/2211)
prettier/prettier (prettier) ### [`v3.3.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#333) [Compare Source](https://togithub.com/prettier/prettier/compare/3.3.2...3.3.3) [diff](https://togithub.com/prettier/prettier/compare/3.3.2...3.3.3) ##### Add parentheses for nullish coalescing in ternary ([#​16391](https://togithub.com/prettier/prettier/pull/16391) by [@​cdignam-segment](https://togithub.com/cdignam-segment)) This change adds clarity to operator precedence. ```js // Input foo ? bar ?? foo : baz; foo ?? bar ? a : b; a ? b : foo ?? bar; // Prettier 3.3.2 foo ? bar ?? foo : baz; foo ?? bar ? a : b; a ? b : foo ?? bar; // Prettier 3.3.3 foo ? (bar ?? foo) : baz; (foo ?? bar) ? a : b; a ? b : (foo ?? bar); ``` ##### Add parentheses for decorator expressions ([#​16458](https://togithub.com/prettier/prettier/pull/16458) by [@​y-schneider](https://togithub.com/y-schneider)) Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5. ```ts // Input @​(foo`tagged template`) class X {} // Prettier 3.3.2 @​foo`tagged template` class X {} // Prettier 3.3.3 @​(foo`tagged template`) class X {} ``` ##### Support `@let` declaration syntax ([#​16474](https://togithub.com/prettier/prettier/pull/16474) by [@​sosukesuzuki](https://togithub.com/sosukesuzuki)) Adds support for Angular v18 `@let` declaration syntax. Please see the following code example. The `@let` declaration allows you to define local variables within the template: ```html @​let name = 'Frodo';

Dashboard for {{name}}

Hello, {{name}} ``` For more details, please refer to the excellent blog post by the Angular Team: [Introducing @​let in Angular](https://blog.angular.dev/introducing-let-in-angular-686f9f383f0f). We also appreciate the Angular Team for kindly answering our questions to implement this feature.
i18next/react-i18next (react-i18next) ### [`v14.1.3`](https://togithub.com/i18next/react-i18next/blob/HEAD/CHANGELOG.md#1413) [Compare Source](https://togithub.com/i18next/react-i18next/compare/v14.1.2...v14.1.3) - create a isObject helper function [1766](https://togithub.com/i18next/react-i18next/pull/1766) - optimize nodesToString [1765](https://togithub.com/i18next/react-i18next/pull/1765) - Simplifies hasValidReactChildren [1764](https://togithub.com/i18next/react-i18next/pull/1764) - create a isString helper to avoid code duplication [1763](https://togithub.com/i18next/react-i18next/pull/1763) - use arrow functions where possible [1762](https://togithub.com/i18next/react-i18next/pull/1762) - use the commented out async code [1761](https://togithub.com/i18next/react-i18next/pull/1761)
npm/node-semver (semver) ### [`v7.6.3`](https://togithub.com/npm/node-semver/blob/HEAD/CHANGELOG.md#763-2024-07-16) [Compare Source](https://togithub.com/npm/node-semver/compare/v7.6.2...v7.6.3) ##### Bug Fixes - [`73a3d79`](https://togithub.com/npm/node-semver/commit/73a3d79c4ec32d5dd62c9d5f64e5af7fbdad9ec0) [#​726](https://togithub.com/npm/node-semver/pull/726) optimize Range parsing and formatting ([#​726](https://togithub.com/npm/node-semver/issues/726)) ([@​jviide](https://togithub.com/jviide)) ##### Documentation - [`2975ece`](https://togithub.com/npm/node-semver/commit/2975ece120e17660c9f1ef517de45c09ff821064) [#​719](https://togithub.com/npm/node-semver/pull/719) fix extra backtick typo ([#​719](https://togithub.com/npm/node-semver/issues/719)) ([@​stdavis](https://togithub.com/stdavis))
kulshekhar/ts-jest (ts-jest) ### [`v29.2.3`](https://togithub.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2923-2024-07-18) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v29.2.2...v29.2.3) ### [`v29.2.2`](https://togithub.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2922-2024-07-10) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v29.2.1...v29.2.2) ### [`v29.2.1`](https://togithub.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2921-2024-07-10) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v29.2.0...v29.2.1) ### [`v29.2.0`](https://togithub.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#2920-2024-07-08) [Compare Source](https://togithub.com/kulshekhar/ts-jest/compare/v29.1.5...v29.2.0) ##### Bug Fixes - fix: don't show warning message with Node16/NodeNext ([99c4f49](https://togithub.com/kulshekhar/ts-jest/commit/99c4f49)), closes [#​4266](https://togithub.com/kulshekhar/ts-jest/issues/4266) ##### Features - feat(cli): allow migrating cjs `presets` to `transform` config ([22fb027](https://togithub.com/kulshekhar/ts-jest/commit/22fb027)) - feat(presets): add util functions to create ESM presets ([06f78ed](https://togithub.com/kulshekhar/ts-jest/commit/06f78ed)) - feat(presets): add util functions to create CJS presets ([f9cc3c0](https://togithub.com/kulshekhar/ts-jest/commit/f9cc3c0)) ##### Code refactoring - refactor: replace lodash deps with native js implementation ([40f1708](https://togithub.com/kulshekhar/ts-jest/commit/40f1708)) - refactor: use `TsJestTransformerOptions` type everywhere possibly ([7d001be](https://togithub.com/kulshekhar/ts-jest/commit/7d001be)) - refactor(cli): use new preset util functions to initialize test config ([c2b56ca](https://togithub.com/kulshekhar/ts-jest/commit/c2b56ca)) - refactor(presets): use create preset util functions for cjs presets ([922d6d0](https://togithub.com/kulshekhar/ts-jest/commit/922d6d0)) - test: switch `react-app` to use Vite ([827c8ad](https://togithub.com/kulshekhar/ts-jest/commit/827c8ad))
webpack/webpack (webpack) ### [`v5.93.0`](https://togithub.com/webpack/webpack/compare/v5.92.1...277460b33bcc49c51acbbcd688672aa4ec685732) [Compare Source](https://togithub.com/webpack/webpack/compare/v5.92.1...v5.93.0)

Configuration

📅 Schedule: Branch creation - " 0-4 * 3" (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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 4 months ago

[puLL-Merge] - kulshekhar/ts-jest@v29.1.5..v29.2.2

Description

This PR updates ts-jest to version 29.2.2 and makes several changes across the codebase to support new features and improve functionality. The main changes include:

  1. Updating dependencies and configuration files
  2. Refactoring presets and introducing new utility functions for creating presets
  3. Updating documentation and examples
  4. Modifying the compiler options and TypeScript configuration handling
  5. Adding support for new ESM features
Changes ### Changes 1. package.json: - Updated ts-jest version to 29.2.2 - Updated various dependencies 2. src/presets/create-jest-preset.ts: - Added new utility functions for creating different types of presets (e.g., createDefaultPreset, createJsWithTsPreset, etc.) 3. src/types.ts: - Added new types for different preset configurations 4. src/legacy/compiler/ts-compiler.ts: - Modified compiler options handling, especially for ESM support 5. src/cli/config/init.ts and src/cli/config/migrate.ts: - Updated to use new preset creation functions 6. Documentation updates: - Added new versioned docs for 29.2 - Updated various guide and configuration examples 7. e2e and examples: - Updated test configurations and examples to use new preset functions and support ESM 8. Various other files: - Minor updates and refactoring to support new features and improve code quality

Possible Issues

  1. The changes to preset handling and creation might require users to update their configurations if they were using custom presets or specific preset options.

  2. The modifications to compiler options handling, especially for ESM support, might affect projects with specific module configurations.

Security Hotspots

No significant security issues are apparent in this change. The modifications are primarily focused on improving functionality and supporting new features rather than changing security-related code.