Framework updates

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2026-03-04 23:20:19 +00:00
parent a89daf3d43
commit 3ed8517b2a
891 changed files with 11126 additions and 9600 deletions

View File

@@ -49,7 +49,7 @@ declare namespace AtRule {
raws?: AtRuleRaws
}
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { AtRule_ as default }
}

View File

@@ -26,7 +26,7 @@ declare namespace Comment {
text: string
}
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Comment_ as default }
}

View File

@@ -43,7 +43,7 @@ declare namespace Container {
| string
| undefined
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Container_ as default }
}

View File

@@ -16,7 +16,7 @@ declare namespace CssSyntaxError {
line: number
}
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { CssSyntaxError_ as default }
}

View File

@@ -39,7 +39,7 @@ declare namespace Declaration {
value: string
}
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Declaration_ as default }
}

View File

@@ -16,7 +16,7 @@ declare namespace Document {
raws?: Record<string, any>
}
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Document_ as default }
}

View File

@@ -49,7 +49,7 @@ declare namespace Input {
url: string
}
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Input_ as default }
}

View File

@@ -6,7 +6,7 @@ import Root from './root.js'
import Warning from './warning.js'
declare namespace LazyResult {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { LazyResult_ as default }
}

View File

@@ -75,7 +75,15 @@ class MapGenerator {
}
}
} else if (this.css) {
this.css = this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm, '')
let startIndex
while ((startIndex = this.css.lastIndexOf('/*#')) !== -1) {
let endIndex = this.css.indexOf('*/', startIndex + 3)
if (endIndex === -1) break
while (startIndex > 0 && this.css[startIndex - 1] === '\n') {
startIndex--
}
this.css = this.css.slice(0, startIndex) + this.css.slice(endIndex + 2)
}
}
}

View File

@@ -6,7 +6,7 @@ import Root from './root.js'
import Warning from './warning.js'
declare namespace NoWorkResult {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { NoWorkResult_ as default }
}

View File

@@ -65,10 +65,9 @@ class NoWorkResult {
this._css = css
this._opts = opts
this._map = undefined
let root
let str = stringify
this.result = new Result(this._processor, root, this._opts)
this.result = new Result(this._processor, undefined, this._opts)
this.result.css = css
let self = this
@@ -78,7 +77,7 @@ class NoWorkResult {
}
})
let map = new MapGenerator(str, root, this._opts, css)
let map = new MapGenerator(str, undefined, this._opts, css)
if (map.isMap()) {
let [generatedCSS, generatedMap] = map.generate()
if (generatedCSS) {

2
node_modules/postcss/lib/node.d.ts generated vendored
View File

@@ -126,7 +126,7 @@ declare namespace Node {
word?: string
}
// eslint-disable-next-line @typescript-eslint/no-shadow
class Node extends Node_ {}
export { Node as default }
}

2
node_modules/postcss/lib/parser.js generated vendored
View File

@@ -176,7 +176,7 @@ class Parser {
node.source.end.offset++
let text = token[1].slice(2, -2)
if (/^\s*$/.test(text)) {
if (!text.trim()) {
node.text = ''
node.raws.left = text
node.raws.right = ''

View File

@@ -3,7 +3,7 @@ import { SourceMapConsumer } from 'source-map-js'
import { ProcessOptions } from './postcss.js'
declare namespace PreviousMap {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { PreviousMap_ as default }
}

View File

@@ -12,7 +12,7 @@ import Result from './result.js'
import Root from './root.js'
declare namespace Processor {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Processor_ as default }
}

View File

@@ -7,7 +7,7 @@ let Root = require('./root')
class Processor {
constructor(plugins = []) {
this.version = '8.5.6'
this.version = '8.5.8'
this.plugins = this.normalize(plugins)
}

View File

@@ -39,7 +39,7 @@ declare namespace Result {
plugin?: string
}
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Result_ as default }
}

2
node_modules/postcss/lib/root.d.ts generated vendored
View File

@@ -40,7 +40,7 @@ declare namespace Root {
raws?: RootRaws
}
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Root_ as default }
}

2
node_modules/postcss/lib/rule.d.ts generated vendored
View File

@@ -56,7 +56,7 @@ declare namespace Rule {
}
) & ContainerProps
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Rule_ as default }
}

View File

@@ -11,7 +11,7 @@ import {
} from './postcss.js'
declare namespace Stringifier {
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Stringifier_ as default }
}

View File

@@ -40,7 +40,7 @@ declare namespace Warning {
word?: string
}
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Warning_ as default }
}

2
node_modules/postcss/package.json generated vendored
View File

@@ -1,6 +1,6 @@
{
"name": "postcss",
"version": "8.5.6",
"version": "8.5.8",
"description": "Tool for transforming styles with JS plugins",
"engines": {
"node": "^10 || ^12 || >=14"