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

@@ -25,8 +25,8 @@ declare namespace postcssValueParser {
before: string;
/**
* The token at the end of the node
*/
* The token at the end of the node
*/
after: string;
}
@@ -85,7 +85,7 @@ declare namespace postcssValueParser {
* @param node The node to stringify
* @returns The serialized CSS representation of the node
*/
(nodes: Node): string;
(nodes: Node): string | undefined;
}
interface WalkCallback {
@@ -95,7 +95,7 @@ declare namespace postcssValueParser {
* @param nodes The series of parsed nodes
* @returns Returning `false` will prevent traversal of descendant nodes (only applies if `bubble` was set to `true` in the `walk()` call)
*/
(node: Node, index: number, nodes: Node[]): void | false;
(node: Node, index: number, nodes: Node[]): void | boolean;
}
/**

View File

@@ -16,7 +16,7 @@ function stringifyNode(node, custom) {
} else if (type === "div") {
return (node.before || "") + value + (node.after || "");
} else if (Array.isArray(node.nodes)) {
buf = stringify(node.nodes);
buf = stringify(node.nodes, custom);
if (type !== "function") {
return buf;
}

View File

@@ -1,33 +1,33 @@
{
"_args": [
[
"postcss-value-parser@4.0.3",
"postcss-value-parser@4.1.0",
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
]
],
"_development": true,
"_from": "postcss-value-parser@4.0.3",
"_id": "postcss-value-parser@4.0.3",
"_from": "postcss-value-parser@4.1.0",
"_id": "postcss-value-parser@4.1.0",
"_inBundle": false,
"_integrity": "sha512-N7h4pG+Nnu5BEIzyeaaIYWs0LI5XC40OrRh5L60z0QjFsqGWcHcbkBvpe1WYpcIS9yQ8sOi/vIPt1ejQCrMVrg==",
"_integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==",
"_location": "/postcss-value-parser",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "postcss-value-parser@4.0.3",
"raw": "postcss-value-parser@4.1.0",
"name": "postcss-value-parser",
"escapedName": "postcss-value-parser",
"rawSpec": "4.0.3",
"rawSpec": "4.1.0",
"saveSpec": null,
"fetchSpec": "4.0.3"
"fetchSpec": "4.1.0"
},
"_requiredBy": [
"/autoprefixer",
"/postcss-calc"
],
"_resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.0.3.tgz",
"_spec": "4.0.3",
"_resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz",
"_spec": "4.1.0",
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
"author": {
"name": "Bogdan Chadkin",
@@ -83,9 +83,9 @@
"scripts": {
"lint": "yarn lint:js && yarn lint:prettier",
"lint:js": "eslint . --cache",
"lint:prettier": "prettier '**/*.js' --list-different",
"lint:prettier": "prettier '**/*.js' '**/*.ts' --list-different",
"pretest": "yarn lint",
"test": "tape test/*.js | tap-spec"
},
"version": "4.0.3"
"version": "4.1.0"
}