Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: swc-project/jest
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.29
Choose a base ref
...
head repository: swc-project/jest
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.30
Choose a head ref
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Jan 18, 2024

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    ada9279 View commit details
  2. v0.2.30

    kdy1 committed Jan 18, 2024
    Copy the full SHA
    cb47d61 View commit details
Showing with 139 additions and 21 deletions.
  1. +1 −1 index.ts
  2. +136 −18 package-lock.json
  3. +2 −2 package.json
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ function createTransformer(swcTransformOpts?: Options & {
const options: TransformOptions = typeof rest[0] === 'string' ? rest[1] : rest[0]

return crypto
.createHash('md5')
.createHash('sha1')
.update(baseCacheKey)
.update('\0', 'utf8')
.update(JSON.stringify({ supportsStaticESM: options.supportsStaticESM }))
154 changes: 136 additions & 18 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swc/jest",
"version": "0.2.29",
"version": "0.2.30",
"description": "swc integration for jest",
"main": "index.js",
"homepage": "https://github.com/swc-project/jest",
@@ -26,7 +26,7 @@
"@swc/core": "*"
},
"dependencies": {
"@jest/create-cache-key-function": "^27.4.2",
"@jest/create-cache-key-function": "^29.7.0",
"jsonc-parser": "^3.2.0"
},
"devDependencies": {