Skip to content

Commit

Permalink
Bump typescript from 5.5.4 to 5.7.3 (#3828)
Browse files Browse the repository at this point in the history
* Bump typescript from 5.5.4 to 5.7.3

Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 5.7.3.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.5.4...v5.7.3)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Modernize jest config and add mapper for jose

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pete Edwards <[email protected]>
  • Loading branch information
dependabot[bot] and edwardsph authored Jan 17, 2025
1 parent d7d9a0a commit a3a86b1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
9 changes: 8 additions & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
//

import type { Config } from "jest";
import { createJsWithTsPreset, type JestConfigWithTsJest } from "ts-jest";

type ArrayElement<MyArray> = MyArray extends Array<infer T> ? T : never;

Expand All @@ -32,13 +33,19 @@ const baseConfig: ArrayElement<NonNullable<Config["projects"]>> = {
clearMocks: true,
injectGlobals: false,
setupFilesAfterEnv: ["<rootDir>/jest.setup.ts"],
moduleNameMapper: {
"^jose": require.resolve("jose"),
},
};

// Required by @peculiar/webcrypto, which comes from the polyfills
// loaded in the setup file.
process.env.OPENSSL_CONF = "/dev/null";

const config: Config = {
const presetConfig = createJsWithTsPreset({});

const config: JestConfigWithTsJest = {
...presetConfig,
reporters: ["default", "github-actions"],
collectCoverage: true,
coverageReporters: process.env.CI ? ["text", "lcov"] : ["text"],
Expand Down
21 changes: 4 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"ts-node": "^10.9.2",
"typedoc": "^0.27.6",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.5.4"
"typescript": "^5.7.3"
},
"optionalDependencies": {
"@nx/nx-win32-x64-msvc": "^20.3.1",
Expand Down

0 comments on commit a3a86b1

Please sign in to comment.