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

chore(deps): update dependency ts-jest to v29.2.5 #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 20, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ts-jest (source) 29.1.0 -> 29.2.5 age adoption passing confidence

Release Notes

kulshekhar/ts-jest (ts-jest)

v29.2.5

Compare Source

v29.2.4

Compare Source

v29.2.3

Compare Source

v29.2.2

Compare Source

v29.2.1

Compare Source

v29.2.0

Compare Source

Bug Fixes
  • fix: don't show warning message with Node16/NodeNext (99c4f49), closes #​4266
Features
  • feat(cli): allow migrating cjs presets to transform config (22fb027)
  • feat(presets): add util functions to create ESM presets (06f78ed)
  • feat(presets): add util functions to create CJS presets (f9cc3c0)
Code refactoring
  • refactor: replace lodash deps with native js implementation (40f1708)
  • refactor: use TsJestTransformerOptions type everywhere possibly (7d001be)
  • refactor(cli): use new preset util functions to initialize test config (c2b56ca)
  • refactor(presets): use create preset util functions for cjs presets (922d6d0)
  • test: switch react-app to use Vite (827c8ad)

v29.1.5

Compare Source

Bug Fixes

v29.1.4

Compare Source

Bug Fixes
Features

v29.1.3

Compare Source

Bug Fixes
  • add @jest/transform as an optional peer dependency (0ba7f86)
  • bring back Node 14 support (eda56a7)
Performance Improvements
  • remove ts resolved module cache file (4c88da5)

v29.1.2

Compare Source

Bug Fixes

v29.1.1

Compare Source

Security Fixes
  • bump semver to 7.5.3

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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

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

Copy link

[puLL-Merge] - kulshekhar/[email protected]

Description

This pull request introduces updates to various GitHub workflow configurations, documentation, testing configurations, and dependency versions for the ts-jest project. These changes appear to be aimed at maintaining the project's dependencies up-to-date, ensuring compatibility with the latest Node.js versions, and improving ESM support.

Changes

Changes

GitHub Workflows

  • .github/workflows/ci.yml: Updated versions of actions checkout and setup-node to their latest commits.
  • .github/workflows/doc-generator.yml: Updated checkout and github-pages-deploy-action actions to their latest commits.
  • .github/workflows/prepare-cache.yml: Updated checkout and setup-node actions.
  • .github/workflows/release-and-publish.yml: Updated checkout action.
  • .github/workflows/test.yml: Updated Node versions in the testing matrix to include Node.js 20.x, ensuring compatibility with the latest Node.js version. Updated checkout and setup-node actions.

Documentation & Examples

  • CHANGELOG.md: Added entries for versions 29.1.2 and 29.1.1, including bug fixes and security fixes such as updating semver to 7.5.3.
  • E2E Tests and Snapshots: Updated test configurations and snapshots to reflect changes in testing Node.js ESM support and isolated modules.
  • Examples Configuration (jest.config.js to .cjs and .mjs): Converted various Jest configuration files from CommonJS to both CommonJS (.cjs) and ES Module (.mjs) formats, indicating improved support and testing strategies for ESM.
  • package.json updates within the example directories reflect dependency updates and changes in test scripts to support ESM configurations.

Dependency Updates

  • Numerous example projects and e2e tests have had their dependencies updated, reflecting maintenance to keep the project dependencies current.

Security Hotspots

  1. Dependency Updates: While updating dependencies is beneficial from a maintenance perspective, it is essential to thoroughly test to ensure that the newer versions of these dependencies do not introduce breaking changes or new vulnerabilities.

  2. ES Module Support Changes: The changes to support ESM more extensively, including adjustments in test configurations and example setups, are crucial as they align with the Node.js ecosystem's direction. However, it's essential to ensure that these changes do not negatively impact CommonJS module users and that there's a fallback or clear documentation for handling ESM-specific configurations.

  3. Updating GitHub Actions: Updating GitHub Actions to the latest commit might introduce unexpected behavior if the actions contain breaking changes. It's necessary to validate the workflows thoroughly after such updates to ensure CI/CD processes remain stable.

@renovate renovate bot changed the title Update dependency ts-jest to v29.1.2 Update dependency ts-jest to v29.1.3 May 25, 2024
@renovate renovate bot force-pushed the renovate/ts-jest-29.x branch from eb620a0 to aff4c99 Compare May 25, 2024 04:28
Copy link

[puLL-Merge] - kulshekhar/[email protected]

Description

This PR updates various configuration files, dependencies, and examples across the ts-jest repository. The main motivation appears to be updating to the latest versions of dependencies like TypeScript, Jest, ESLint, Prettier, etc. It also makes some changes to standardize the Jest configuration setup across the examples.

Changes

Changes

  • .github/workflows/ - Updates the GitHub Actions workflows to use newer versions of actions like actions/checkout and actions/setup-node.

  • CHANGELOG.md - Adds changelog entries for upcoming 29.1.3, 29.1.2 and 29.1.1 releases.

  • e2e/

    • Updates snapshot tests
    • Removes onNodeVersions utility and associated conditional test logic
    • Updates example projects:
      • Bumps dependency versions
      • Renames Jest config files to use .cjs or .mjs extension based on ESM usage
      • Updates to use Jest presets from ts-jest/presets
      • Fixes test commands
  • examples/

    • Adds a new monorepo-app example
    • Updates existing examples similar to e2e/ changes
  • package.json

    • Bumps ts-jest version to 29.1.3
    • Updates dependencies to latest versions
    • Adds @jest/transform as an optional peer dependency
    • Adds Node 20.x to supported engines
  • src/

    • Refactors some internal config and transformer type usages
    • Removes unused disk caching logic in transformer
  • website/ - Bumps docusaurus and other website dependency versions

Overall, it's mostly updating dependencies, configs and examples without major changes to core logic. The new optional @jest/transform peer dependency and removal of some disk caching logic seem to be the main functional changes.

@renovate renovate bot force-pushed the renovate/ts-jest-29.x branch from aff4c99 to ba0106f Compare June 1, 2024 07:30
@renovate renovate bot changed the title Update dependency ts-jest to v29.1.3 Update dependency ts-jest to v29.1.4 Jun 1, 2024
Copy link

github-actions bot commented Jun 1, 2024

[puLL-Merge] - kulshekhar/[email protected]

Description

This PR updates several dependencies, GitHub actions, and examples to use the latest versions. It also makes some code changes to support transforming .cts/.mts extensions, generating ESM config based on type: "module" in package.json, and calculating cache keys based on the supportsStaticESM option.

Changes

Changes

Dependencies

  • Updated several dev dependencies to their latest versions, including @commitlint/cli, @commitlint/config-angular, @jest/transform, @jest/types, @types/* packages, @typescript-eslint/* packages, babel-jest, conventional-changelog-cli, esbuild, eslint and related packages, fs-extra, glob, jest, json-schema-to-typescript, node-fetch, prettier, and typescript.
  • Updated semver to ^7.5.3 and added it to the dependencies section.
  • Added @jest/transform as an optional peer dependency.
  • Bumped examples to use latest versions of react, react-dom, ts-jest, typescript etc.

GitHub Actions

  • Updated actions/checkout to v4 (from v3).
  • Updated actions/setup-node to v4 (from v3).
  • Updated JamesIves/github-pages-deploy-action to v4.6.1 (from v4.4.1).
  • Updated softprops/action-gh-release to v2 (from v1).
  • Changed tested Node versions to 16.x, 18.x, 20.x (previously 14.x, 16.x, 18.x).

Examples

  • Updated example projects to use .mjs/.cjs extensions for Jest config files to match type: "module" in package.json where applicable.
  • Added a new monorepo-app example.

Code Changes

  • Allow transforming of .cts/.mts extensions.
  • Make CLI generate ESM config based on type: "module" in package.json.
  • Calculate cache key based on supportsStaticESM option.
  • Remove resolved module cache file functionality.
  • several other minor code changes and test updates.

Security Hotspots

None found. The semver bump to 7.5.3 may have been done to address a vulnerability, but no details provided.

@renovate renovate bot force-pushed the renovate/ts-jest-29.x branch from ba0106f to 2e01d69 Compare June 20, 2024 16:31
@renovate renovate bot changed the title Update dependency ts-jest to v29.1.4 Update dependency ts-jest to v29.1.5 Jun 20, 2024
Copy link

[puLL-Merge] - kulshekhar/[email protected]

Description

This PR updates various packages, tools, and configurations:

  • Update GitHub Actions workflows to use newer versions of actions
  • Update CHANGELOG for new 29.1.x releases
  • Update Node versions used in tests to 16.x, 18.x, 20.x
  • Update dependencies in package.json and lock files to newer versions
  • Update example projects with newer dependency versions and switch configs to ESM
  • Update ts-jest source code:
    • Support .cts and .mts extensions
    • Use TsJestTransformOptions type instead of TransformOptionsTsJest
    • Remove code caching resolved modules on disk
    • Generate ESM config in CLI if type: "module" in package.json
  • Update docs site to use Docusaurus v3
Changes

Changes

CI Updates

  • .github/workflows/ci.yml, .github/workflows/doc-generator.yml, .github/workflows/prepare-cache.yml, .github/workflows/release-and-publish.yml, .github/workflows/test.yml
    • Update to newer versions of actions/checkout, actions/setup-node, actions/create-release
    • Update Node versions for testing to 16.x, 18.x, 20.x

Changelog

  • CHANGELOG.md - Add entries for 29.1.1 to 29.1.5 releases

Source Code

  • src/cli/cli.spec.ts, src/cli/config/init.ts
    • Update tests and config init to generate ESM config if type: "module" in package.json
  • src/constants.ts
    • Update regexes to support .cts and .mts extensions
  • src/legacy/ts-jest-transformer.ts
    • Use TsJestTransformOptions instead of TransformOptionsTsJest
    • Remove code for caching resolved modules on disk
    • Add supportsStaticESM to cache key
  • Update imports, error handling, typing in various files

Example Projects

  • examples/*
    • Update dependencies in package.json files
    • Update example projects to use newer dependency versions
    • Switch config files to ESM (.mjs)
  • examples/monorepo-app - Add new multi-project example

Docs Site

  • website/* - Update to Docusaurus v3

Possible Issues

The updates touch many different areas of the codebase and configurations. While the changes look reasonable, thorough testing should be done, especially of the example projects, to ensure no issues were introduced. The removal of the disk caching logic should also be verified to not introduce performance regressions.

@renovate renovate bot force-pushed the renovate/ts-jest-29.x branch from 2e01d69 to 1449ab7 Compare July 12, 2024 15:46
@renovate renovate bot changed the title Update dependency ts-jest to v29.1.5 Update dependency ts-jest to v29.2.0 Jul 12, 2024
Copy link

[puLL-Merge] - kulshekhar/[email protected]

Description

This PR updates the ts-jest package from version 29.1.0 to 29.2.0. It includes various changes to the codebase, documentation, and configuration files. The main motivation seems to be improving performance, updating dependencies, and refactoring some parts of the code.

Changes

Changes

  1. Package updates:

    • Updated ts-jest to version 29.2.0
    • Updated various dependencies in package.json
  2. Configuration changes:

    • Modified Jest configuration files
    • Updated TypeScript configuration
  3. Code refactoring:

    • Replaced some lodash dependencies with native JavaScript implementations
    • Refactored CLI code and preset creation
  4. Documentation updates:

    • Updated versioned docs for various versions
    • Added new documentation for version 29.2
  5. Test updates:

    • Modified some test files and snapshots
  6. GitHub Actions:

    • Updated GitHub Actions workflows

Possible Issues

  • The removal of some lodash dependencies might cause unexpected behavior if the native implementations don't exactly match the lodash functionality.
  • Changes to the CLI and preset creation might require users to update their configurations.

Security Hotspots

No significant security issues were identified in this change.

@renovate renovate bot force-pushed the renovate/ts-jest-29.x branch from 1449ab7 to 2f07d54 Compare July 14, 2024 09:57
@renovate renovate bot changed the title Update dependency ts-jest to v29.2.0 Update dependency ts-jest to v29.2.1 Jul 14, 2024
Copy link

[puLL-Merge] - kulshekhar/[email protected]

Description

This pull request updates the ts-jest project, including changes to configuration files, documentation, and source code. The main changes include:

  1. Updating dependencies and configurations
  2. Refactoring and improving existing code
  3. Updating documentation and examples
  4. Adding new features and presets
  5. Improving ESM support
  6. Updating CI workflows

The motivation for these changes appears to be improving the project's functionality, performance, and user experience, as well as keeping it up-to-date with the latest dependencies and best practices.

Changes

Changes

  1. package.json:

    • Updated dependencies
    • Added new scripts
    • Modified Jest configuration
  2. Source code:

    • Refactored and improved existing code in various files
    • Added new utility functions and presets
    • Updated type definitions and interfaces
  3. Documentation:

    • Updated examples and guides
    • Added new documentation for ESM support and presets
    • Improved existing documentation
  4. Configuration files:

    • Updated Jest configurations
    • Modified TypeScript configurations
  5. CI workflows:

    • Updated GitHub Actions workflows
  6. E2E tests:

    • Updated and improved existing tests
    • Added new tests for ESM support
  7. Examples:

    • Updated example projects to use the latest configurations and best practices

Possible Issues

  1. The removal of some dependencies and changes in configuration might cause breaking changes for existing users who rely on specific features or setups.

  2. The changes to ESM support and presets may require users to update their configurations or usage patterns.

Security Hotspots

There are no apparent security vulnerabilities introduced by this change. However, updating dependencies always carries a small risk of introducing new security issues, so it's important to thoroughly test the updated version before releasing.

@renovate renovate bot force-pushed the renovate/ts-jest-29.x branch from 2f07d54 to b886b49 Compare July 14, 2024 22:58
@renovate renovate bot changed the title Update dependency ts-jest to v29.2.1 Update dependency ts-jest to v29.2.2 Jul 14, 2024
Copy link

[puLL-Merge] - kulshekhar/[email protected]

Here's a description of the changes in this pull request:

Description

This PR updates ts-jest to version 29.2.2 and makes associated changes to configuration files, documentation, and examples. It introduces new preset utility functions, updates dependencies, and refactors some internal code.

Changes

Changes

  • Updated ts-jest version to 29.2.2 in package.json
  • Updated various dependencies and devDependencies
  • Added new preset utility functions like createDefaultPreset, createJsWithTsPreset, etc.
  • Updated documentation for new preset functions and other API changes
  • Refactored some internal code, including removing lodash dependencies
  • Updated examples to use new preset functions and configuration styles
  • Added support for Node16/NodeNext module and target values
  • Removed some deprecated options and functions
  • Updated CI workflows to use newer Node.js versions and GitHub Actions
  • Made various improvements to TypeScript types and configurations

Possible Issues

  • The removal of some deprecated options may cause breaking changes for users who haven't updated their configurations
  • Changes to preset handling may require updates to user configurations

Security Hotspots

  • No significant security issues identified in this change

This PR represents a significant update to ts-jest with new features and improvements, but also includes some potentially breaking changes that users should be aware of when upgrading.

@renovate renovate bot force-pushed the renovate/ts-jest-29.x branch from b886b49 to 04cadb9 Compare July 22, 2024 20:52
@renovate renovate bot changed the title Update dependency ts-jest to v29.2.2 Update dependency ts-jest to v29.2.3 Jul 22, 2024
Copy link

[puLL-Merge] - kulshekhar/[email protected]

This pull request updates ts-jest to version 29.2.3 and makes various changes across the codebase and documentation. Here's a summary of the key changes:

Description

This PR updates ts-jest to version 29.2.3 and makes corresponding changes to the codebase, tests, and documentation. It includes updates to dependencies, configuration files, and documentation to align with the new version.

Changes

Changes

  • Updated ts-jest version to 29.2.3 in package.json
  • Updated other dependencies to latest compatible versions
  • Refactored and updated various test files to work with the new version
  • Updated configuration files (jest configs, tsconfig, etc.)
  • Extensively updated documentation, including versioned docs for 29.2
  • Added new utility functions for creating Jest presets
  • Deprecated some old preset options in favor of new utility functions
  • Updated examples and code samples throughout docs
  • Removed some outdated files and added new ones

Possible Issues

  • The extensive changes to documentation and examples may require careful review to ensure accuracy
  • Deprecated preset options may affect existing user configurations

Security Hotspots

No major security issues identified. The changes are mostly related to updating dependencies, refactoring code, and updating documentation.

This PR represents a significant update to ts-jest with wide-ranging changes across the project. Careful testing and review of the changes, especially in the documentation and examples, is recommended to ensure everything is correct and up-to-date with the new version.

@renovate renovate bot force-pushed the renovate/ts-jest-29.x branch from 04cadb9 to 83cfafa Compare August 5, 2024 11:13
@renovate renovate bot changed the title Update dependency ts-jest to v29.2.3 Update dependency ts-jest to v29.2.4 Aug 5, 2024
@renovate renovate bot force-pushed the renovate/ts-jest-29.x branch from 83cfafa to 8709733 Compare August 19, 2024 16:07
Copy link

[puLL-Merge] - kulshekhar/[email protected]

Here's a description of the changes in this pull request:

Description

This PR updates ts-jest to version 29.2.4 and makes related changes across the codebase. The main changes include:

  1. Updating dependencies and configuration files
  2. Refactoring and improving presets functionality
  3. Updating documentation and examples
  4. Adding support for new TypeScript/ECMAScript features
  5. Improving ESM support
  6. Updating CI workflows and tests
Changes

Changes

  1. package.json:

    • Updated ts-jest version to 29.2.4
    • Updated various dependencies
    • Added new scripts for testing examples
  2. src/presets/create-jest-preset.ts:

    • Added new functions for creating different types of presets (default, ESM, JS with TS, JS with Babel)
    • Refactored preset creation logic
  3. src/types.ts:

    • Added new types for different preset configurations
    • Updated existing types to support new features
  4. src/constants.ts:

    • Added new constants for file extensions and transform patterns
  5. src/utils/messages.ts:

    • Updated deprecation messages
  6. website/:

    • Updated documentation for version 29.2
    • Added new examples and updated existing ones
    • Updated configuration files for the documentation website
  7. e2e/:

    • Updated test configurations and examples
    • Added new tests for ESM support and monorepo setups
  8. .github/workflows/:

    • Updated CI workflows to use newer Node.js versions
    • Adjusted test and build processes
  9. examples/:

    • Updated example projects to use the latest ts-jest version
    • Improved configuration files and added more examples for different setups

These changes represent a significant update to ts-jest, improving its functionality, documentation, and compatibility with newer TypeScript and ECMAScript features.

@renovate renovate bot force-pushed the renovate/ts-jest-29.x branch from 8709733 to 520f694 Compare August 27, 2024 17:25
@renovate renovate bot changed the title Update dependency ts-jest to v29.2.4 Update dependency ts-jest to v29.2.5 Aug 27, 2024
@renovate renovate bot changed the title Update dependency ts-jest to v29.2.5 chore(deps): update dependency ts-jest to v29.2.5 Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants