Kristoffer K.

Results 48 issues of Kristoffer K.

In a fresh docker container running Corepack crashes with ENOENT ```console $ docker run --rm -it node:20.11.1 bash -c "npm install -g [email protected] && corepack yarn -v" Internal Error: ENOENT:...

Storing the nocks in a SQLite database enables easily sharing nocks between tests run in different processes in parallel. This reduces the storage space needed for the nocks: ```diff $...

The tests in this repo fails when [v0.25.0](https://github.com/nodejs/corepack/releases/tag/v0.25.0) is installed globally. Output from one of the tests: ```console $ NOCK_ENV="replay" CI=true yarn test up FAIL tests/Up.test.ts UpCommand ✕ should upgrade...

https://github.com/nodejs/corepack/pull/360 started prompting about downloading software but it also prompts for fetching data from the registry which seems unintentional. ```console docker run --rm -it node:20.11.1 bash mkdir -p /root/.cache/node/corepack npm...

Reduces the amount of configuration and dependencies needed to run the tests with almost no changes to the code. Ref https://github.com/nodejs/corepack/pull/229#discussion_r1064149939

Testing a migration to `node:test`, opened so I can use it as a reference. Ref https://github.com/nodejs/corepack/pull/349#issuecomment-1879654499 Ref https://github.com/nodejs/corepack/pull/356

According to https://github.com/WiseLibs/better-sqlite3/issues/230#issuecomment-467917417 `SQLITE_OMIT_GET_TABLE` is set to reduce the binary size, by 4224 bytes in my test, but it causes the SpatiaLite extension to segfault the process. This PR removes...

**What's the problem this PR addresses?** The PnP compatibility patch for TypeScript doesn't apply to `[email protected]`. Ref https://github.com/microsoft/TypeScript/pull/35206 **How did you fix it?** Rebased it. **Checklist** - [x] I have...

**What's the problem this PR addresses?** - The codebase is inconsistently formatted. - We only have formatting for JavaScript and TypeScript. - typescript-eslint has deprecated their formatting rules and advise...

- [ ] I'd be willing to implement a fix **Describe the bug** The result of calling `fs.readdir` on `/.yarn` doesn't include `__virtual__` and its immediate children making libraries like...

bug
reproducible