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:
34
node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js
generated
vendored
34
node_modules/webpack/lib/dependencies/CommonJsExportRequireDependency.js
generated
vendored
@@ -17,11 +17,13 @@ const processExportInfo = require("./processExportInfo");
|
||||
|
||||
/** @typedef {import("webpack-sources").ReplaceSource} ReplaceSource */
|
||||
/** @typedef {import("../Dependency").ExportsSpec} ExportsSpec */
|
||||
/** @typedef {import("../Dependency").ReferencedExport} ReferencedExport */
|
||||
/** @typedef {import("../Dependency").RawReferencedExports} RawReferencedExports */
|
||||
/** @typedef {import("../Dependency").ReferencedExports} ReferencedExports */
|
||||
/** @typedef {import("../Dependency").TRANSITIVE} TRANSITIVE */
|
||||
/** @typedef {import("../DependencyTemplate").DependencyTemplateContext} DependencyTemplateContext */
|
||||
/** @typedef {import("../ExportsInfo")} ExportsInfo */
|
||||
/** @typedef {import("../ExportsInfo").ExportInfo} ExportInfo */
|
||||
/** @typedef {import("../ExportsInfo").ExportInfoName} ExportInfoName */
|
||||
/** @typedef {import("../Module")} Module */
|
||||
/** @typedef {import("../ModuleGraph")} ModuleGraph */
|
||||
/** @typedef {import("../javascript/JavascriptParser").Range} Range */
|
||||
@@ -34,14 +36,17 @@ const idsSymbol = Symbol("CommonJsExportRequireDependency.ids");
|
||||
|
||||
const EMPTY_OBJECT = {};
|
||||
|
||||
/** @typedef {Set<string>} Exports */
|
||||
/** @typedef {Set<string>} Checked */
|
||||
|
||||
class CommonJsExportRequireDependency extends ModuleDependency {
|
||||
/**
|
||||
* @param {Range} range range
|
||||
* @param {Range | null} valueRange value range
|
||||
* @param {CommonJSDependencyBaseKeywords} base base
|
||||
* @param {string[]} names names
|
||||
* @param {ExportInfoName[]} names names
|
||||
* @param {string} request request
|
||||
* @param {string[]} ids ids
|
||||
* @param {ExportInfoName[]} ids ids
|
||||
* @param {boolean} resultUsed true, when the result is used
|
||||
*/
|
||||
constructor(range, valueRange, base, names, request, ids, resultUsed) {
|
||||
@@ -68,7 +73,7 @@ class CommonJsExportRequireDependency extends ModuleDependency {
|
||||
|
||||
/**
|
||||
* @param {ModuleGraph} moduleGraph the module graph
|
||||
* @returns {string[]} the imported id
|
||||
* @returns {ExportInfoName[]} the imported id
|
||||
*/
|
||||
getIds(moduleGraph) {
|
||||
return moduleGraph.getMeta(this)[idsSymbol] || this.ids;
|
||||
@@ -76,7 +81,7 @@ class CommonJsExportRequireDependency extends ModuleDependency {
|
||||
|
||||
/**
|
||||
* @param {ModuleGraph} moduleGraph the module graph
|
||||
* @param {string[]} ids the imported ids
|
||||
* @param {ExportInfoName[]} ids the imported ids
|
||||
* @returns {void}
|
||||
*/
|
||||
setIds(moduleGraph, ids) {
|
||||
@@ -87,7 +92,7 @@ class CommonJsExportRequireDependency extends ModuleDependency {
|
||||
* Returns list of exports referenced by this dependency
|
||||
* @param {ModuleGraph} moduleGraph module graph
|
||||
* @param {RuntimeSpec} runtime the runtime for which the module is analysed
|
||||
* @returns {(string[] | ReferencedExport)[]} referenced exports
|
||||
* @returns {ReferencedExports} referenced exports
|
||||
*/
|
||||
getReferencedExports(moduleGraph, runtime) {
|
||||
const ids = this.getIds(moduleGraph);
|
||||
@@ -108,9 +113,9 @@ class CommonJsExportRequireDependency extends ModuleDependency {
|
||||
/** @type {Module} */ (moduleGraph.getParentModule(this))
|
||||
);
|
||||
for (const name of this.names) {
|
||||
const exportInfo = /** @type {ExportInfo} */ (
|
||||
exportsInfo.getReadOnlyExportInfo(name)
|
||||
);
|
||||
const exportInfo =
|
||||
/** @type {ExportInfo} */
|
||||
(exportsInfo.getReadOnlyExportInfo(name));
|
||||
const used = exportInfo.getUsed(runtime);
|
||||
if (used === UsageState.Unused) return Dependency.NO_EXPORTS_REFERENCED;
|
||||
if (used !== UsageState.OnlyPropertiesUsed) return getFullResult();
|
||||
@@ -120,7 +125,7 @@ class CommonJsExportRequireDependency extends ModuleDependency {
|
||||
if (exportsInfo.otherExportsInfo.getUsed(runtime) !== UsageState.Unused) {
|
||||
return getFullResult();
|
||||
}
|
||||
/** @type {string[][]} */
|
||||
/** @type {RawReferencedExports} */
|
||||
const referencedExports = [];
|
||||
for (const exportInfo of exportsInfo.orderedExports) {
|
||||
processExportInfo(
|
||||
@@ -188,7 +193,7 @@ class CommonJsExportRequireDependency extends ModuleDependency {
|
||||
if (reexportInfo) {
|
||||
return {
|
||||
exports: Array.from(
|
||||
/** @type {Set<string>} */
|
||||
/** @type {Exports} */
|
||||
(reexportInfo.exports),
|
||||
(name) => ({
|
||||
name,
|
||||
@@ -213,7 +218,7 @@ class CommonJsExportRequireDependency extends ModuleDependency {
|
||||
* @param {ModuleGraph} moduleGraph the module graph
|
||||
* @param {RuntimeSpec} runtime the runtime
|
||||
* @param {Module} importedModule the imported module (optional)
|
||||
* @returns {{exports?: Set<string>, checked?: Set<string>} | undefined} information
|
||||
* @returns {{ exports?: Exports, checked?: Checked } | undefined} information
|
||||
*/
|
||||
getStarReexports(
|
||||
moduleGraph,
|
||||
@@ -248,9 +253,9 @@ class CommonJsExportRequireDependency extends ModuleDependency {
|
||||
const isNamespaceImport =
|
||||
importedModule.getExportsType(moduleGraph, false) === "namespace";
|
||||
|
||||
/** @type {Set<string>} */
|
||||
/** @type {Exports} */
|
||||
const exports = new Set();
|
||||
/** @type {Set<string>} */
|
||||
/** @type {Checked} */
|
||||
const checked = new Set();
|
||||
|
||||
if (noExtraImports) {
|
||||
@@ -403,3 +408,4 @@ CommonJsExportRequireDependency.Template = class CommonJsExportRequireDependency
|
||||
};
|
||||
|
||||
module.exports = CommonJsExportRequireDependency;
|
||||
module.exports.idsSymbol = idsSymbol;
|
||||
|
||||
Reference in New Issue
Block a user