Fix code quality violations and exclude Manifest from checks
Document application modes (development/debug/production) Add global file drop handler, order column normalization, SPA hash fix Serve CDN assets via /_vendor/ URLs instead of merging into bundles Add production minification with license preservation Improve JSON formatting for debugging and production optimization Add CDN asset caching with CSS URL inlining for production builds Add three-mode system (development, debug, production) Update Manifest CLAUDE.md to reflect helper class architecture Refactor Manifest.php into helper classes for better organization Pre-manifest-refactor checkpoint: Add app_mode documentation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
18
node_modules/css-tree/lib/lexer/search.js
generated
vendored
18
node_modules/css-tree/lib/lexer/search.js
generated
vendored
@@ -1,4 +1,4 @@
|
||||
var List = require('../common/List');
|
||||
import { List } from '../utils/List.js';
|
||||
|
||||
function getFirstMatchNode(matchNode) {
|
||||
if ('node' in matchNode) {
|
||||
@@ -16,17 +16,17 @@ function getLastMatchNode(matchNode) {
|
||||
return getLastMatchNode(matchNode.match[matchNode.match.length - 1]);
|
||||
}
|
||||
|
||||
function matchFragments(lexer, ast, match, type, name) {
|
||||
export function matchFragments(lexer, ast, match, type, name) {
|
||||
function findFragments(matchNode) {
|
||||
if (matchNode.syntax !== null &&
|
||||
matchNode.syntax.type === type &&
|
||||
matchNode.syntax.name === name) {
|
||||
var start = getFirstMatchNode(matchNode);
|
||||
var end = getLastMatchNode(matchNode);
|
||||
const start = getFirstMatchNode(matchNode);
|
||||
const end = getLastMatchNode(matchNode);
|
||||
|
||||
lexer.syntax.walk(ast, function(node, item, list) {
|
||||
if (node === start) {
|
||||
var nodes = new List();
|
||||
const nodes = new List();
|
||||
|
||||
do {
|
||||
nodes.appendData(item.data);
|
||||
@@ -40,7 +40,7 @@ function matchFragments(lexer, ast, match, type, name) {
|
||||
|
||||
fragments.push({
|
||||
parent: list,
|
||||
nodes: nodes
|
||||
nodes
|
||||
});
|
||||
}
|
||||
});
|
||||
@@ -51,7 +51,7 @@ function matchFragments(lexer, ast, match, type, name) {
|
||||
}
|
||||
}
|
||||
|
||||
var fragments = [];
|
||||
const fragments = [];
|
||||
|
||||
if (match.matched !== null) {
|
||||
findFragments(match.matched);
|
||||
@@ -59,7 +59,3 @@ function matchFragments(lexer, ast, match, type, name) {
|
||||
|
||||
return fragments;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
matchFragments: matchFragments
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user