[PR #15] Clear Deprecation and Moderate Security Warnings from Npm Build #13

Open
opened 2026-10-26 22:08:33 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Comfy-Org/ComfyUI-React-Extension-Template/pull/15
Author: @cyberlightdev
Created: 12/22/2025
Status: 🔄 Open

Base: main ← Head: ui-update


📝 Commits (1)

  • 8b64344 Clear all security and deprecation warnings

📊 Changes

4 files changed (+3934 additions, -2319 deletions)

View changed files

📝 ui/jest.config.js (+1 -1)
📝 ui/jest.setup.ts (+0 -0)
📝 ui/package-lock.json (+3923 -2312)
📝 ui/package.json (+10 -6)

📄 Description

The Problem

When I ran npm build as instructed in the readme, I received:

npm run build
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm warn deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead

added 613 packages, and audited 614 packages in 3s

153 packages are looking for funding
  run `npm fund` for details

6 vulnerabilities (2 low, 3 moderate, 1 critical)

Changes Made

  • ✅ All 4 npm deprecation warnings eliminated
  • ✅ Jest 29 → Jest 30
  • ✅ jsdom 20 → jsdom 26

Security Improvements:

  • ✅ Vite 5.2.10 → 7.3.0
  • ✅ @vitejs/plugin-react 4.2.1 → 5.1.2
  • ✅ All security vulnerabilities raised by npm audit resolved

Configuration Updates:

  • ✅ jest.setup.js → jest.setup.ts (ES module compatibility)
  • ✅ jest.config.js updated

Verification

  • ✅ All tests pass (1/1 test suite)
  • ✅ Build completes cleanly with no warnings
  • ✅ Application builds successfully to ../dist
  • ✅ No functional changes to application behavior

🔄 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/Comfy-Org/ComfyUI-React-Extension-Template/pull/15 **Author:** [@cyberlightdev](https://github.com/cyberlightdev) **Created:** 12/22/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `ui-update` --- ### 📝 Commits (1) - [`8b64344`](https://github.com/Comfy-Org/ComfyUI-React-Extension-Template/commit/8b643440786af8141fc3132721ca494f513497b7) Clear all security and deprecation warnings ### 📊 Changes **4 files changed** (+3934 additions, -2319 deletions) <details> <summary>View changed files</summary> 📝 `ui/jest.config.js` (+1 -1) 📝 `ui/jest.setup.ts` (+0 -0) 📝 `ui/package-lock.json` (+3923 -2312) 📝 `ui/package.json` (+10 -6) </details> ### 📄 Description ## The Problem When I ran `npm build` as instructed in the readme, I received: ``` npm run build npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported npm warn deprecated domexception@4.0.0: Use your platform's native DOMException instead npm warn deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead added 613 packages, and audited 614 packages in 3s 153 packages are looking for funding run `npm fund` for details 6 vulnerabilities (2 low, 3 moderate, 1 critical) ``` ## Changes Made - ✅ All 4 npm deprecation warnings eliminated - ✅ Jest 29 → Jest 30 - ✅ jsdom 20 → jsdom 26 ### Security Improvements: - ✅ Vite 5.2.10 → 7.3.0 - ✅ @vitejs/plugin-react 4.2.1 → 5.1.2 - ✅ All security vulnerabilities raised by `npm audit` resolved ### Configuration Updates: - ✅ jest.setup.js → jest.setup.ts (ES module compatibility) - ✅ jest.config.js updated ## Verification - ✅ All tests pass (1/1 test suite) - ✅ Build completes cleanly with no warnings - ✅ Application builds successfully to ../dist - ✅ No functional changes to application behavior --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/ComfyUI-React-Extension-Template#13
No description provided.