Commit Graph

412 Commits

Author SHA1 Message Date
github-actions[bot] e1d8ffd775
chore(main): release 0.28.2 (#488) 2024-05-31 10:50:03 +00:00
Antoine du Hamel 7b8e33ac01
chore(tests): do not use outdated `fs.rmdir` API (#487) 2024-05-31 10:15:34 +00:00
github-actions[bot] e1abb83241
feat: update package manager versions (#481) 2024-05-31 10:14:53 +00:00
Frieder Bluemle 09528a8ea8
chore: fix typos and add `.idea` to `.gitignore` (#482) 2024-05-17 06:20:17 +00:00
github-actions[bot] 119fd2f438
chore(main): release 0.28.1 (#467) 2024-05-10 08:36:11 +00:00
github-actions[bot] 985895bccb
feat: update package manager versions (#469) 2024-05-10 08:21:32 +00:00
Leonardo Rocha f15ebc289e
feat: add support for `COREPACK_INTEGRITY_KEYS=0` (#470) 2024-05-10 10:05:26 +02:00
Alex Kessock 6efa349882
fix: COREPACK_NPM_REGISTRY should allow for username/password auth (#466) 2024-04-24 17:13:00 +02:00
github-actions[bot] 78781fa9e8
chore(main): release 0.28.0 (#464) 2024-04-20 19:58:38 +00:00
Kristoffer K 0f9b748640
fix!: call `executePackageManagerRequest` directly (#430)
* fix!: call `executePackageManagerRequest` directly

* Apply suggestions from code review

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

* test: update assertions

---------

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-04-20 19:33:05 +02:00
github-actions[bot] df1b773942
chore(main): release 0.27.0 (#442) 2024-04-19 08:24:15 +00:00
Antoine du Hamel abe4cf6e56
chore: bump yarn version and npm deps (#457) 2024-04-19 08:10:05 +00:00
github-actions[bot] 56816c2b7e
feat: update package manager versions (#462) 2024-04-19 07:57:43 +00:00
Trivikram Kamat a62cd7b977
docs: add link to OpenJS slack channel (#461) 2024-04-19 09:40:31 +02:00
stduhpf e033b5f36c
chore(tests): handle windows path formatting more gracefully (#460) 2024-04-16 16:07:23 +02:00
Antoine du Hamel 32a93ea4f5
fix: add path to `package.json` in error message (#456) 2024-04-15 18:17:33 +00:00
github-actions[bot] 1423190564
feat: update package manager versions (#425) 2024-04-13 14:16:04 +00:00
Jakob Ackermann c449adc818
feat: separate read and write operations on lastKnownGood.json (#446)
Also skip overwriting `lastKnownGood.json` with same content.

Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-04-13 11:38:56 +00:00
dependabot[bot] c800d3ecbe
build(deps-dev): bump tar from 6.2.0 to 6.2.1 (#453)
Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.0...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: direct:development
2024-04-12 23:10:50 +00:00
Antoine du Hamel e561dd00bb
feat: verify integrity signature when downloading from npm registry (#432)
When the user has not provided any hash (so when running `corepack up`/`corepack use …`), and the package manager is downloaded from the npm registry, we can verify the signature.

BREAKING CHANGE: attempting to download a version from the npm registry (or a mirror) that was published using the now deprecated PGP signature without providing a hash will trigger an error. Users can disable the signature verification using a environment variable.
2024-04-12 22:49:11 +00:00
Gavin King 2d63536413
fix: Incorrect authorization prefix for basic auth, and undocumented env var (#454)
Co-authored-by: Gavin King <gavin.king@cgi.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-04-12 23:28:11 +02:00
Antoine du Hamel 73d9a1e2d2
fix: correctly set `Dispatcher` prototype for `ProxyAgent` (#451)
In an attempt to bundle only a subset of Undici code, we forgot to take
some side-effect into account.
2024-04-12 23:27:26 +02:00
Steven 07b58cc65a
chore(docs): update readme to remove silently (#455) 2024-04-12 12:18:17 +02:00
zhyupe 467216281e
fix: hash check when downloading Yarn Berry from npm (#439)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Maël Nison <nison.mael@gmail.com>
2024-04-01 14:27:26 +02:00
Antoine du Hamel 14b8a01abb
chore: fix tests on custom registry (#445) 2024-04-01 11:46:16 +02:00
Antoine du Hamel d2677538cd
fix: re-add support for custom registries with auth (#397) 2024-03-27 19:23:43 +01:00
Antoine du Hamel 082fabf8b1
fix: download fewer metadata from npm registry (#436) 2024-03-26 15:08:33 +01:00
Steven a05aec69ff
chore: remove unused imports (#431)
These imports were unused so I removed them
2024-03-16 17:21:20 +01:00
Kristoffer K 47f1e2fadc
chore: remove unused `Cancellation` error (#428) 2024-03-15 23:14:12 +01:00
Kristoffer K 6054339f55
chore: remove `fsUtils.rimraf` (#429) 2024-03-15 22:43:33 +01:00
github-actions[bot] a3e3e97369
chore(main): release 0.26.0 (#393) 2024-03-08 11:48:54 +01:00
github-actions[bot] e8edba771b
feat: update package manager versions (#415) 2024-03-08 08:48:16 +00:00
Antoine du Hamel b7ec137210
fix: ignore `EROFS` errors (#421) 2024-03-08 08:39:08 +00:00
Maël Nison 3958d26462
Update config.json (#410) 2024-03-03 13:51:13 +01:00
Maël Nison 8b6c6d4b2b
feat: Pins the package manager as it's used for the first time (#413)
* feat: Pins the package manager as it's used for the first time

* Adds a warning when auto-pinning the package manager version

* Updates wording
2024-03-03 13:50:18 +01:00
Maël Nison a3ea1dd6b5
chore(build): upgrade TypeScript (#409) 2024-02-27 11:03:22 +01:00
zhyupe 47be27c9db
fix: improve support for `COREPACK_NPM_REGISTRY` with Yarn Berry (#396) 2024-02-27 10:55:04 +01:00
Maël Nison 88d504c1a5
doc: add note clarifying how to add new package managers (#408)
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-02-27 10:49:02 +01:00
Maël Nison 835308c8d0
Removes the DESIGN document (#403)
* Removes the DESIGN document

* Removes the design document from the readme
2024-02-27 10:28:26 +01:00
Henry 295a1cdb9c
fix: Windows malicious file analysis waiting problem (#398)
Co-authored-by: Steven <steven@ceriously.com>
2024-02-27 09:16:55 +00:00
Kristoffer K 967e2666b5
test: store nocks in a sqlite database (#374)
* test: store nocks in a sqlite3 database

* chore: remove nock files

* refactor: reuse statement

* Update tests/recordRequests.js

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

* refactor: only create statements when needed

* refactor: move nocks db up one level

* fix: close db on exit

---------

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-02-24 00:59:12 +01:00
Kristoffer K 451dcf8229
test: clear all `COREPACK_*` environment variables (#392)
Co-authored-by: Maël Nison <nison.mael@gmail.com>
2024-02-21 20:29:52 +00:00
Maël Nison 00506b2a15
fix: group the download prompt together (#391) 2024-02-21 21:24:13 +01:00
github-actions[bot] 476b7dc3c9
chore(main): release 0.25.2 (#387) 2024-02-21 15:58:33 +00:00
Antoine du Hamel bc137a0073
fix: do not show download prompt when downloading JSON (#383) 2024-02-21 16:46:37 +01:00
Antoine du Hamel 6aab5fc17f
chore: bump yarn version (#388) 2024-02-21 09:03:18 +01:00
Antoine du Hamel 31a1c5fa70
chore: remove Dockerfile (#389) 2024-02-21 09:02:19 +01:00
github-actions[bot] 1423312a0e
feat: update package manager versions (#362) 2024-02-21 04:11:13 +00:00
dependabot[bot] 09e33c0df6
build(deps): bump ip from 2.0.0 to 2.0.1 (#385) 2024-02-21 04:16:13 +01:00
Antoine du Hamel 9834f5790a
fix: do not hard fail if Corepack home folder cannot be created (#382) 2024-02-21 04:15:14 +01:00