/
var
/
www
/
cobraambalaj
/
node_modules
/
postcss
/
lib
/
/var/www/cobraambalaj/node_modules/postcss/lib
mkdir
upload
Name
Size
Mode
Actions
at-rule.d.ts
2205
0644
edit
dl
rm
at-rule.js
474
0644
edit
dl
rm
comment.d.ts
1095
0644
edit
dl
rm
comment.js
204
0644
edit
dl
rm
container.d.ts
12726
0644
edit
dl
rm
container.js
10183
0644
edit
dl
rm
css-syntax-error.d.ts
4830
0644
edit
dl
rm
css-syntax-error.js
2299
0644
edit
dl
rm
declaration.d.ts
2650
0644
edit
dl
rm
declaration.js
497
0644
edit
dl
rm
fromJSON.d.ts
107
0644
edit
dl
rm
fromJSON.js
1507
0644
edit
dl
rm
input.d.ts
2816
0644
edit
dl
rm
input.js
4549
0644
edit
dl
rm
lazy-result.d.ts
4833
0644
edit
dl
rm
lazy-result.js
12279
0644
edit
dl
rm
list.d.ts
850
0644
edit
dl
rm
list.js
1170
0644
edit
dl
rm
map-generator.js
7306
0644
edit
dl
rm
node.d.ts
11348
0644
edit
dl
rm
node.js
6909
0644
edit
dl
rm
parse.d.ts
89
0644
edit
dl
rm
parse.js
1148
0644
edit
dl
rm
parser.js
13323
0644
edit
dl
rm
postcss.d.ts
10569
0644
edit
dl
rm
postcss.js
2513
0644
edit
dl
rm
postcss.mjs
855
0644
edit
dl
rm
previous-map.d.ts
1618
0644
edit
dl
rm
previous-map.js
3960
0644
edit
dl
rm
processor.d.ts
2944
0644
edit
dl
rm
processor.js
1965
0644
edit
dl
rm
result.d.ts
4086
0644
edit
dl
rm
result.js
750
0644
edit
dl
rm
root.d.ts
1195
0644
edit
dl
rm
root.js
1213
0644
edit
dl
rm
rule.d.ts
2078
0644
edit
dl
rm
rule.js
572
0644
edit
dl
rm
stringifier.js
7996
0644
edit
dl
rm
stringify.d.ts
107
0644
edit
dl
rm
stringify.js
214
0644
edit
dl
rm
symbols.js
57
0644
edit
dl
rm
terminal-highlight.js
1360
0644
edit
dl
rm
tokenize.js
6542
0644
edit
dl
rm
warn-once.js
225
0644
edit
dl
rm
warning.d.ts
1935
0644
edit
dl
rm
warning.js
650
0644
edit
dl
rm
Edit:
/var/www/cobraambalaj/node_modules/postcss/lib/lazy-result.d.ts
(4833B)
import Result, { Message, ResultOptions } from './result.js' import { SourceMap } from './postcss.js' import Processor from './processor.js' import Warning from './warning.js' import Root from './root.js' /** * A Promise proxy for the result of PostCSS transformations. * * A `LazyResult` instance is returned by `Processor#process`. * * ```js * const lazy = postcss([autoprefixer]).process(css) * ``` */ export default class LazyResult implements PromiseLike<Result> { /** * Processes input CSS through synchronous and asynchronous plugins * and calls `onFulfilled` with a Result instance. If a plugin throws * an error, the `onRejected` callback will be executed. * * It implements standard Promise API. * * ```js * postcss([autoprefixer]).process(css, { from: cssPath }).then(result => { * console.log(result.css) * }) * ``` */ then: Promise<Result>['then'] /** * Processes input CSS through synchronous and asynchronous plugins * and calls onRejected for each error thrown in any plugin. * * It implements standard Promise API. * * ```js * postcss([autoprefixer]).process(css).then(result => { * console.log(result.css) * }).catch(error => { * console.error(error) * }) * ``` */ catch: Promise<Result>['catch'] /** * Processes input CSS through synchronous and asynchronous plugins * and calls onFinally on any error or when all plugins will finish work. * * It implements standard Promise API. * * ```js * postcss([autoprefixer]).process(css).finally(() => { * console.log('processing ended') * }) * ``` */ finally: Promise<Result>['finally'] /** * @param processor Processor used for this transformation. * @param css CSS to parse and transform. * @param opts Options from the `Processor#process` or `Root#toResult`. */ constructor (processor: Processor, css: string, opts: ResultOptions) /** * Returns the default string description of an object. * Required to implement the Promise interface. */ get [Symbol.toStringTag] (): string /** * Returns a `Processor` instance, which will be used * for CSS transformations. */ get processor (): Processor /** * Options from the `Processor#process` call. */ get opts (): ResultOptions /** * Processes input CSS through synchronous plugins, converts `Root` * to a CSS string and returns `Result#css`. * * This property will only work with synchronous plugins. * If the processor contains any asynchronous plugins * it will throw an error. This is why this method is only * for debug purpose, you should always use `LazyResult#then`. */ get css (): string /** * An alias for the `css` property. Use it with syntaxes * that generate non-CSS output. * * This property will only work with synchronous plugins. * If the processor contains any asynchronous plugins * it will throw an error. This is why this method is only * for debug purpose, you should always use `LazyResult#then`. */ get content (): string /** * Processes input CSS through synchronous plugins * and returns `Result#map`. * * This property will only work with synchronous plugins. * If the processor contains any asynchronous plugins * it will throw an error. This is why this method is only * for debug purpose, you should always use `LazyResult#then`. */ get map (): SourceMap /** * Processes input CSS through synchronous plugins * and returns `Result#root`. * * This property will only work with synchronous plugins. If the processor * contains any asynchronous plugins it will throw an error. * * This is why this method is only for debug purpose, * you should always use `LazyResult#then`. */ get root (): Root /** * Processes input CSS through synchronous plugins * and returns `Result#messages`. * * This property will only work with synchronous plugins. If the processor * contains any asynchronous plugins it will throw an error. * * This is why this method is only for debug purpose, * you should always use `LazyResult#then`. */ get messages (): Message[] /** * Processes input CSS through synchronous plugins * and calls `Result#warnings`. * * @return Warnings from plugins. */ warnings (): Warning[] /** * Alias for the `LazyResult#css` property. * * ```js * lazy + '' === lazy.css * ``` * * @return Output CSS. */ toString (): string /** * Run plugin in sync way and return `Result`. * * @return Result with output content. */ sync (): Result /** * Run plugin in async way and return `Result`. * * @return Result with output content. */ async (): Promise<Result> }
Save
cmd:
run