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:
25
node_modules/webpack/lib/dependencies/CommonJsExportsParserPlugin.js
generated
vendored
25
node_modules/webpack/lib/dependencies/CommonJsExportsParserPlugin.js
generated
vendored
@@ -22,12 +22,14 @@ const ModuleDecoratorDependency = require("./ModuleDecoratorDependency");
|
||||
/** @typedef {import("estree").Super} Super */
|
||||
/** @typedef {import("../Dependency").DependencyLocation} DependencyLocation */
|
||||
/** @typedef {import("../ModuleGraph")} ModuleGraph */
|
||||
/** @typedef {import("../NormalModule")} NormalModule */
|
||||
/** @typedef {import("../ExportsInfo").ExportInfoName} ExportInfoName */
|
||||
/** @typedef {import("../javascript/BasicEvaluatedExpression")} BasicEvaluatedExpression */
|
||||
/** @typedef {import("../javascript/JavascriptParser")} JavascriptParser */
|
||||
/** @typedef {import("../javascript/JavascriptParser").Range} Range */
|
||||
/** @typedef {import("../javascript/JavascriptParser").Members} Members */
|
||||
/** @typedef {import("../javascript/JavascriptParser").StatementPath} StatementPath */
|
||||
/** @typedef {import("./CommonJsDependencyHelpers").CommonJSDependencyBaseKeywords} CommonJSDependencyBaseKeywords */
|
||||
/** @typedef {import("../Module").BuildMeta} BuildMeta */
|
||||
|
||||
/**
|
||||
* This function takes a generic expression and detects whether it is an ObjectExpression.
|
||||
@@ -94,9 +96,10 @@ const isFalsyLiteral = (expr) => {
|
||||
/**
|
||||
* @param {JavascriptParser} parser the parser
|
||||
* @param {Expression} expr expression
|
||||
* @returns {{ argument: BasicEvaluatedExpression, ids: string[] } | undefined} parsed call
|
||||
* @returns {{ argument: BasicEvaluatedExpression, ids: ExportInfoName[] } | undefined} parsed call
|
||||
*/
|
||||
const parseRequireCall = (parser, expr) => {
|
||||
/** @type {ExportInfoName[]} */
|
||||
const ids = [];
|
||||
while (expr.type === "MemberExpression") {
|
||||
if (expr.object.type === "Super") return;
|
||||
@@ -146,7 +149,7 @@ class CommonJsExportsParserPlugin {
|
||||
|
||||
/**
|
||||
* @param {boolean} topLevel true, when the export is on top level
|
||||
* @param {string[]} members members of the export
|
||||
* @param {Members} members members of the export
|
||||
* @param {Expression | undefined} valueExpr expression for the value
|
||||
* @returns {void}
|
||||
*/
|
||||
@@ -189,7 +192,7 @@ class CommonJsExportsParserPlugin {
|
||||
/**
|
||||
* @param {AssignmentExpression} expr expression
|
||||
* @param {CommonJSDependencyBaseKeywords} base commonjs base keywords
|
||||
* @param {string[]} members members of the export
|
||||
* @param {Members} members members of the export
|
||||
* @returns {boolean | undefined} true, when the expression was handled
|
||||
*/
|
||||
const handleAssignExport = (expr, base, members) => {
|
||||
@@ -216,6 +219,10 @@ class CommonJsExportsParserPlugin {
|
||||
dep.loc = /** @type {DependencyLocation} */ (expr.loc);
|
||||
dep.optional = Boolean(parser.scope.inTry);
|
||||
parser.state.module.addDependency(dep);
|
||||
/** @type {BuildMeta} */ (
|
||||
parser.state.module.buildMeta
|
||||
).treatAsCommonJs = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
if (members.length === 0) return;
|
||||
@@ -236,6 +243,8 @@ class CommonJsExportsParserPlugin {
|
||||
);
|
||||
dep.loc = /** @type {DependencyLocation} */ (expr.loc);
|
||||
parser.state.module.addDependency(dep);
|
||||
/** @type {BuildMeta} */ (parser.state.module.buildMeta).treatAsCommonJs =
|
||||
true;
|
||||
parser.walkExpression(expr.right);
|
||||
return true;
|
||||
};
|
||||
@@ -293,6 +302,9 @@ class CommonJsExportsParserPlugin {
|
||||
);
|
||||
dep.loc = /** @type {DependencyLocation} */ (expr.loc);
|
||||
parser.state.module.addDependency(dep);
|
||||
/** @type {BuildMeta} */ (
|
||||
parser.state.module.buildMeta
|
||||
).treatAsCommonJs = true;
|
||||
|
||||
parser.walkExpression(expr.arguments[2]);
|
||||
return true;
|
||||
@@ -303,7 +315,7 @@ class CommonJsExportsParserPlugin {
|
||||
/**
|
||||
* @param {Expression | Super} expr expression
|
||||
* @param {CommonJSDependencyBaseKeywords} base commonjs base keywords
|
||||
* @param {string[]} members members of the export
|
||||
* @param {Members} members members of the export
|
||||
* @param {CallExpression=} call call expression
|
||||
* @returns {boolean | void} true, when the expression was handled
|
||||
*/
|
||||
@@ -333,6 +345,9 @@ class CommonJsExportsParserPlugin {
|
||||
);
|
||||
dep.loc = /** @type {DependencyLocation} */ (expr.loc);
|
||||
parser.state.module.addDependency(dep);
|
||||
/** @type {BuildMeta} */ (parser.state.module.buildMeta).treatAsCommonJs =
|
||||
true;
|
||||
|
||||
if (call) {
|
||||
parser.walkExpressions(call.arguments);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user