From 8194ba12a5c688595f37c1eff622216dd37f35c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B1=B3=E8=80=81=E6=9C=B1?= Date: Thu, 9 Dec 2021 23:33:37 +0800 Subject: [PATCH 1/6] Update pirates to 4.0.4 to fix no entry problem Related to issue [#75](https://github.com/danez/pirates/issues/75) ``` Cannot find module '/Users/Ritchie/Developer/@fastcms/fastcms/node_modules/.pnpm/@jest+transform@27.4.2/node_modules/pirates/lib/index.js'. Please verify that the package.json has a valid "main" entry ``` --- packages/jest-transform/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest-transform/package.json b/packages/jest-transform/package.json index f88a47417d88..231d3e787a7c 100644 --- a/packages/jest-transform/package.json +++ b/packages/jest-transform/package.json @@ -28,7 +28,7 @@ "jest-regex-util": "^27.4.0", "jest-util": "^27.4.2", "micromatch": "^4.0.4", - "pirates": "^4.0.1", + "pirates": "^4.0.4", "slash": "^3.0.0", "source-map": "^0.6.1", "write-file-atomic": "^3.0.0" From 0949755e2f18dae3f146f559594a076293312ad7 Mon Sep 17 00:00:00 2001 From: Ritchie Zhu Date: Thu, 16 Dec 2021 00:01:33 +0800 Subject: [PATCH 2/6] deps(@jest/transform): update pirates to 4.0.4 --- CHANGELOG.md | 6 ++++++ packages/jest-transform/package.json | 2 +- yarn.lock | 11 +++++++++-- 3 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c12809c402ba..0c1c4d782be1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ ### Performance +## 27.4.6 + +### Fixes + +- `[@jest/transform]` Update dependency package `pirates` to 4.0.4 ([#12136](https://github.com/facebook/jest/pull/12136)) + ## 27.4.5 ### Fixes diff --git a/packages/jest-transform/package.json b/packages/jest-transform/package.json index 59e8aac343e0..ea9408e9dcdc 100644 --- a/packages/jest-transform/package.json +++ b/packages/jest-transform/package.json @@ -28,7 +28,7 @@ "jest-regex-util": "^27.4.0", "jest-util": "^27.4.2", "micromatch": "^4.0.4", - "pirates": "^4.0.1", + "pirates": "^4.0.4", "slash": "^3.0.0", "source-map": "^0.6.1", "write-file-atomic": "^3.0.0" diff --git a/yarn.lock b/yarn.lock index 26910149f20f..c8244bb6d431 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2764,7 +2764,7 @@ __metadata: jest-snapshot-serializer-raw: ^1.1.0 jest-util: ^27.4.2 micromatch: ^4.0.4 - pirates: ^4.0.1 + pirates: ^4.0.4 slash: ^3.0.0 source-map: ^0.6.1 write-file-atomic: ^3.0.0 @@ -16668,7 +16668,7 @@ __metadata: languageName: node linkType: hard -"pirates@npm:^4.0.0, pirates@npm:^4.0.1": +"pirates@npm:^4.0.0": version: 4.0.1 resolution: "pirates@npm:4.0.1" dependencies: @@ -16677,6 +16677,13 @@ __metadata: languageName: node linkType: hard +"pirates@npm:^4.0.4": + version: 4.0.4 + resolution: "pirates@npm:4.0.4" + checksum: eabc769e9b3387a0494327134ae7a8c770c102f232ac59e45363a1d64089ff1762b1162926a3c577e5d747c27a7248a072d517a8105c6751e390fcc25b0d1f23 + languageName: node + linkType: hard + "pkg-dir@npm:^2.0.0": version: 2.0.0 resolution: "pkg-dir@npm:2.0.0" From 058dca58c00b0cc180effe84e59f8060225a7630 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Thu, 16 Dec 2021 00:16:12 +0100 Subject: [PATCH 3/6] Update CHANGELOG.md --- CHANGELOG.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0c1c4d782be1..f5fafbb17c11 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,16 +4,12 @@ ### Fixes +- `[@jest/transform]` Update dependency package `pirates` to 4.0.4 ([#12136](https://github.com/facebook/jest/pull/12136)) + ### Chore & Maintenance ### Performance -## 27.4.6 - -### Fixes - -- `[@jest/transform]` Update dependency package `pirates` to 4.0.4 ([#12136](https://github.com/facebook/jest/pull/12136)) - ## 27.4.5 ### Fixes From 09e3126c92c74de93995d6e7e658b1109e50e309 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Thu, 16 Dec 2021 00:16:56 +0100 Subject: [PATCH 4/6] Update yarn.lock --- yarn.lock | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/yarn.lock b/yarn.lock index c8244bb6d431..b9eba1a72412 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16668,16 +16668,7 @@ __metadata: languageName: node linkType: hard -"pirates@npm:^4.0.0": - version: 4.0.1 - resolution: "pirates@npm:4.0.1" - dependencies: - node-modules-regexp: ^1.0.0 - checksum: 21604008c36ab6e14ac458e1a267dd7322cfd36b9e1042e9e277dd064582717e30b9aba8c0a47d738bf004ee7946ed27f6b982d30968534f2c6b5b168a52b555 - languageName: node - linkType: hard - -"pirates@npm:^4.0.4": +"pirates@npm:^4.0.0, pirates@npm:^4.0.4": version: 4.0.4 resolution: "pirates@npm:4.0.4" checksum: eabc769e9b3387a0494327134ae7a8c770c102f232ac59e45363a1d64089ff1762b1162926a3c577e5d747c27a7248a072d517a8105c6751e390fcc25b0d1f23 From 2492320d64f0a9f3a78f14e618812e490558163f Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Thu, 16 Dec 2021 00:18:55 +0100 Subject: [PATCH 5/6] run yarn --- yarn.lock | 7 ------- 1 file changed, 7 deletions(-) diff --git a/yarn.lock b/yarn.lock index b9eba1a72412..6a170faf3630 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15565,13 +15565,6 @@ __metadata: languageName: node linkType: hard -"node-modules-regexp@npm:^1.0.0": - version: 1.0.0 - resolution: "node-modules-regexp@npm:1.0.0" - checksum: 90f928a1dbc3c98d39b3d133f8c910e6bd8e45416f8e15151a31c41550cffe4e3022a39c38c20ae4ceca56b6e63741def4f3a2018080d13f5be245f4b060a9b1 - languageName: node - linkType: hard - "node-notifier@npm:^10.0.0": version: 10.0.0 resolution: "node-notifier@npm:10.0.0" From f4547ffb9506f5051c1e85c8824b77d95743fcf0 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Thu, 16 Dec 2021 09:48:32 +0100 Subject: [PATCH 6/6] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f5fafbb17c11..9330bdf0f1d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Fixes -- `[@jest/transform]` Update dependency package `pirates` to 4.0.4 ([#12136](https://github.com/facebook/jest/pull/12136)) +- `[@jest/transform]` Update dependency package `pirates` to 4.0.4 ([#12136](https://github.com/facebook/jest/pull/12136)) ### Chore & Maintenance