1
0
Fork 0
mirror of synced 2026-06-05 12:18:19 +00:00
create-pull-request/__test__
Peter Evans aa523f9db6
refactor: replace uuid dep with Node.js built-in crypto.randomUUID (#4377)
Replace the third-party `uuid` package with the native `crypto.randomUUID()`
function available in Node.js, reducing the bundle size and external
dependencies.

- Remove `uuid` from `dependencies` in `package.json`
- Replace `import {v4 as uuidv4} from 'uuid'` with `import {randomUUID} from 'crypto'` in `src/create-or-update-branch.ts`
- Replace all `uuidv4()` calls with `randomUUID()` in `__test__/create-or-update-branch.int.test.ts`
- Rebuild `dist/index.js`, removing ~680 lines of bundled `uuid` library code
- Update `package-lock.json` to reflect removed dependency
2026-05-06 12:10:34 +01:00
..
create-or-update-branch.int.test.ts refactor: replace uuid dep with Node.js built-in crypto.randomUUID (#4377) 2026-05-06 12:10:34 +01:00
entrypoint.sh fix: preserve unicode in filepaths when commit signing (#3588) 2024-12-27 02:51:52 -08:00
git-command-manager.int.test.ts fix: preserve unicode in filepaths when commit signing (#3588) 2024-12-27 02:51:52 -08:00
git-config-helper.int.test.ts feat: signed commits (v7) (#3057) 2024-09-03 08:54:12 +01:00
git-config-helper.unit.test.ts feat: v6 (#2717) 2024-01-31 11:06:34 +00:00
integration-tests.sh feat: v6 (#2717) 2024-01-31 11:06:34 +00:00
utils.unit.test.ts fix: retry post-creation API calls on 422 eventual consistency errors (#4356) 2026-04-10 17:23:55 +01:00