Standardize settings file naming and relocate documentation files Fix code quality violations from rsx:check Reorganize user_management directory into logical subdirectories Move Quill Bundle to core and align with Tom Select pattern Simplify Site Settings page to focus on core site information Complete Phase 5: Multi-tenant authentication with login flow and site selection Add route query parameter rule and synchronize filename validation logic Fix critical bug in UpdateNpmCommand causing missing JavaScript stubs Implement filename convention rule and resolve VS Code auto-rename conflict Implement js-sanitizer RPC server to eliminate 900+ Node.js process spawns Implement RPC server architecture for JavaScript parsing WIP: Add RPC server infrastructure for JS parsing (partial implementation) Update jqhtml terminology from destroy to stop, fix datagrid DOM preservation Add JQHTML-CLASS-01 rule and fix redundant class names Improve code quality rules and resolve violations Remove legacy fatal error format in favor of unified 'fatal' error type Filter internal keys from window.rsxapp output Update button styling and comprehensive form/modal documentation Add conditional fly-in animation for modals Fix non-deterministic bundle compilation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
50 lines
1.4 KiB
JavaScript
Executable File
50 lines
1.4 KiB
JavaScript
Executable File
/*
|
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
Author Tobias Koppers @sokra
|
|
*/
|
|
|
|
/**
|
|
* @param {(string | number)[]} updatedModules updated modules
|
|
* @param {(string | number)[] | null} renewedModules renewed modules
|
|
*/
|
|
module.exports = function (updatedModules, renewedModules) {
|
|
var unacceptedModules = updatedModules.filter(function (moduleId) {
|
|
return renewedModules && renewedModules.indexOf(moduleId) < 0;
|
|
});
|
|
var log = require("./log");
|
|
|
|
if (unacceptedModules.length > 0) {
|
|
log(
|
|
"warning",
|
|
"[HMR] The following modules couldn't be hot updated: (They would need a full reload!)"
|
|
);
|
|
unacceptedModules.forEach(function (moduleId) {
|
|
log("warning", "[HMR] - " + moduleId);
|
|
});
|
|
}
|
|
|
|
if (!renewedModules || renewedModules.length === 0) {
|
|
log("info", "[HMR] Nothing hot updated.");
|
|
} else {
|
|
log("info", "[HMR] Updated modules:");
|
|
renewedModules.forEach(function (moduleId) {
|
|
if (typeof moduleId === "string" && moduleId.indexOf("!") !== -1) {
|
|
var parts = moduleId.split("!");
|
|
log.groupCollapsed("info", "[HMR] - " + parts.pop());
|
|
log("info", "[HMR] - " + moduleId);
|
|
log.groupEnd("info");
|
|
} else {
|
|
log("info", "[HMR] - " + moduleId);
|
|
}
|
|
});
|
|
var numberIds = renewedModules.every(function (moduleId) {
|
|
return typeof moduleId === "number";
|
|
});
|
|
if (numberIds)
|
|
log(
|
|
"info",
|
|
'[HMR] Consider using the optimization.moduleIds: "named" for module names.'
|
|
);
|
|
}
|
|
};
|