[PR #371] [MERGED] refactor: use crypto.randomUUID #743

Closed
opened 2026-02-15 21:15:14 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/LlamaIndexTS/pull/371
Author: @himself65
Created: 1/12/2024
Status: Merged
Merged: 1/12/2024
Merged by: @himself65

Base: mainHead: himself65/uuid


📝 Commits (1)

  • c439162 refactor: use crypto.randomUUID

📊 Changes

7 files changed (+15 additions, -33 deletions)

View changed files

📝 packages/core/package.json (+0 -2)
📝 packages/core/src/ChatEngine.ts (+4 -4)
📝 packages/core/src/GlobalsHelper.ts (+2 -2)
📝 packages/core/src/Node.ts (+3 -4)
📝 packages/core/src/QueryEngine.ts (+4 -4)
📝 packages/core/src/indices/BaseIndex.ts (+2 -2)
📝 pnpm-lock.yaml (+0 -15)

📄 Description

Reduce bundle size and use web standards.

Ref: https://nodejs.org/docs/latest/api/crypto.html#cryptorandomuuidoptions


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/LlamaIndexTS/pull/371 **Author:** [@himself65](https://github.com/himself65) **Created:** 1/12/2024 **Status:** ✅ Merged **Merged:** 1/12/2024 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `main` ← **Head:** `himself65/uuid` --- ### 📝 Commits (1) - [`c439162`](https://github.com/run-llama/LlamaIndexTS/commit/c439162d7cb19244c9fe642f5c1aede1318f6b6b) refactor: use `crypto.randomUUID` ### 📊 Changes **7 files changed** (+15 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `packages/core/package.json` (+0 -2) 📝 `packages/core/src/ChatEngine.ts` (+4 -4) 📝 `packages/core/src/GlobalsHelper.ts` (+2 -2) 📝 `packages/core/src/Node.ts` (+3 -4) 📝 `packages/core/src/QueryEngine.ts` (+4 -4) 📝 `packages/core/src/indices/BaseIndex.ts` (+2 -2) 📝 `pnpm-lock.yaml` (+0 -15) </details> ### 📄 Description Reduce bundle size and use web standards. Ref: https://nodejs.org/docs/latest/api/crypto.html#cryptorandomuuidoptions --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 21:15:14 -05:00
yindo closed this issue 2026-02-15 21:15:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/LlamaIndexTS#743