Fix async lifecycle ordering, add _spa_init boot phase, update to jqhtml _load_only/_load_render_only flags
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
4
node_modules/postcss-discard-comments/package.json
generated
vendored
4
node_modules/postcss-discard-comments/package.json
generated
vendored
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "postcss-discard-comments",
|
||||
"version": "7.0.5",
|
||||
"version": "7.0.6",
|
||||
"description": "Discard comments in your CSS files with PostCSS.",
|
||||
"main": "src/index.js",
|
||||
"types": "types/index.d.ts",
|
||||
@@ -24,7 +24,7 @@
|
||||
},
|
||||
"repository": "cssnano/cssnano",
|
||||
"dependencies": {
|
||||
"postcss-selector-parser": "^7.1.0"
|
||||
"postcss-selector-parser": "^7.1.1"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/cssnano/cssnano/issues"
|
||||
|
||||
18
node_modules/postcss-discard-comments/src/lib/commentParser.js
generated
vendored
18
node_modules/postcss-discard-comments/src/lib/commentParser.js
generated
vendored
@@ -20,15 +20,15 @@ module.exports = function commentParser(input) {
|
||||
const tokens = [];
|
||||
const length = input.length;
|
||||
let pos = 0;
|
||||
|
||||
|
||||
let state = STATES.NORMAL;
|
||||
let tokenStart = 0;
|
||||
let commentStart = 0;
|
||||
|
||||
|
||||
while (pos < length) {
|
||||
const char = input[pos];
|
||||
const nextChar = pos + 1 < length ? input[pos + 1] : '';
|
||||
|
||||
|
||||
switch (state) {
|
||||
case STATES.NORMAL:
|
||||
if (char === '/' && nextChar === '*') {
|
||||
@@ -46,7 +46,7 @@ module.exports = function commentParser(input) {
|
||||
state = STATES.IN_SINGLE_QUOTE;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case STATES.IN_SINGLE_QUOTE:
|
||||
if (char === '\\' && nextChar) {
|
||||
// Skip escaped character
|
||||
@@ -56,7 +56,7 @@ module.exports = function commentParser(input) {
|
||||
state = STATES.NORMAL;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case STATES.IN_DOUBLE_QUOTE:
|
||||
if (char === '\\' && nextChar) {
|
||||
// Skip escaped character
|
||||
@@ -66,7 +66,7 @@ module.exports = function commentParser(input) {
|
||||
state = STATES.NORMAL;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case STATES.IN_COMMENT:
|
||||
if (char === '*' && nextChar === '/') {
|
||||
// Found comment end
|
||||
@@ -78,10 +78,10 @@ module.exports = function commentParser(input) {
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
pos++;
|
||||
}
|
||||
|
||||
|
||||
// Handle remaining content
|
||||
if (state === STATES.IN_COMMENT) {
|
||||
// Unclosed comment - treat as comment to end
|
||||
@@ -90,6 +90,6 @@ module.exports = function commentParser(input) {
|
||||
// Add final non-comment token
|
||||
tokens.push([0, tokenStart, length]);
|
||||
}
|
||||
|
||||
|
||||
return tokens;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user