Commit Graph

12 Commits

Author SHA1 Message Date
github-actions[bot] 3e3b04619c
feat: update package manager versions (#492) 2024-07-12 12:59:07 +00:00
github-actions[bot] e1abb83241
feat: update package manager versions (#481) 2024-05-31 10:14:53 +00:00
github-actions[bot] 985895bccb
feat: update package manager versions (#469) 2024-05-10 08:21:32 +00:00
github-actions[bot] 56816c2b7e
feat: update package manager versions (#462) 2024-04-19 07:57:43 +00:00
github-actions[bot] 1423190564
feat: update package manager versions (#425) 2024-04-13 14:16:04 +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
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 082fabf8b1
fix: download fewer metadata from npm registry (#436) 2024-03-26 15:08:33 +01:00
github-actions[bot] e8edba771b
feat: update package manager versions (#415) 2024-03-08 08:48:16 +00: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
zhyupe 47be27c9db
fix: improve support for `COREPACK_NPM_REGISTRY` with Yarn Berry (#396) 2024-02-27 10:55:04 +01: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