create-pull-request/src
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.ts refactor: replace uuid dep with Node.js built-in crypto.randomUUID (#4377) 2026-05-06 12:10:34 +01:00
create-pull-request.ts fix: Handle remote prune failures gracefully (#4295) 2026-01-21 15:04:51 +00:00
git-command-manager.ts fix: suppress output for some git operations (#3776) 2025-03-04 02:32:33 -08:00
git-config-helper.ts fix: compatibility with actions/checkout@v6 (#4230) 2025-11-22 17:59:34 +00:00
github-helper.ts fix: retry post-creation API calls on 422 eventual consistency errors (#4356) 2026-04-10 17:23:55 +01:00
main.ts feat: signed commits (v7) (#3057) 2024-09-03 08:54:12 +01:00
octokit-client.ts feat: add @octokit/plugin-retry to handle retriable server errors (#4298) 2026-01-21 15:20:27 +00:00
utils.ts fix: retry post-creation API calls on 422 eventual consistency errors (#4356) 2026-04-10 17:23:55 +01:00