From 50c5dacb427770ab8b579a9957d9399a4df5cd85 Mon Sep 17 00:00:00 2001 From: Andre Wiggins Date: Thu, 2 Feb 2023 14:01:41 -0800 Subject: [PATCH 1/2] Downgrade write-file-atomic to ^4.0.2 --- CHANGELOG.md | 1 + packages/jest-transform/package.json | 2 +- yarn.lock | 12 +++++++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bbfa3ec54860..e34ca6c55b73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ ### Chore & Maintenance - `[*]` make sure to exclude `.eslintcache` from published module ([#13832](https://github.com/facebook/jest/pull/13832)) +- `[jest-transform]` Downgrade `write-file-atomic` to v4 ### Performance diff --git a/packages/jest-transform/package.json b/packages/jest-transform/package.json index 00e5e466bda3..a991210059dc 100644 --- a/packages/jest-transform/package.json +++ b/packages/jest-transform/package.json @@ -31,7 +31,7 @@ "micromatch": "^4.0.4", "pirates": "^4.0.4", "slash": "^3.0.0", - "write-file-atomic": "^5.0.0" + "write-file-atomic": "^4.0.1" }, "devDependencies": { "@jest/test-utils": "workspace:^", diff --git a/yarn.lock b/yarn.lock index 6621ce616bd1..0faa22d7a92d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3005,7 +3005,7 @@ __metadata: micromatch: ^4.0.4 pirates: ^4.0.4 slash: ^3.0.0 - write-file-atomic: ^5.0.0 + write-file-atomic: ^4.0.1 languageName: unknown linkType: soft @@ -21941,6 +21941,16 @@ __metadata: languageName: node linkType: hard +"write-file-atomic@npm:^4.0.1": + version: 4.0.2 + resolution: "write-file-atomic@npm:4.0.2" + dependencies: + imurmurhash: ^0.1.4 + signal-exit: ^3.0.7 + checksum: 5da60bd4eeeb935eec97ead3df6e28e5917a6bd317478e4a85a5285e8480b8ed96032bbcc6ecd07b236142a24f3ca871c924ec4a6575e623ec1b11bf8c1c253c + languageName: node + linkType: hard + "write-file-atomic@npm:^5.0.0": version: 5.0.0 resolution: "write-file-atomic@npm:5.0.0" From 6db864e4af6223c05cd213eba0adb61a562f9334 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 7 Feb 2023 11:48:27 +0100 Subject: [PATCH 2/2] latest v4 --- packages/jest-transform/package.json | 2 +- yarn.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/jest-transform/package.json b/packages/jest-transform/package.json index a991210059dc..ab0583ce2f9b 100644 --- a/packages/jest-transform/package.json +++ b/packages/jest-transform/package.json @@ -31,7 +31,7 @@ "micromatch": "^4.0.4", "pirates": "^4.0.4", "slash": "^3.0.0", - "write-file-atomic": "^4.0.1" + "write-file-atomic": "^4.0.2" }, "devDependencies": { "@jest/test-utils": "workspace:^", diff --git a/yarn.lock b/yarn.lock index 0660374d8a1d..c05d756d5eb6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3006,7 +3006,7 @@ __metadata: micromatch: ^4.0.4 pirates: ^4.0.4 slash: ^3.0.0 - write-file-atomic: ^4.0.1 + write-file-atomic: ^4.0.2 languageName: unknown linkType: soft @@ -21942,7 +21942,7 @@ __metadata: languageName: node linkType: hard -"write-file-atomic@npm:^4.0.1": +"write-file-atomic@npm:^4.0.2": version: 4.0.2 resolution: "write-file-atomic@npm:4.0.2" dependencies: