@histoire/vendors 0.8.4 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/b-floating-vue.d.ts +3 -0
- package/dist/client/{floating-vue.js → b-floating-vue.js} +1 -1
- package/dist/client/b-iconify.d.ts +1 -0
- package/dist/client/{iconify.js → b-iconify.js} +0 -0
- package/dist/client/b-pinia.d.ts +1 -0
- package/dist/client/{pinia.js → b-pinia.js} +41 -8
- package/dist/client/b-scroll.d.ts +2 -0
- package/dist/client/{scroll.js → b-scroll.js} +1 -1
- package/dist/client/b-vue-router.d.ts +1 -0
- package/dist/client/{vue-router.js → b-vue-router.js} +279 -158
- package/dist/client/b-vue-use.d.ts +1 -0
- package/dist/client/{vue-use.js → b-vue-use.js} +1070 -603
- package/dist/client/b-vue.d.ts +1 -0
- package/dist/client/{vue.js → b-vue.js} +1 -1
- package/dist/client/node_modules/@babel/parser/package.json +45 -0
- package/dist/client/node_modules/@babel/parser/typings/babel-parser.d.ts +214 -0
- package/dist/client/node_modules/@floating-ui/core/index.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/core/package.json +70 -0
- package/dist/client/node_modules/@floating-ui/core/src/_babel.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/core/src/computeCoordsFromPlacement.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/core/src/computePosition.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/detectOverflow.d.ts +9 -0
- package/dist/client/node_modules/@floating-ui/core/src/enums.d.ts +4 -0
- package/dist/client/node_modules/@floating-ui/core/src/index.d.ts +11 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/arrow.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/autoPlacement.d.ts +9 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/flip.d.ts +10 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/hide.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/inline.d.ts +5 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/offset.d.ts +21 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/shift.d.ts +32 -0
- package/dist/client/node_modules/@floating-ui/core/src/middleware/size.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/core/src/types.d.ts +148 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/expandPaddingObject.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignment.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getAlignmentSides.d.ts +5 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getBasePlacement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getCrossAxis.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getExpandedPlacements.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getLengthFromAxis.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getMainAxisFromPlacement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositeAlignmentPlacement.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getOppositePlacement.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/getPaddingObject.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/math.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/rectToClientRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/core/src/utils/within.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/index.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/package.json +75 -0
- package/dist/client/node_modules/@floating-ui/dom/src/index.d.ts +7 -0
- package/dist/client/node_modules/@floating-ui/dom/src/platform.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/types.d.ts +27 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/contains.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/convertOffsetParentRelativeRectToViewportRelativeRect.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getBoundingClientRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getClippingClientRect.d.ts +6 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getComputedStyle.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDimensions.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentElement.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getDocumentRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeName.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getNodeScroll.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getOffsetParent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getParentNode.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getRectRelativeToOffsetParent.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParent.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getScrollParents.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getViewportRect.d.ts +2 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/getWindowScrollBarX.d.ts +1 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/is.d.ts +15 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/math.d.ts +3 -0
- package/dist/client/node_modules/@floating-ui/dom/src/utils/window.d.ts +2 -0
- package/dist/client/node_modules/@iconify/vue/dist/iconify.d.ts +680 -0
- package/dist/client/node_modules/@iconify/vue/dist/offline.d.ts +347 -0
- package/dist/client/node_modules/@iconify/vue/offline/package.json +14 -0
- package/dist/client/node_modules/@iconify/vue/package.json +61 -0
- package/dist/client/node_modules/@types/web-bluetooth/index.d.ts +176 -0
- package/dist/client/node_modules/@types/web-bluetooth/package.json +40 -0
- package/dist/client/node_modules/@vue/compiler-core/dist/compiler-core.d.ts +1198 -0
- package/dist/client/node_modules/@vue/compiler-core/package.json +43 -0
- package/dist/client/node_modules/@vue/compiler-dom/dist/compiler-dom.d.ts +66 -0
- package/dist/client/node_modules/@vue/compiler-dom/package.json +43 -0
- package/dist/client/node_modules/@vue/compiler-sfc/dist/compiler-sfc.d.ts +321 -0
- package/dist/client/node_modules/@vue/compiler-sfc/package.json +59 -0
- package/dist/client/node_modules/@vue/compiler-ssr/dist/compiler-ssr.d.ts +6 -0
- package/dist/client/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/api.d.ts +108 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/app.d.ts +1 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/component.d.ts +77 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/context.d.ts +5 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/hooks.d.ts +179 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/index.d.ts +6 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/api/util.d.ts +4 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/const.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/env.d.ts +15 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/index.d.ts +18 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/plugin.d.ts +47 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/proxy.d.ts +20 -0
- package/dist/client/node_modules/@vue/devtools-api/lib/esm/time.d.ts +2 -0
- package/dist/client/node_modules/@vue/devtools-api/package.json +37 -0
- package/dist/client/node_modules/@vue/reactivity/dist/reactivity.d.ts +347 -0
- package/dist/client/node_modules/@vue/reactivity/package.json +41 -0
- package/dist/client/node_modules/@vue/reactivity-transform/dist/reactivity-transform.d.ts +33 -0
- package/dist/client/node_modules/@vue/reactivity-transform/package.json +41 -0
- package/dist/client/node_modules/@vue/runtime-core/dist/runtime-core.d.ts +2018 -0
- package/dist/client/node_modules/@vue/runtime-core/package.json +38 -0
- package/dist/client/node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts +1522 -0
- package/dist/client/node_modules/@vue/runtime-dom/package.json +42 -0
- package/dist/client/node_modules/@vue/server-renderer/dist/server-renderer.d.ts +100 -0
- package/dist/client/node_modules/@vue/server-renderer/package.json +41 -0
- package/dist/client/node_modules/@vue/shared/dist/shared.d.ts +356 -0
- package/dist/client/node_modules/@vue/shared/package.json +33 -0
- package/dist/client/node_modules/@vueuse/core/index.d.ts +4305 -0
- package/dist/client/node_modules/@vueuse/core/metadata.d.ts +1 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/@vueuse/shared/index.d.ts +874 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/@vueuse/shared/package.json +50 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/index.d.ts +22 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2/index.d.ts +31 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v2.7/index.d.ts +52 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
- package/dist/client/node_modules/@vueuse/core/node_modules/vue-demi/package.json +47 -0
- package/dist/client/node_modules/@vueuse/core/package.json +59 -0
- package/dist/client/node_modules/@vueuse/metadata/index.d.ts +75 -0
- package/dist/client/node_modules/@vueuse/metadata/package.json +39 -0
- package/dist/client/node_modules/compute-scroll-into-view/package.json +90 -0
- package/dist/client/node_modules/compute-scroll-into-view/typings/index.d.ts +19 -0
- package/dist/client/node_modules/csstype/index.d.ts +38372 -0
- package/dist/client/node_modules/csstype/package.json +57 -0
- package/dist/client/node_modules/estree-walker/dist/esm/package.json +1 -0
- package/dist/client/node_modules/estree-walker/package.json +37 -0
- package/dist/client/node_modules/estree-walker/src/package.json +1 -0
- package/dist/client/node_modules/estree-walker/types/async.d.ts +53 -0
- package/dist/client/node_modules/estree-walker/types/index.d.ts +56 -0
- package/dist/client/node_modules/estree-walker/types/sync.d.ts +53 -0
- package/dist/client/node_modules/estree-walker/types/walker.d.ts +37 -0
- package/dist/client/node_modules/floating-vue/dist/components/Dropdown.vue.d.ts +25 -0
- package/dist/client/node_modules/floating-vue/dist/components/Menu.vue.d.ts +25 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.d.ts +374 -0
- package/dist/client/node_modules/floating-vue/dist/components/Popper.vue.d.ts +366 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperContent.vue.d.ts +48 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperMethods.d.ts +9 -0
- package/dist/client/node_modules/floating-vue/dist/components/PopperWrapper.vue.d.ts +28 -0
- package/dist/client/node_modules/floating-vue/dist/components/ThemeClass.d.ts +6 -0
- package/dist/client/node_modules/floating-vue/dist/components/Tooltip.vue.d.ts +25 -0
- package/dist/client/node_modules/floating-vue/dist/components/TooltipDirective.vue.d.ts +28 -0
- package/dist/client/node_modules/floating-vue/dist/config.d.ts +11 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-close-popper.d.ts +13 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.d.ts +27 -0
- package/dist/client/node_modules/floating-vue/dist/directives/v-tooltip.spec.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/index.d.ts +414 -0
- package/dist/client/node_modules/floating-vue/dist/util/assign-deep.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/env.d.ts +2 -0
- package/dist/client/node_modules/floating-vue/dist/util/events.d.ts +12 -0
- package/dist/client/node_modules/floating-vue/dist/util/frame.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/lang.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/dist/util/popper.d.ts +3 -0
- package/dist/client/node_modules/floating-vue/package.json +71 -0
- package/dist/client/node_modules/floating-vue/src/global-shim.d.ts +1 -0
- package/dist/client/node_modules/floating-vue/src/vue-shim.d.ts +5 -0
- package/dist/client/node_modules/magic-string/index.d.ts +221 -0
- package/dist/client/node_modules/magic-string/package.json +52 -0
- package/dist/client/node_modules/nanoid/async/index.d.ts +56 -0
- package/dist/client/node_modules/nanoid/async/package.json +12 -0
- package/dist/client/node_modules/nanoid/index.d.ts +91 -0
- package/dist/client/node_modules/nanoid/non-secure/index.d.ts +33 -0
- package/dist/client/node_modules/nanoid/non-secure/package.json +6 -0
- package/dist/client/node_modules/nanoid/package.json +60 -0
- package/dist/client/node_modules/nanoid/url-alphabet/package.json +6 -0
- package/dist/client/node_modules/picocolors/package.json +25 -0
- package/dist/client/node_modules/picocolors/picocolors.d.ts +5 -0
- package/dist/client/node_modules/pinia/dist/pinia.d.ts +963 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/index.d.ts +22 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2/index.d.ts +31 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v2.7/index.d.ts +52 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/lib/v3/index.d.ts +22 -0
- package/dist/client/node_modules/pinia/node_modules/vue-demi/package.json +47 -0
- package/dist/client/node_modules/pinia/package.json +101 -0
- package/dist/client/node_modules/postcss/lib/at-rule.d.ts +106 -0
- package/dist/client/node_modules/postcss/lib/comment.d.ts +56 -0
- package/dist/client/node_modules/postcss/lib/container.d.ts +442 -0
- package/dist/client/node_modules/postcss/lib/css-syntax-error.d.ts +239 -0
- package/dist/client/node_modules/postcss/lib/declaration.d.ts +124 -0
- package/dist/client/node_modules/postcss/lib/document.d.ts +57 -0
- package/dist/client/node_modules/postcss/lib/fromJSON.d.ts +5 -0
- package/dist/client/node_modules/postcss/lib/input.d.ts +150 -0
- package/dist/client/node_modules/postcss/lib/lazy-result.d.ts +176 -0
- package/dist/client/node_modules/postcss/lib/list.d.ts +51 -0
- package/dist/client/node_modules/postcss/lib/no-work-result.d.ts +37 -0
- package/dist/client/node_modules/postcss/lib/node.d.ts +478 -0
- package/dist/client/node_modules/postcss/lib/parse.d.ts +5 -0
- package/dist/client/node_modules/postcss/lib/postcss.d.ts +473 -0
- package/dist/client/node_modules/postcss/lib/previous-map.d.ts +72 -0
- package/dist/client/node_modules/postcss/lib/processor.d.ts +102 -0
- package/dist/client/node_modules/postcss/lib/result.d.ts +196 -0
- package/dist/client/node_modules/postcss/lib/root.d.ts +73 -0
- package/dist/client/node_modules/postcss/lib/rule.d.ts +104 -0
- package/dist/client/node_modules/postcss/lib/stringifier.d.ts +37 -0
- package/dist/client/node_modules/postcss/lib/stringify.d.ts +5 -0
- package/dist/client/node_modules/postcss/lib/warning.d.ts +138 -0
- package/dist/client/node_modules/postcss/package.json +85 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/package.json +144 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/index.d.ts +13 -0
- package/dist/client/node_modules/scroll-into-view-if-needed/typings/types.d.ts +19 -0
- package/dist/client/node_modules/source-map/package.json +73 -0
- package/dist/client/node_modules/source-map/source-map.d.ts +98 -0
- package/dist/client/node_modules/source-map-js/package.json +71 -0
- package/dist/client/node_modules/source-map-js/source-map.d.ts +115 -0
- package/dist/client/node_modules/sourcemap-codec/dist/types/sourcemap-codec.d.ts +5 -0
- package/dist/client/node_modules/sourcemap-codec/package.json +53 -0
- package/dist/client/node_modules/vue/compiler-sfc/index.d.ts +1 -0
- package/dist/client/node_modules/vue/compiler-sfc/package.json +5 -0
- package/dist/client/node_modules/vue/dist/vue.d.ts +9 -0
- package/dist/client/node_modules/vue/macros-global.d.ts +19 -0
- package/dist/client/node_modules/vue/macros.d.ts +110 -0
- package/dist/client/node_modules/vue/package.json +75 -0
- package/dist/client/node_modules/vue/ref-macros.d.ts +2 -0
- package/dist/client/node_modules/vue/server-renderer/index.d.ts +1 -0
- package/dist/client/node_modules/vue/server-renderer/package.json +5 -0
- package/dist/client/node_modules/vue-resize/package.json +77 -0
- package/dist/client/node_modules/vue-router/dist/vue-router.d.ts +1491 -0
- package/dist/client/node_modules/vue-router/package.json +114 -0
- package/dist/client/vue.runtime.esm-bundler.js +24 -19
- package/entries.js +7 -7
- package/floating-vue.d.ts +3 -0
- package/iconify.d.ts +3 -0
- package/package.json +13 -4
- package/pinia.d.ts +3 -0
- package/rollup.config.mjs +116 -0
- package/scroll.d.ts +3 -0
- package/src/client/b-floating-vue.ts +3 -0
- package/src/client/b-iconify.ts +1 -0
- package/src/client/b-pinia.ts +1 -0
- package/src/client/b-scroll.ts +2 -0
- package/src/client/b-vue-router.ts +1 -0
- package/src/client/b-vue-use.ts +1 -0
- package/src/client/b-vue.ts +1 -0
- package/vue-router.d.ts +3 -0
- package/vue-use.d.ts +3 -0
- package/vue.d.ts +3 -0
- package/dist/client/floating-vue.d.ts +0 -2
- package/dist/client/iconify.d.ts +0 -1
- package/dist/client/pinia.d.ts +0 -1
- package/dist/client/scroll.d.ts +0 -1
- package/dist/client/vue-router.d.ts +0 -1
- package/dist/client/vue-use.d.ts +0 -1
- package/dist/client/vue.d.ts +0 -1
- package/rollup.config.js +0 -37
- package/src/client/floating-vue.ts +0 -2
- package/src/client/iconify.ts +0 -1
- package/src/client/pinia.ts +0 -1
- package/src/client/scroll.ts +0 -1
- package/src/client/vue-router.ts +0 -1
- package/src/client/vue-use.ts +0 -1
- package/src/client/vue.ts +0 -1
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ProcessOptions,
|
|
3
|
+
Plugin,
|
|
4
|
+
SourceMap,
|
|
5
|
+
TransformCallback,
|
|
6
|
+
Root,
|
|
7
|
+
Document,
|
|
8
|
+
Node,
|
|
9
|
+
Warning,
|
|
10
|
+
WarningOptions
|
|
11
|
+
} from './postcss.js'
|
|
12
|
+
import Processor from './processor.js'
|
|
13
|
+
|
|
14
|
+
export interface Message {
|
|
15
|
+
/**
|
|
16
|
+
* Message type.
|
|
17
|
+
*/
|
|
18
|
+
type: string
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Source PostCSS plugin name.
|
|
22
|
+
*/
|
|
23
|
+
plugin?: string
|
|
24
|
+
|
|
25
|
+
[others: string]: any
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface ResultOptions extends ProcessOptions {
|
|
29
|
+
/**
|
|
30
|
+
* The CSS node that was the source of the warning.
|
|
31
|
+
*/
|
|
32
|
+
node?: Node
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Name of plugin that created this warning. `Result#warn` will fill it
|
|
36
|
+
* automatically with `Plugin#postcssPlugin` value.
|
|
37
|
+
*/
|
|
38
|
+
plugin?: string
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Provides the result of the PostCSS transformations.
|
|
43
|
+
*
|
|
44
|
+
* A Result instance is returned by `LazyResult#then`
|
|
45
|
+
* or `Root#toResult` methods.
|
|
46
|
+
*
|
|
47
|
+
* ```js
|
|
48
|
+
* postcss([autoprefixer]).process(css).then(result => {
|
|
49
|
+
* console.log(result.css)
|
|
50
|
+
* })
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ```js
|
|
54
|
+
* const result2 = postcss.parse(css).toResult()
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export default class Result {
|
|
58
|
+
/**
|
|
59
|
+
* The Processor instance used for this transformation.
|
|
60
|
+
*
|
|
61
|
+
* ```js
|
|
62
|
+
* for (const plugin of result.processor.plugins) {
|
|
63
|
+
* if (plugin.postcssPlugin === 'postcss-bad') {
|
|
64
|
+
* throw 'postcss-good is incompatible with postcss-bad'
|
|
65
|
+
* }
|
|
66
|
+
* })
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
processor: Processor
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Contains messages from plugins (e.g., warnings or custom messages).
|
|
73
|
+
* Each message should have type and plugin properties.
|
|
74
|
+
*
|
|
75
|
+
* ```js
|
|
76
|
+
* AtRule: {
|
|
77
|
+
* import: (atRule, { result }) {
|
|
78
|
+
* const importedFile = parseImport(atRule)
|
|
79
|
+
* result.messages.push({
|
|
80
|
+
* type: 'dependency',
|
|
81
|
+
* plugin: 'postcss-import',
|
|
82
|
+
* file: importedFile,
|
|
83
|
+
* parent: result.opts.from
|
|
84
|
+
* })
|
|
85
|
+
* }
|
|
86
|
+
* }
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
messages: Message[]
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Root node after all transformations.
|
|
93
|
+
*
|
|
94
|
+
* ```js
|
|
95
|
+
* root.toResult().root === root
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
root: Root | Document
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Options from the `Processor#process` or `Root#toResult` call
|
|
102
|
+
* that produced this Result instance.]
|
|
103
|
+
*
|
|
104
|
+
* ```js
|
|
105
|
+
* root.toResult(opts).opts === opts
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
opts: ResultOptions
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* A CSS string representing of `Result#root`.
|
|
112
|
+
*
|
|
113
|
+
* ```js
|
|
114
|
+
* postcss.parse('a{}').toResult().css //=> "a{}"
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
css: string
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* An instance of `SourceMapGenerator` class from the `source-map` library,
|
|
121
|
+
* representing changes to the `Result#root` instance.
|
|
122
|
+
*
|
|
123
|
+
* ```js
|
|
124
|
+
* result.map.toJSON() //=> { version: 3, file: 'a.css', … }
|
|
125
|
+
* ```
|
|
126
|
+
*
|
|
127
|
+
* ```js
|
|
128
|
+
* if (result.map) {
|
|
129
|
+
* fs.writeFileSync(result.opts.to + '.map', result.map.toString())
|
|
130
|
+
* }
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
map: SourceMap
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Last runned PostCSS plugin.
|
|
137
|
+
*/
|
|
138
|
+
lastPlugin: Plugin | TransformCallback
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @param processor Processor used for this transformation.
|
|
142
|
+
* @param root Root node after all transformations.
|
|
143
|
+
* @param opts Options from the `Processor#process` or `Root#toResult`.
|
|
144
|
+
*/
|
|
145
|
+
constructor(processor: Processor, root: Root | Document, opts: ResultOptions)
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* An alias for the `Result#css` property.
|
|
149
|
+
* Use it with syntaxes that generate non-CSS output.
|
|
150
|
+
*
|
|
151
|
+
* ```js
|
|
152
|
+
* result.css === result.content
|
|
153
|
+
* ```
|
|
154
|
+
*/
|
|
155
|
+
get content(): string
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Returns for `Result#css` content.
|
|
159
|
+
*
|
|
160
|
+
* ```js
|
|
161
|
+
* result + '' === result.css
|
|
162
|
+
* ```
|
|
163
|
+
*
|
|
164
|
+
* @return String representing of `Result#root`.
|
|
165
|
+
*/
|
|
166
|
+
toString(): string
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Creates an instance of `Warning` and adds it to `Result#messages`.
|
|
170
|
+
*
|
|
171
|
+
* ```js
|
|
172
|
+
* if (decl.important) {
|
|
173
|
+
* result.warn('Avoid !important', { node: decl, word: '!important' })
|
|
174
|
+
* }
|
|
175
|
+
* ```
|
|
176
|
+
*
|
|
177
|
+
* @param text Warning message.
|
|
178
|
+
* @param opts Warning options.
|
|
179
|
+
* @return Created warning.
|
|
180
|
+
*/
|
|
181
|
+
warn(message: string, options?: WarningOptions): Warning
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Returns warnings from plugins. Filters `Warning` instances
|
|
185
|
+
* from `Result#messages`.
|
|
186
|
+
*
|
|
187
|
+
* ```js
|
|
188
|
+
* result.warnings().forEach(warn => {
|
|
189
|
+
* console.warn(warn.toString())
|
|
190
|
+
* })
|
|
191
|
+
* ```
|
|
192
|
+
*
|
|
193
|
+
* @return Warnings from plugins.
|
|
194
|
+
*/
|
|
195
|
+
warnings(): Warning[]
|
|
196
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import Container, { ContainerProps } from './container.js'
|
|
2
|
+
import Document from './document.js'
|
|
3
|
+
import { ProcessOptions } from './postcss.js'
|
|
4
|
+
import Result from './result.js'
|
|
5
|
+
|
|
6
|
+
interface RootRaws extends Record<string, any> {
|
|
7
|
+
/**
|
|
8
|
+
* The space symbols after the last child to the end of file.
|
|
9
|
+
*/
|
|
10
|
+
after?: string
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Non-CSS code before `Root`, when `Root` is inside `Document`.
|
|
14
|
+
*
|
|
15
|
+
* **Experimental:** some aspects of this node could change within minor
|
|
16
|
+
* or patch version releases.
|
|
17
|
+
*/
|
|
18
|
+
codeBefore?: string
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Non-CSS code after `Root`, when `Root` is inside `Document`.
|
|
22
|
+
*
|
|
23
|
+
* **Experimental:** some aspects of this node could change within minor
|
|
24
|
+
* or patch version releases.
|
|
25
|
+
*/
|
|
26
|
+
codeAfter?: string
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Is the last child has an (optional) semicolon.
|
|
30
|
+
*/
|
|
31
|
+
semicolon?: boolean
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface RootProps extends ContainerProps {
|
|
35
|
+
/**
|
|
36
|
+
* Information used to generate byte-to-byte equal node string
|
|
37
|
+
* as it was in the origin input.
|
|
38
|
+
* */
|
|
39
|
+
raws?: RootRaws
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Represents a CSS file and contains all its parsed nodes.
|
|
44
|
+
*
|
|
45
|
+
* ```js
|
|
46
|
+
* const root = postcss.parse('a{color:black} b{z-index:2}')
|
|
47
|
+
* root.type //=> 'root'
|
|
48
|
+
* root.nodes.length //=> 2
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export default class Root extends Container {
|
|
52
|
+
type: 'root'
|
|
53
|
+
parent: Document | undefined
|
|
54
|
+
raws: RootRaws
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Returns a `Result` instance representing the root’s CSS.
|
|
58
|
+
*
|
|
59
|
+
* ```js
|
|
60
|
+
* const root1 = postcss.parse(css1, { from: 'a.css' })
|
|
61
|
+
* const root2 = postcss.parse(css2, { from: 'b.css' })
|
|
62
|
+
* root1.append(root2)
|
|
63
|
+
* const result = root1.toResult({ to: 'all.css', map: true })
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param opts Options.
|
|
67
|
+
* @return Result with current root’s CSS.
|
|
68
|
+
*/
|
|
69
|
+
toResult(options?: ProcessOptions): Result
|
|
70
|
+
|
|
71
|
+
constructor(defaults?: RootProps)
|
|
72
|
+
assign(overrides: object | RootProps): this
|
|
73
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import Container, { ContainerProps } from './container.js'
|
|
2
|
+
|
|
3
|
+
interface RuleRaws extends Record<string, unknown> {
|
|
4
|
+
/**
|
|
5
|
+
* The space symbols before the node. It also stores `*`
|
|
6
|
+
* and `_` symbols before the declaration (IE hack).
|
|
7
|
+
*/
|
|
8
|
+
before?: string
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* The space symbols after the last child of the node to the end of the node.
|
|
12
|
+
*/
|
|
13
|
+
after?: string
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* The symbols between the selector and `{` for rules.
|
|
17
|
+
*/
|
|
18
|
+
between?: string
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Contains `true` if the last child has an (optional) semicolon.
|
|
22
|
+
*/
|
|
23
|
+
semicolon?: boolean
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Contains `true` if there is semicolon after rule.
|
|
27
|
+
*/
|
|
28
|
+
ownSemicolon?: string
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The rule’s selector with comments.
|
|
32
|
+
*/
|
|
33
|
+
selector?: {
|
|
34
|
+
value: string
|
|
35
|
+
raw: string
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface RuleProps extends ContainerProps {
|
|
40
|
+
/** Selector or selectors of the rule. */
|
|
41
|
+
selector?: string
|
|
42
|
+
/** Selectors of the rule represented as an array of strings. */
|
|
43
|
+
selectors?: string[]
|
|
44
|
+
/** Information used to generate byte-to-byte equal node string as it was in the origin input. */
|
|
45
|
+
raws?: RuleRaws
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Represents a CSS rule: a selector followed by a declaration block.
|
|
50
|
+
*
|
|
51
|
+
* ```js
|
|
52
|
+
* Once (root, { Rule }) {
|
|
53
|
+
* let a = new Rule({ selector: 'a' })
|
|
54
|
+
* a.append(…)
|
|
55
|
+
* root.append(a)
|
|
56
|
+
* }
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* ```js
|
|
60
|
+
* const root = postcss.parse('a{}')
|
|
61
|
+
* const rule = root.first
|
|
62
|
+
* rule.type //=> 'rule'
|
|
63
|
+
* rule.toString() //=> 'a{}'
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export default class Rule extends Container {
|
|
67
|
+
type: 'rule'
|
|
68
|
+
parent: Container | undefined
|
|
69
|
+
raws: RuleRaws
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The rule’s full selector represented as a string.
|
|
73
|
+
*
|
|
74
|
+
* ```js
|
|
75
|
+
* const root = postcss.parse('a, b { }')
|
|
76
|
+
* const rule = root.first
|
|
77
|
+
* rule.selector //=> 'a, b'
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
selector: string
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* An array containing the rule’s individual selectors.
|
|
84
|
+
* Groups of selectors are split at commas.
|
|
85
|
+
*
|
|
86
|
+
* ```js
|
|
87
|
+
* const root = postcss.parse('a, b { }')
|
|
88
|
+
* const rule = root.first
|
|
89
|
+
*
|
|
90
|
+
* rule.selector //=> 'a, b'
|
|
91
|
+
* rule.selectors //=> ['a', 'b']
|
|
92
|
+
*
|
|
93
|
+
* rule.selectors = ['a', 'strong']
|
|
94
|
+
* rule.selector //=> 'a, strong'
|
|
95
|
+
* ```
|
|
96
|
+
*/
|
|
97
|
+
selectors: string[]
|
|
98
|
+
|
|
99
|
+
constructor(defaults?: RuleProps)
|
|
100
|
+
assign(overrides: object | RuleProps): this
|
|
101
|
+
clone(overrides?: Partial<RuleProps>): this
|
|
102
|
+
cloneBefore(overrides?: Partial<RuleProps>): this
|
|
103
|
+
cloneAfter(overrides?: Partial<RuleProps>): this
|
|
104
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Document,
|
|
3
|
+
Root,
|
|
4
|
+
Comment,
|
|
5
|
+
Declaration,
|
|
6
|
+
Builder,
|
|
7
|
+
AnyNode,
|
|
8
|
+
Rule,
|
|
9
|
+
AtRule,
|
|
10
|
+
Container
|
|
11
|
+
} from './postcss.js'
|
|
12
|
+
|
|
13
|
+
export default class Stringifier {
|
|
14
|
+
builder: Builder
|
|
15
|
+
constructor(builder: Builder)
|
|
16
|
+
stringify(node: AnyNode, semicolon?: boolean): void
|
|
17
|
+
document(node: Document): void
|
|
18
|
+
root(node: Root): void
|
|
19
|
+
comment(node: Comment): void
|
|
20
|
+
decl(node: Declaration, semicolon?: boolean): void
|
|
21
|
+
rule(node: Rule): void
|
|
22
|
+
atrule(node: AtRule, semicolon?: boolean): void
|
|
23
|
+
body(node: Container): void
|
|
24
|
+
block(node: AnyNode, start: string): void
|
|
25
|
+
raw(node: AnyNode, own: string | null, detect?: string): string
|
|
26
|
+
rawSemicolon(root: Root): boolean | undefined
|
|
27
|
+
rawEmptyBody(root: Root): string | undefined
|
|
28
|
+
rawIndent(root: Root): string | undefined
|
|
29
|
+
rawBeforeComment(root: Root, node: Comment): string | undefined
|
|
30
|
+
rawBeforeDecl(root: Root, node: Declaration): string | undefined
|
|
31
|
+
rawBeforeRule(root: Root): string | undefined
|
|
32
|
+
rawBeforeClose(root: Root): string | undefined
|
|
33
|
+
rawBeforeOpen(root: Root): string | undefined
|
|
34
|
+
rawColon(root: Root): string | undefined
|
|
35
|
+
beforeAfter(node: AnyNode, detect: 'before' | 'after'): string
|
|
36
|
+
rawValue(node: AnyNode, prop: string): string
|
|
37
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { RangePosition } from './css-syntax-error.js'
|
|
2
|
+
import Node from './node.js'
|
|
3
|
+
|
|
4
|
+
export interface WarningOptions {
|
|
5
|
+
/**
|
|
6
|
+
* CSS node that caused the warning.
|
|
7
|
+
*/
|
|
8
|
+
node?: Node
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Word in CSS source that caused the warning.
|
|
12
|
+
*/
|
|
13
|
+
word?: string
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Start index, inclusive, in CSS node string that caused the warning.
|
|
17
|
+
*/
|
|
18
|
+
index?: number
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* End index, exclusive, in CSS node string that caused the warning.
|
|
22
|
+
*/
|
|
23
|
+
endIndex?: number
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Start position, inclusive, in CSS node string that caused the warning.
|
|
27
|
+
*/
|
|
28
|
+
start?: RangePosition
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* End position, exclusive, in CSS node string that caused the warning.
|
|
32
|
+
*/
|
|
33
|
+
end?: RangePosition
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Name of the plugin that created this warning. `Result#warn` fills
|
|
37
|
+
* this property automatically.
|
|
38
|
+
*/
|
|
39
|
+
plugin?: string
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Represents a plugin’s warning. It can be created using `Node#warn`.
|
|
44
|
+
*
|
|
45
|
+
* ```js
|
|
46
|
+
* if (decl.important) {
|
|
47
|
+
* decl.warn(result, 'Avoid !important', { word: '!important' })
|
|
48
|
+
* }
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export default class Warning {
|
|
52
|
+
/**
|
|
53
|
+
* Type to filter warnings from `Result#messages`.
|
|
54
|
+
* Always equal to `"warning"`.
|
|
55
|
+
*/
|
|
56
|
+
type: 'warning'
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* The warning message.
|
|
60
|
+
*
|
|
61
|
+
* ```js
|
|
62
|
+
* warning.text //=> 'Try to avoid !important'
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
text: string
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* The name of the plugin that created this warning.
|
|
69
|
+
* When you call `Node#warn` it will fill this property automatically.
|
|
70
|
+
*
|
|
71
|
+
* ```js
|
|
72
|
+
* warning.plugin //=> 'postcss-important'
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
plugin: string
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Contains the CSS node that caused the warning.
|
|
79
|
+
*
|
|
80
|
+
* ```js
|
|
81
|
+
* warning.node.toString() //=> 'color: white !important'
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
node: Node
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Line for inclusive start position in the input file with this warning’s source.
|
|
88
|
+
*
|
|
89
|
+
* ```js
|
|
90
|
+
* warning.line //=> 5
|
|
91
|
+
* ```
|
|
92
|
+
*/
|
|
93
|
+
line: number
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Column for inclusive start position in the input file with this warning’s source.
|
|
97
|
+
*
|
|
98
|
+
* ```js
|
|
99
|
+
* warning.column //=> 6
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
102
|
+
column: number
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Line for exclusive end position in the input file with this warning’s source.
|
|
106
|
+
*
|
|
107
|
+
* ```js
|
|
108
|
+
* warning.endLine //=> 6
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
endLine?: number
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Column for exclusive end position in the input file with this warning’s source.
|
|
115
|
+
*
|
|
116
|
+
* ```js
|
|
117
|
+
* warning.endColumn //=> 4
|
|
118
|
+
* ```
|
|
119
|
+
*/
|
|
120
|
+
endColumn?: number
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @param text Warning message.
|
|
124
|
+
* @param opts Warning options.
|
|
125
|
+
*/
|
|
126
|
+
constructor(text: string, opts?: WarningOptions)
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Returns a warning position and message.
|
|
130
|
+
*
|
|
131
|
+
* ```js
|
|
132
|
+
* warning.toString() //=> 'postcss-lint:a.css:10:14: Avoid !important'
|
|
133
|
+
* ```
|
|
134
|
+
*
|
|
135
|
+
* @return Warning position and message.
|
|
136
|
+
*/
|
|
137
|
+
toString(): string
|
|
138
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "postcss",
|
|
3
|
+
"version": "8.4.14",
|
|
4
|
+
"description": "Tool for transforming styles with JS plugins",
|
|
5
|
+
"engines": {
|
|
6
|
+
"node": "^10 || ^12 || >=14"
|
|
7
|
+
},
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"require": "./lib/postcss.js",
|
|
11
|
+
"import": "./lib/postcss.mjs",
|
|
12
|
+
"types": "./lib/postcss.d.ts"
|
|
13
|
+
},
|
|
14
|
+
"./lib/at-rule": "./lib/at-rule.js",
|
|
15
|
+
"./lib/comment": "./lib/comment.js",
|
|
16
|
+
"./lib/container": "./lib/container.js",
|
|
17
|
+
"./lib/css-syntax-error": "./lib/css-syntax-error.js",
|
|
18
|
+
"./lib/declaration": "./lib/declaration.js",
|
|
19
|
+
"./lib/fromJSON": "./lib/fromJSON.js",
|
|
20
|
+
"./lib/input": "./lib/input.js",
|
|
21
|
+
"./lib/lazy-result": "./lib/lazy-result.js",
|
|
22
|
+
"./lib/no-work-result": "./lib/no-work-result.js",
|
|
23
|
+
"./lib/list": "./lib/list.js",
|
|
24
|
+
"./lib/map-generator": "./lib/map-generator.js",
|
|
25
|
+
"./lib/node": "./lib/node.js",
|
|
26
|
+
"./lib/parse": "./lib/parse.js",
|
|
27
|
+
"./lib/parser": "./lib/parser.js",
|
|
28
|
+
"./lib/postcss": "./lib/postcss.js",
|
|
29
|
+
"./lib/previous-map": "./lib/previous-map.js",
|
|
30
|
+
"./lib/processor": "./lib/processor.js",
|
|
31
|
+
"./lib/result": "./lib/result.js",
|
|
32
|
+
"./lib/root": "./lib/root.js",
|
|
33
|
+
"./lib/rule": "./lib/rule.js",
|
|
34
|
+
"./lib/stringifier": "./lib/stringifier.js",
|
|
35
|
+
"./lib/stringify": "./lib/stringify.js",
|
|
36
|
+
"./lib/symbols": "./lib/symbols.js",
|
|
37
|
+
"./lib/terminal-highlight": "./lib/terminal-highlight.js",
|
|
38
|
+
"./lib/tokenize": "./lib/tokenize.js",
|
|
39
|
+
"./lib/warn-once": "./lib/warn-once.js",
|
|
40
|
+
"./lib/warning": "./lib/warning.js",
|
|
41
|
+
"./package.json": "./package.json"
|
|
42
|
+
},
|
|
43
|
+
"main": "./lib/postcss.js",
|
|
44
|
+
"types": "./lib/postcss.d.ts",
|
|
45
|
+
"keywords": [
|
|
46
|
+
"css",
|
|
47
|
+
"postcss",
|
|
48
|
+
"rework",
|
|
49
|
+
"preprocessor",
|
|
50
|
+
"parser",
|
|
51
|
+
"source map",
|
|
52
|
+
"transform",
|
|
53
|
+
"manipulation",
|
|
54
|
+
"transpiler"
|
|
55
|
+
],
|
|
56
|
+
"funding": [
|
|
57
|
+
{
|
|
58
|
+
"type": "opencollective",
|
|
59
|
+
"url": "https://opencollective.com/postcss/"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"type": "tidelift",
|
|
63
|
+
"url": "https://tidelift.com/funding/github/npm/postcss"
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"author": "Andrey Sitnik <andrey@sitnik.ru>",
|
|
67
|
+
"license": "MIT",
|
|
68
|
+
"homepage": "https://postcss.org/",
|
|
69
|
+
"repository": "postcss/postcss",
|
|
70
|
+
"bugs": {
|
|
71
|
+
"url": "https://github.com/postcss/postcss/issues"
|
|
72
|
+
},
|
|
73
|
+
"dependencies": {
|
|
74
|
+
"nanoid": "^3.3.4",
|
|
75
|
+
"picocolors": "^1.0.0",
|
|
76
|
+
"source-map-js": "^1.0.2"
|
|
77
|
+
},
|
|
78
|
+
"browser": {
|
|
79
|
+
"./lib/terminal-highlight": false,
|
|
80
|
+
"source-map-js": false,
|
|
81
|
+
"path": false,
|
|
82
|
+
"url": false,
|
|
83
|
+
"fs": false
|
|
84
|
+
}
|
|
85
|
+
}
|