Fix code quality violations and enhance ROUTE-EXISTS-01 rule
Implement JQHTML function cache ID system and fix bundle compilation Implement underscore prefix for system tables Fix JS syntax linter to support decorators and grant exception to Task system SPA: Update planning docs and wishlists with remaining features SPA: Document Navigation API abandonment and future enhancements Implement SPA browser integration with History API (Phase 1) Convert contacts view page to SPA action Convert clients pages to SPA actions and document conversion procedure SPA: Merge GET parameters and update documentation Implement SPA route URL generation in JavaScript and PHP Implement SPA bootstrap controller architecture Add SPA routing manual page (rsx:man spa) Add SPA routing documentation to CLAUDE.md Phase 4 Complete: Client-side SPA routing implementation Update get_routes() consumers for unified route structure Complete SPA Phase 3: PHP-side route type detection and is_spa flag Restore unified routes structure and Manifest_Query class Refactor route indexing and add SPA infrastructure Phase 3 Complete: SPA route registration in manifest Implement SPA Phase 2: Extract router code and test decorators Rename Jqhtml_Component to Component and complete SPA foundation setup 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
97
node_modules/webpack/lib/css/walkCssTokens.js
generated
vendored
97
node_modules/webpack/lib/css/walkCssTokens.js
generated
vendored
@@ -1197,6 +1197,102 @@ module.exports = (input, pos = 0, callbacks = {}) => {
|
||||
return pos;
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} input input css
|
||||
* @param {number} pos pos
|
||||
* @param {CssTokenCallbacks} callbacks callbacks
|
||||
* @param {CssTokenCallbacks} additional additional callbacks
|
||||
* @param {{ onlyTopLevel?: boolean, declarationValue?: boolean, atRulePrelude?: boolean, functionValue?: boolean }=} options options
|
||||
* @returns {number} pos
|
||||
*/
|
||||
const consumeUntil = (input, pos, callbacks, additional, options = {}) => {
|
||||
let needHandle = true;
|
||||
let needTerminate = false;
|
||||
|
||||
/** @type {CssTokenCallbacks} */
|
||||
const servicedCallbacks = {};
|
||||
|
||||
let balanced = 0;
|
||||
|
||||
if (options.onlyTopLevel) {
|
||||
servicedCallbacks.function = (input, start, end) => {
|
||||
balanced++;
|
||||
if (!options.functionValue) {
|
||||
needHandle = false;
|
||||
}
|
||||
|
||||
if (additional.function !== undefined) {
|
||||
return additional.function(input, start, end);
|
||||
}
|
||||
|
||||
return end;
|
||||
};
|
||||
|
||||
servicedCallbacks.leftParenthesis = (_input, _start, end) => {
|
||||
balanced++;
|
||||
needHandle = false;
|
||||
return end;
|
||||
};
|
||||
servicedCallbacks.rightParenthesis = (_input, _start, end) => {
|
||||
balanced--;
|
||||
if (balanced === 0) {
|
||||
needHandle = true;
|
||||
}
|
||||
return end;
|
||||
};
|
||||
}
|
||||
|
||||
if (options.declarationValue) {
|
||||
servicedCallbacks.semicolon = (_input, _start, end) => {
|
||||
needTerminate = true;
|
||||
return end;
|
||||
};
|
||||
|
||||
servicedCallbacks.rightCurlyBracket = (_input, _start, end) => {
|
||||
needTerminate = true;
|
||||
return end;
|
||||
};
|
||||
} else if (options.functionValue) {
|
||||
servicedCallbacks.rightParenthesis = (_input, _start, end) => {
|
||||
balanced--;
|
||||
if (balanced === 0) {
|
||||
needTerminate = true;
|
||||
}
|
||||
return end;
|
||||
};
|
||||
} else if (options.atRulePrelude) {
|
||||
servicedCallbacks.leftCurlyBracket = (_input, _start, end) => {
|
||||
needTerminate = true;
|
||||
return end;
|
||||
};
|
||||
}
|
||||
|
||||
while (pos < input.length) {
|
||||
// Consume comments.
|
||||
pos = consumeComments(
|
||||
input,
|
||||
pos,
|
||||
needHandle ? { ...servicedCallbacks, ...callbacks } : servicedCallbacks
|
||||
);
|
||||
|
||||
const start = pos;
|
||||
|
||||
// Consume the next input code point.
|
||||
pos++;
|
||||
pos = consumeAToken(
|
||||
input,
|
||||
pos,
|
||||
needHandle ? { ...servicedCallbacks, ...callbacks } : servicedCallbacks
|
||||
);
|
||||
|
||||
if (needTerminate) {
|
||||
return start;
|
||||
}
|
||||
}
|
||||
|
||||
return pos;
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {string} input input
|
||||
* @param {number} pos position
|
||||
@@ -1608,6 +1704,7 @@ const eatUntil = (chars) => {
|
||||
};
|
||||
};
|
||||
|
||||
module.exports.consumeUntil = consumeUntil;
|
||||
module.exports.eatComments = eatComments;
|
||||
module.exports.eatIdentSequence = eatIdentSequence;
|
||||
module.exports.eatIdentSequenceOrString = eatIdentSequenceOrString;
|
||||
|
||||
Reference in New Issue
Block a user