Enhance refactor commands with controller-aware Route() updates and fix code quality violations
Add semantic token highlighting for 'that' variable and comment file references in VS Code extension Add Phone_Text_Input and Currency_Input components with formatting utilities Implement client widgets, form standardization, and soft delete functionality Add modal scroll lock and update documentation Implement comprehensive modal system with form integration and validation Fix modal component instantiation using jQuery plugin API Implement modal system with responsive sizing, queuing, and validation support Implement form submission with validation, error handling, and loading states Implement country/state selectors with dynamic data loading and Bootstrap styling Revert Rsx::Route() highlighting in Blade/PHP files Target specific PHP scopes for Rsx::Route() highlighting in Blade Expand injection selector for Rsx::Route() highlighting Add custom syntax highlighting for Rsx::Route() and Rsx.Route() calls Update jqhtml packages to v2.2.165 Add bundle path validation for common mistakes (development mode only) Create Ajax_Select_Input widget and Rsx_Reference_Data controller Create Country_Select_Input widget with default country support Initialize Tom Select on Select_Input widgets Add Tom Select bundle for enhanced select dropdowns Implement ISO 3166 geographic data system for country/region selection Implement widget-based form system with disabled state support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
71
node_modules/webpack/lib/Compiler.js
generated
vendored
71
node_modules/webpack/lib/Compiler.js
generated
vendored
@@ -38,9 +38,9 @@ const webpack = require(".");
|
||||
/** @typedef {import("../declarations/WebpackOptions").OutputNormalized} OutputOptions */
|
||||
/** @typedef {import("../declarations/WebpackOptions").WatchOptions} WatchOptions */
|
||||
/** @typedef {import("../declarations/WebpackOptions").WebpackOptionsNormalized} WebpackOptions */
|
||||
/** @typedef {import("../declarations/WebpackOptions").WebpackPluginInstance} WebpackPluginInstance */
|
||||
/** @typedef {import("../declarations/WebpackOptions").Plugins} Plugins */
|
||||
/** @typedef {import("../declarations/WebpackOptions").WebpackPluginFunction} WebpackPluginFunction */
|
||||
/** @typedef {import("./Chunk")} Chunk */
|
||||
/** @typedef {import("./ChunkGraph").ModuleId} ModuleId */
|
||||
/** @typedef {import("./Dependency")} Dependency */
|
||||
/** @typedef {import("./HotModuleReplacementPlugin").ChunkHashes} ChunkHashes */
|
||||
/** @typedef {import("./HotModuleReplacementPlugin").ChunkModuleHashes} ChunkModuleHashes */
|
||||
@@ -70,23 +70,18 @@ const webpack = require(".");
|
||||
|
||||
/**
|
||||
* @template T
|
||||
* @callback RunCallback
|
||||
* @param {Error | null} err
|
||||
* @param {T=} result
|
||||
* @template [R=void]
|
||||
* @typedef {import("./webpack").Callback<T, R>} Callback
|
||||
*/
|
||||
|
||||
/**
|
||||
* @template T
|
||||
* @callback Callback
|
||||
* @param {(Error | null)=} err
|
||||
* @param {T=} result
|
||||
*/
|
||||
/** @typedef {import("./webpack").ErrorCallback} ErrorCallback */
|
||||
|
||||
/**
|
||||
* @callback RunAsChildCallback
|
||||
* @param {Error | null} err
|
||||
* @param {Chunk[]=} entries
|
||||
* @param {Compilation=} compilation
|
||||
* @returns {void}
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -122,7 +117,8 @@ const webpack = require(".");
|
||||
/** @typedef {{ buildInfo: BuildInfo, references: WeakReferences | undefined, memCache: MemCache }} ModuleMemCachesItem */
|
||||
|
||||
/**
|
||||
* @param {string[]} array an array
|
||||
* @template T
|
||||
* @param {T[]} array an array
|
||||
* @returns {boolean} true, if the array is sorted
|
||||
*/
|
||||
const isSorted = (array) => {
|
||||
@@ -478,12 +474,13 @@ class Compiler {
|
||||
|
||||
/**
|
||||
* @param {WatchOptions} watchOptions the watcher's options
|
||||
* @param {RunCallback<Stats>} handler signals when the call finishes
|
||||
* @returns {Watching} a compiler watcher
|
||||
* @param {Callback<Stats>} handler signals when the call finishes
|
||||
* @returns {Watching | undefined} a compiler watcher
|
||||
*/
|
||||
watch(watchOptions, handler) {
|
||||
if (this.running) {
|
||||
return handler(new ConcurrentCompilationError());
|
||||
handler(new ConcurrentCompilationError());
|
||||
return;
|
||||
}
|
||||
|
||||
this.running = true;
|
||||
@@ -493,12 +490,13 @@ class Compiler {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {RunCallback<Stats>} callback signals when the call finishes
|
||||
* @param {Callback<Stats>} callback signals when the call finishes
|
||||
* @returns {void}
|
||||
*/
|
||||
run(callback) {
|
||||
if (this.running) {
|
||||
return callback(new ConcurrentCompilationError());
|
||||
callback(new ConcurrentCompilationError());
|
||||
return;
|
||||
}
|
||||
|
||||
/** @type {Logger | undefined} */
|
||||
@@ -695,7 +693,7 @@ class Compiler {
|
||||
|
||||
/**
|
||||
* @param {Compilation} compilation the compilation
|
||||
* @param {Callback<void>} callback signals when the assets are emitted
|
||||
* @param {ErrorCallback} callback signals when the assets are emitted
|
||||
* @returns {void}
|
||||
*/
|
||||
emitAssets(compilation, callback) {
|
||||
@@ -1028,7 +1026,7 @@ ${other}`);
|
||||
this.hooks.afterEmit.callAsync(compilation, (err) => {
|
||||
if (err) return callback(err);
|
||||
|
||||
return callback();
|
||||
return callback(null);
|
||||
});
|
||||
}
|
||||
);
|
||||
@@ -1046,7 +1044,7 @@ ${other}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Callback<void>} callback signals when the call finishes
|
||||
* @param {ErrorCallback} callback signals when the call finishes
|
||||
* @returns {void}
|
||||
*/
|
||||
emitRecords(callback) {
|
||||
@@ -1065,12 +1063,12 @@ ${other}`);
|
||||
} else if (this.recordsOutputPath) {
|
||||
this._emitRecords(callback);
|
||||
} else {
|
||||
callback();
|
||||
callback(null);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Callback<void>} callback signals when the call finishes
|
||||
* @param {ErrorCallback} callback signals when the call finishes
|
||||
* @returns {void}
|
||||
*/
|
||||
_emitRecords(callback) {
|
||||
@@ -1119,7 +1117,7 @@ ${other}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Callback<void>} callback signals when the call finishes
|
||||
* @param {ErrorCallback} callback signals when the call finishes
|
||||
* @returns {void}
|
||||
*/
|
||||
readRecords(callback) {
|
||||
@@ -1140,28 +1138,29 @@ ${other}`);
|
||||
this._readRecords(callback);
|
||||
} else {
|
||||
this.records = {};
|
||||
callback();
|
||||
callback(null);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {Callback<void>} callback signals when the call finishes
|
||||
* @param {ErrorCallback} callback signals when the call finishes
|
||||
* @returns {void}
|
||||
*/
|
||||
_readRecords(callback) {
|
||||
if (!this.recordsInputPath) {
|
||||
this.records = {};
|
||||
return callback();
|
||||
return callback(null);
|
||||
}
|
||||
/** @type {InputFileSystem} */
|
||||
(this.inputFileSystem).stat(this.recordsInputPath, (err) => {
|
||||
// It doesn't exist
|
||||
// We can ignore this.
|
||||
if (err) return callback();
|
||||
if (err) return callback(null);
|
||||
|
||||
/** @type {InputFileSystem} */
|
||||
(this.inputFileSystem).readFile(
|
||||
/** @type {string} */ (this.recordsInputPath),
|
||||
/** @type {string} */
|
||||
(this.recordsInputPath),
|
||||
(err, content) => {
|
||||
if (err) return callback(err);
|
||||
|
||||
@@ -1177,7 +1176,7 @@ ${other}`);
|
||||
);
|
||||
}
|
||||
|
||||
return callback();
|
||||
return callback(null);
|
||||
}
|
||||
);
|
||||
});
|
||||
@@ -1188,7 +1187,7 @@ ${other}`);
|
||||
* @param {string} compilerName the compiler's name
|
||||
* @param {number} compilerIndex the compiler's index
|
||||
* @param {Partial<OutputOptions>=} outputOptions the output options
|
||||
* @param {WebpackPluginInstance[]=} plugins the plugins to apply
|
||||
* @param {Plugins=} plugins the plugins to apply
|
||||
* @returns {Compiler} a child compiler
|
||||
*/
|
||||
createChildCompiler(
|
||||
@@ -1239,7 +1238,10 @@ ${other}`);
|
||||
childCompiler.root = this.root;
|
||||
if (Array.isArray(plugins)) {
|
||||
for (const plugin of plugins) {
|
||||
if (plugin) {
|
||||
if (typeof plugin === "function") {
|
||||
/** @type {WebpackPluginFunction} */
|
||||
(plugin).call(childCompiler, childCompiler);
|
||||
} else if (plugin) {
|
||||
plugin.apply(childCompiler);
|
||||
}
|
||||
}
|
||||
@@ -1311,8 +1313,7 @@ ${other}`);
|
||||
fs: /** @type {InputFileSystem} */ (this.inputFileSystem),
|
||||
resolverFactory: this.resolverFactory,
|
||||
options: this.options.module,
|
||||
associatedObjectForCache: this.root,
|
||||
layers: this.options.experiments.layers
|
||||
associatedObjectForCache: this.root
|
||||
});
|
||||
this._lastNormalModuleFactory = normalModuleFactory;
|
||||
this.hooks.normalModuleFactory.call(normalModuleFactory);
|
||||
@@ -1334,7 +1335,7 @@ ${other}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {RunCallback<Compilation>} callback signals when the compilation finishes
|
||||
* @param {Callback<Compilation>} callback signals when the compilation finishes
|
||||
* @returns {void}
|
||||
*/
|
||||
compile(callback) {
|
||||
@@ -1385,7 +1386,7 @@ ${other}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {RunCallback<void>} callback signals when the compiler closes
|
||||
* @param {ErrorCallback} callback signals when the compiler closes
|
||||
* @returns {void}
|
||||
*/
|
||||
close(callback) {
|
||||
|
||||
Reference in New Issue
Block a user