composer and npm

This commit is contained in:
Henry Whitaker
2020-08-25 00:59:44 +01:00
parent 6726d93cc6
commit c8f853dc84
2504 changed files with 88530 additions and 41367 deletions

View File

@@ -1,6 +1,21 @@
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 7.0.32
* Fix error message (by @admosity).
## 7.0.31
* Use only the latest source map annotation (by Emmanouil Zoumpoulakis).
## 7.0.30
* Fix TypeScript definition (by Natalie Weizenbaum).
## 7.0.29
* Update `Processor#version`.
## 7.0.28
* Fix TypeScript definition (by Natalie Weizenbaum).
## 7.0.27
* Fix TypeScript definition (by Natalie Weizenbaum).

View File

@@ -39,6 +39,16 @@ at <surrender@evilmartians.com>.
alt="Sponsored by Evil Martians" width="236" height="54">
</a>
## Sponsorship
PostCSS needs your support. We are accepting donations
[at Open Collective](https://opencollective.com/postcss/).
<a href="https://tailwindcss.com/">
<img src="https://refactoringui.nyc3.cdn.digitaloceanspaces.com/tailwind-logo.svg"
alt="Sponsored by Tailwind CSS" width="273" height="64">
</a>
## Plugins
Currently, PostCSS has more than 200 plugins. You can find all of the plugins
@@ -468,3 +478,14 @@ To report a security vulnerability, please use the [Tidelift security contact].
Tidelift will coordinate the fix and disclosure.
[Tidelift security contact]: https://tidelift.com/security
## For Enterprise
Available as part of the Tidelift Subscription.
The maintainers of `postcss` and thousands of other packages are working
with Tidelift to deliver commercial support and maintenance for the open source
dependencies you use to build your applications. Save time, reduce risk,
and improve code health, while paying the maintainers of the exact dependencies
you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-postcss?utm_source=npm-postcss&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -23,7 +23,7 @@ declare namespace postcss {
postcss: Transformer;
process: (css: string | {
toString(): string;
} | Result, opts?: any) => LazyResult;
} | Result, processOpts?: ProcessOptions, pluginOpts?: T) => LazyResult;
}
interface Transformer extends TransformCallback {
postcssPlugin?: string;
@@ -538,6 +538,7 @@ declare namespace postcss {
consumer(): mozilla.SourceMapConsumer;
withContent(): boolean;
startWith(string: string, start: string): boolean;
getAnnotationURL(sourceMapString: string): string;
loadAnnotation(css: string): void;
decodeInline(text: string): string;
loadMap(
@@ -630,12 +631,12 @@ declare namespace postcss {
* @returns The next child of the node's parent; or, returns undefined if
* the current node is the last child.
*/
next(): ChildNode | void;
next(): ChildNode | undefined;
/**
* @returns The previous child of the node's parent; or, returns undefined
* if the current node is the first child.
*/
prev(): ChildNode | void;
prev(): ChildNode | undefined;
/**
* Insert new node before current node to current nodes parent.
*
@@ -702,7 +703,7 @@ declare namespace postcss {
* will try to autodetect the code style property by looking at other nodes
* in the tree.
*/
raw(prop: string, defaultType?: string): any;
raw(prop: string, defaultType?: string): string;
}
interface NodeNewProps {
source?: NodeSource;
@@ -841,19 +842,16 @@ declare namespace postcss {
* @returns True if the callback returns true for all of the container's
* children.
*/
every(callback: (node: ChildNode, index: number, nodes: ChildNode[]) => any, thisArg?: any): boolean;
every(callback: (node: ChildNode, index: number, nodes: ChildNode[]) => boolean): boolean;
/**
* Determines whether the specified callback returns true for any child node.
* @param callback A function that accepts up to three arguments. The some
* method calls the callback for each node until the callback returns true,
* or until the end of the array.
* @param thisArg An object to which the this keyword can refer in the
* callback function. If thisArg is omitted, undefined is used as the
* this value.
* @returns True if callback returns true for (at least) one of the
* container's children.
*/
some(callback: (node: ChildNode, index: number, nodes: ChildNode[]) => boolean, thisArg?: any): boolean;
some(callback: (node: ChildNode, index: number, nodes: ChildNode[]) => boolean): boolean;
/**
* Iterates through the container's immediate children, calling the
* callback function for each child. If you need to recursively iterate
@@ -865,7 +863,8 @@ declare namespace postcss {
* will adjust the current index to match the mutations.
* @returns False if the callback returns false during iteration.
*/
each(callback: (node: ChildNode, index: number) => any): boolean | void;
each(callback: (node: ChildNode, index: number) => void): void;
each(callback: (node: ChildNode, index: number) => boolean): boolean;
/**
* Traverses the container's descendant nodes, calling `callback` for each
* node. Like container.each(), this method is safe to use if you are
@@ -873,7 +872,8 @@ declare namespace postcss {
* the container's immediate children, use container.each().
* @param callback Iterator.
*/
walk(callback: (node: ChildNode, index: number) => any): boolean | void;
walk(callback: (node: ChildNode, index: number) => void): void;
walk(callback: (node: ChildNode, index: number) => boolean): boolean;
/**
* Traverses the container's descendant nodes, calling `callback` for each
* declaration. Like container.each(), this method is safe to use if you
@@ -882,8 +882,10 @@ declare namespace postcss {
* declarations whose property matches propFilter will be iterated over.
* @param callback Called for each declaration node within the container.
*/
walkDecls(propFilter: string | RegExp, callback?: (decl: Declaration, index: number) => any): boolean | void;
walkDecls(callback: (decl: Declaration, index: number) => any): boolean | void;
walkDecls(propFilter: string | RegExp, callback: (decl: Declaration, index: number) => void): void;
walkDecls(callback: (decl: Declaration, index: number) => void): void;
walkDecls(propFilter: string | RegExp, callback: (decl: Declaration, index: number) => boolean): boolean;
walkDecls(callback: (decl: Declaration, index: number) => boolean): boolean;
/**
* Traverses the container's descendant nodes, calling `callback` for each
* at-rule. Like container.each(), this method is safe to use if you are
@@ -893,8 +895,10 @@ declare namespace postcss {
* @param callback Iterator called for each at-rule node within the
* container.
*/
walkAtRules(nameFilter: string | RegExp, callback: (atRule: AtRule, index: number) => any): boolean | void;
walkAtRules(callback: (atRule: AtRule, index: number) => any): boolean | void;
walkAtRules(nameFilter: string | RegExp, callback: (atRule: AtRule, index: number) => void): void;
walkAtRules(callback: (atRule: AtRule, index: number) => void): void;
walkAtRules(nameFilter: string | RegExp, callback: (atRule: AtRule, index: number) => boolean): boolean;
walkAtRules(callback: (atRule: AtRule, index: number) => boolean): boolean;
/**
* Traverses the container's descendant nodes, calling `callback` for each
* rule. Like container.each(), this method is safe to use if you are
@@ -904,16 +908,18 @@ declare namespace postcss {
* @param callback Iterator called for each rule node within the
* container.
*/
walkRules(selectorFilter: string | RegExp, callback: (atRule: Rule, index: number) => any): boolean | void;
walkRules(callback: (atRule: Rule, index: number) => any): boolean | void;
walkRules(selectorFilter: any, callback?: (atRule: Rule, index: number) => any): boolean | void;
walkRules(selectorFilter: string | RegExp, callback: (atRule: Rule, index: number) => void): void;
walkRules(callback: (atRule: Rule, index: number) => void): void;
walkRules(selectorFilter: string | RegExp, callback: (atRule: Rule, index: number) => boolean): boolean;
walkRules(callback: (atRule: Rule, index: number) => boolean): boolean;
/**
* Traverses the container's descendant nodes, calling `callback` for each
* comment. Like container.each(), this method is safe to use if you are
* mutating arrays during iteration.
* @param callback Iterator called for each comment node within the container.
*/
walkComments(callback: (comment: Comment, indexed: number) => any): void | boolean;
walkComments(callback: (comment: Comment, indexed: number) => void): void;
walkComments(callback: (comment: Comment, indexed: number) => boolean): boolean;
/**
* Passes all declaration values within the container that match pattern
* through the callback, replacing those values with the returned result of

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,15 +1,15 @@
{
"_args": [
[
"postcss@7.0.27",
"postcss@7.0.32",
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
]
],
"_development": true,
"_from": "postcss@7.0.27",
"_id": "postcss@7.0.27",
"_from": "postcss@7.0.32",
"_id": "postcss@7.0.32",
"_inBundle": false,
"_integrity": "sha512-WuQETPMcW9Uf1/22HWUWP9lgsIC+KEHg2kozMflKjbeUtw9ujvFX6QmIfozaErDkmLWS9WEnEdEe6Uo9/BNTdQ==",
"_integrity": "sha512-03eXong5NLnNCD05xscnGKGDZ98CyzoqPSMjOe6SuoQY7Z2hIj0Ld1g/O/UQRuOle2aRtiIRDg9tDcTGAkLfKw==",
"_location": "/postcss",
"_phantomChildren": {
"has-flag": "3.0.0"
@@ -17,12 +17,12 @@
"_requested": {
"type": "version",
"registry": true,
"raw": "postcss@7.0.27",
"raw": "postcss@7.0.32",
"name": "postcss",
"escapedName": "postcss",
"rawSpec": "7.0.27",
"rawSpec": "7.0.32",
"saveSpec": null,
"fetchSpec": "7.0.27"
"fetchSpec": "7.0.32"
},
"_requiredBy": [
"/@vue/component-compiler-utils",
@@ -61,8 +61,8 @@
"/postcss-unique-selectors",
"/stylehacks"
],
"_resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.27.tgz",
"_spec": "7.0.27",
"_resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.32.tgz",
"_spec": "7.0.32",
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
"author": {
"name": "Andrey Sitnik",
@@ -122,5 +122,5 @@
"url": "git+https://github.com/postcss/postcss.git"
},
"types": "lib/postcss.d.ts",
"version": "7.0.27"
"version": "7.0.32"
}