This commit is contained in:
2026-04-26 21:47:28 +02:00
parent db373625f5
commit acabd97d01
142 changed files with 1761 additions and 2022 deletions

2
node_modules/postcss/LICENSE generated vendored
View File

@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright 2013 Andrey Sitnik <andrey@sitnik.ru>
Copyright 2013 Andrey Sitnik <andrey@sitnik.es>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in

13
node_modules/postcss/README.md generated vendored
View File

@@ -14,16 +14,15 @@ and JetBrains. The [Autoprefixer] and [Stylelint] PostCSS plugins are some o
---
<img src="https://cdn.evilmartians.com/badges/logo-no-label.svg" alt="" width="22" height="16" />  Built by
<b><a href="https://evilmartians.com/devtools?utm_source=postcss&utm_campaign=devtools-button&utm_medium=github">Evil Martians</a></b>, go-to agency for <b>developer tools</b>.
<b><a href="https://evilmartians.com/devtools?utm_source=postcss&utm_campaign=devtools-button&utm_medium=github">Evil Martians</a></b>, go-to agency for <b>developer tools</b>.
---
[Abstract Syntax Tree]: https://en.wikipedia.org/wiki/Abstract_syntax_tree
[Evil Martians]: https://evilmartians.com/?utm_source=postcss
[Autoprefixer]: https://github.com/postcss/autoprefixer
[Stylelint]: https://stylelint.io/
[plugins]: https://github.com/postcss/postcss#plugins
[Abstract Syntax Tree]: https://en.wikipedia.org/wiki/Abstract_syntax_tree
[Evil Martians]: https://evilmartians.com/?utm_source=postcss
[Autoprefixer]: https://github.com/postcss/autoprefixer
[Stylelint]: https://stylelint.io/
[plugins]: https://github.com/postcss/postcss#plugins
## Docs
Read full docs **[here](https://postcss.org/)**.

View File

@@ -49,7 +49,6 @@ declare namespace AtRule {
raws?: AtRuleRaws
}
export { AtRule_ as default }
}

View File

@@ -26,7 +26,6 @@ declare namespace Comment {
text: string
}
export { Comment_ as default }
}

View File

@@ -8,11 +8,7 @@ import Rule from './rule.js'
declare namespace Container {
export type ContainerWithChildren<Child extends Node = ChildNode> = {
nodes: Child[]
} & (
| AtRule
| Root
| Rule
)
} & (AtRule | Root | Rule)
export interface ValueOptions {
/**
@@ -43,7 +39,6 @@ declare namespace Container {
| string
| undefined
export { Container_ as default }
}

View File

@@ -16,7 +16,6 @@ declare namespace CssSyntaxError {
line: number
}
export { CssSyntaxError_ as default }
}

View File

@@ -39,7 +39,6 @@ declare namespace Declaration {
value: string
}
export { Declaration_ as default }
}

View File

@@ -16,7 +16,6 @@ declare namespace Document {
raws?: Record<string, any>
}
export { Document_ as default }
}

View File

@@ -4,6 +4,6 @@ interface FromJSON extends JSONHydrator {
default: FromJSON
}
declare const fromJSON: FromJSON
declare let fromJSON: FromJSON
export = fromJSON

View File

@@ -49,7 +49,6 @@ declare namespace Input {
url: string
}
export { Input_ as default }
}

10
node_modules/postcss/lib/input.js generated vendored
View File

@@ -142,7 +142,15 @@ class Input {
)
}
result.input = { column, endColumn, endLine, endOffset, line, offset, source: this.css }
result.input = {
column,
endColumn,
endLine,
endOffset,
line,
offset,
source: this.css
}
if (this.file) {
if (pathToFileURL) {
result.input.url = pathToFileURL(this.file).toString()

View File

@@ -6,7 +6,6 @@ import Root from './root.js'
import Warning from './warning.js'
declare namespace LazyResult {
export { LazyResult_ as default }
}
@@ -19,9 +18,9 @@ declare namespace LazyResult {
* const lazy = postcss([autoprefixer]).process(css)
* ```
*/
declare class LazyResult_<RootNode = Document | Root>
implements PromiseLike<Result<RootNode>>
{
declare class LazyResult_<RootNode = Document | Root> implements PromiseLike<
Result<RootNode>
> {
/**
* Processes input CSS through synchronous and asynchronous plugins
* and calls onRejected for each error thrown in any plugin.

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

@@ -55,6 +55,6 @@ declare namespace list {
}
}
declare const list: list.List
declare let list: list.List
export = list

View File

@@ -6,7 +6,6 @@ import Root from './root.js'
import Warning from './warning.js'
declare namespace NoWorkResult {
export { NoWorkResult_ as default }
}

View File

@@ -2,7 +2,7 @@
let MapGenerator = require('./map-generator')
let parse = require('./parse')
const Result = require('./result')
let Result = require('./result')
let stringify = require('./stringify')
let warnOnce = require('./warn-once')

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

@@ -126,7 +126,6 @@ declare namespace Node {
word?: string
}
class Node extends Node_ {}
export { Node as default }
}

View File

@@ -4,6 +4,6 @@ interface Parse extends Parser {
default: Parse
}
declare const parse: Parse
declare let parse: Parse
export = parse

View File

@@ -1,7 +1,6 @@
export {
// Type-only exports
AcceptedPlugin,
AnyNode,
atRule,
AtRule,
@@ -27,7 +26,6 @@ export {
fromJSON,
Helpers,
Input,
JSONHydrator,
// This is a class, but its not re-exported. Thats why its exported as type-only here.
type LazyResult,
@@ -64,6 +62,5 @@ export {
TransformCallback,
Transformer,
Warning,
WarningOptions
} from './postcss.js'

View File

@@ -450,9 +450,7 @@ declare namespace postcss {
* @param plugins PostCSS plugins.
* @return Processor to process multiple CSS.
*/
declare function postcss(
plugins?: readonly postcss.AcceptedPlugin[]
): Processor
declare function postcss(plugins?: readonly postcss.AcceptedPlugin[]): Processor
declare function postcss(...plugins: postcss.AcceptedPlugin[]): Processor
export = postcss

View File

@@ -3,7 +3,6 @@ import { SourceMapConsumer } from 'source-map-js'
import { ProcessOptions } from './postcss.js'
declare namespace PreviousMap {
export { PreviousMap_ as default }
}

View File

@@ -51,7 +51,8 @@ class PreviousMap {
return fromBase64(text.substr(baseUriMatch[0].length))
}
let encoding = text.match(/data:application\/json;([^,]+),/)[1]
let encoding = text.slice('data:application/json;'.length)
encoding = encoding.slice(0, encoding.indexOf(','))
throw new Error('Unsupported source map encoding ' + encoding)
}

View File

@@ -12,7 +12,6 @@ import Result from './result.js'
import Root from './root.js'
declare namespace Processor {
export { Processor_ as default }
}

View File

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

View File

@@ -39,7 +39,6 @@ declare namespace Result {
plugin?: string
}
export { Result_ as default }
}

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

@@ -40,7 +40,6 @@ declare namespace Root {
raws?: RootRaws
}
export { Root_ as default }
}

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

@@ -44,19 +44,19 @@ declare namespace Rule {
/** 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?: never
}
| {
selector?: never
/** Selectors of the rule represented as an array of strings. */
selectors: readonly string[]
}
) & ContainerProps
| {
/** 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
export { Rule_ as default }
}

View File

@@ -11,7 +11,6 @@ import {
} from './postcss.js'
declare namespace Stringifier {
export { Stringifier_ as default }
}

View File

@@ -4,6 +4,6 @@ interface Stringify extends Stringifier {
default: Stringify
}
declare const stringify: Stringify
declare let stringify: Stringify
export = stringify

View File

@@ -40,7 +40,6 @@ declare namespace Warning {
word?: string
}
export { Warning_ as default }
}

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

@@ -1,10 +1,48 @@
{
"name": "postcss",
"version": "8.5.8",
"version": "8.5.9",
"description": "Tool for transforming styles with JS plugins",
"engines": {
"node": "^10 || ^12 || >=14"
"keywords": [
"css",
"manipulation",
"parser",
"postcss",
"preprocessor",
"rework",
"source map",
"transform",
"transpiler"
],
"homepage": "https://postcss.org/",
"bugs": {
"url": "https://github.com/postcss/postcss/issues"
},
"license": "MIT",
"author": "Andrey Sitnik <andrey@sitnik.es>",
"repository": "postcss/postcss",
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/postcss/"
},
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/postcss"
},
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"main": "./lib/postcss.js",
"browser": {
"./lib/terminal-highlight": false,
"source-map-js": false,
"path": false,
"url": false,
"fs": false
},
"types": "./lib/postcss.d.ts",
"exports": {
".": {
"import": "./lib/postcss.mjs",
@@ -39,50 +77,12 @@
"./lib/warning": "./lib/warning.js",
"./package.json": "./package.json"
},
"main": "./lib/postcss.js",
"types": "./lib/postcss.d.ts",
"keywords": [
"css",
"postcss",
"rework",
"preprocessor",
"parser",
"source map",
"transform",
"manipulation",
"transpiler"
],
"funding": [
{
"type": "opencollective",
"url": "https://opencollective.com/postcss/"
},
{
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/postcss"
},
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"author": "Andrey Sitnik <andrey@sitnik.ru>",
"license": "MIT",
"homepage": "https://postcss.org/",
"repository": "postcss/postcss",
"bugs": {
"url": "https://github.com/postcss/postcss/issues"
},
"dependencies": {
"nanoid": "^3.3.11",
"picocolors": "^1.1.1",
"source-map-js": "^1.2.1"
},
"browser": {
"./lib/terminal-highlight": false,
"source-map-js": false,
"path": false,
"url": false,
"fs": false
"engines": {
"node": "^10 || ^12 || >=14"
}
}