🔧 npm update

This commit is contained in:
2025-04-15 20:50:11 +02:00
parent ce5b9ac0c8
commit 94a90edabd
828 changed files with 256807 additions and 197099 deletions

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

@@ -1,4 +1,7 @@
import Container, { ContainerProps } from './container.js'
import Container, {
ContainerProps,
ContainerWithChildren
} from './container.js'
declare namespace Rule {
export interface RuleRaws extends Record<string, unknown> {
@@ -19,7 +22,7 @@ declare namespace Rule {
between?: string
/**
* Contains `true` if there is semicolon after rule.
* Contains the text of the semicolon after this rule.
*/
ownSemicolon?: string
@@ -37,14 +40,21 @@ declare namespace Rule {
semicolon?: boolean
}
export interface RuleProps extends ContainerProps {
export type RuleProps = {
/** Information used to generate byte-to-byte equal node string as it was in the origin input. */
raws?: RuleRaws
/** Selector or selectors of the rule. */
selector?: string
/** Selectors of the rule represented as an array of strings. */
selectors?: string[]
}
} & (
| {
/** Selector or selectors of the rule. */
selector: string
selectors?: never
}
| {
selector?: never
/** Selectors of the rule represented as an array of strings. */
selectors: readonly string[]
}
) & ContainerProps
// eslint-disable-next-line @typescript-eslint/no-use-before-define
export { Rule_ as default }
@@ -69,8 +79,10 @@ declare namespace Rule {
* ```
*/
declare class Rule_ extends Container {
parent: Container | undefined
nodes: NonNullable<Container['nodes']>
parent: ContainerWithChildren | undefined
raws: Rule.RuleRaws
type: 'rule'
/**
* The rules full selector represented as a string.
*
@@ -80,8 +92,9 @@ declare class Rule_ extends Container {
* rule.selector //=> 'a, b'
* ```
*/
selector: string
get selector(): string
set selector(value: string)
/**
* An array containing the rules individual selectors.
* Groups of selectors are split at commas.
@@ -97,15 +110,15 @@ declare class Rule_ extends Container {
* rule.selector //=> 'a, strong'
* ```
*/
selectors: string[]
get selectors(): string[]
type: 'rule'
set selectors(values: string[])
constructor(defaults?: Rule.RuleProps)
assign(overrides: object | Rule.RuleProps): this
clone(overrides?: Partial<Rule.RuleProps>): Rule
cloneAfter(overrides?: Partial<Rule.RuleProps>): Rule
cloneBefore(overrides?: Partial<Rule.RuleProps>): Rule
clone(overrides?: Partial<Rule.RuleProps>): this
cloneAfter(overrides?: Partial<Rule.RuleProps>): this
cloneBefore(overrides?: Partial<Rule.RuleProps>): this
}
declare class Rule extends Rule_ {}