mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2026-01-04 03:54:51 +01:00
composer and npm
This commit is contained in:
4
conf/site/node_modules/postcss-calc/CHANGELOG.md
generated
vendored
4
conf/site/node_modules/postcss-calc/CHANGELOG.md
generated
vendored
@@ -1,3 +1,7 @@
|
||||
# 7.0.3
|
||||
|
||||
- Fixed: substracted css-variable from zero ([#111](https://github.com/postcss/postcss-calc/issues/111))
|
||||
|
||||
# 7.0.2
|
||||
|
||||
- Fixed: incorrect reduction of subtraction from zero ([#88](https://github.com/postcss/postcss-calc/issues/88))
|
||||
|
||||
0
conf/site/node_modules/postcss-calc/dist/index.js
generated
vendored
Executable file → Normal file
0
conf/site/node_modules/postcss-calc/dist/index.js
generated
vendored
Executable file → Normal file
0
conf/site/node_modules/postcss-calc/dist/lib/convertUnit.js
generated
vendored
Executable file → Normal file
0
conf/site/node_modules/postcss-calc/dist/lib/convertUnit.js
generated
vendored
Executable file → Normal file
15
conf/site/node_modules/postcss-calc/dist/lib/reducer.js
generated
vendored
Executable file → Normal file
15
conf/site/node_modules/postcss-calc/dist/lib/reducer.js
generated
vendored
Executable file → Normal file
@@ -68,7 +68,7 @@ function reduceAddSubExpression(node, precision) {
|
||||
} // 0 - something => -something
|
||||
|
||||
|
||||
if (isValueType(node.left.type) && node.left.value === 0 && node.operator === "-" && node.right.type !== "Function") {
|
||||
if (isValueType(node.left.type) && node.left.value === 0 && node.operator === "-" && !isCSSFunction(node.right)) {
|
||||
return flipValue(node.right);
|
||||
} // value + value
|
||||
// value - value
|
||||
@@ -324,4 +324,17 @@ function reduce(node, precision) {
|
||||
|
||||
var _default = reduce;
|
||||
exports.default = _default;
|
||||
|
||||
function isCSSFunction(node) {
|
||||
if (node.type === "Function") {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (node.type === "MathExpression") {
|
||||
return isCSSFunction(node.left) || isCSSFunction(node.right);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
module.exports = exports.default;
|
||||
0
conf/site/node_modules/postcss-calc/dist/lib/stringifier.js
generated
vendored
Executable file → Normal file
0
conf/site/node_modules/postcss-calc/dist/lib/stringifier.js
generated
vendored
Executable file → Normal file
0
conf/site/node_modules/postcss-calc/dist/lib/transform.js
generated
vendored
Executable file → Normal file
0
conf/site/node_modules/postcss-calc/dist/lib/transform.js
generated
vendored
Executable file → Normal file
0
conf/site/node_modules/postcss-calc/dist/parser.js
generated
vendored
Executable file → Normal file
0
conf/site/node_modules/postcss-calc/dist/parser.js
generated
vendored
Executable file → Normal file
20
conf/site/node_modules/postcss-calc/package.json
generated
vendored
Executable file → Normal file
20
conf/site/node_modules/postcss-calc/package.json
generated
vendored
Executable file → Normal file
@@ -1,32 +1,32 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"postcss-calc@7.0.2",
|
||||
"postcss-calc@7.0.3",
|
||||
"/home/henry/Documents/git/Speedtest-tracker-docker/conf/site"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "postcss-calc@7.0.2",
|
||||
"_id": "postcss-calc@7.0.2",
|
||||
"_from": "postcss-calc@7.0.3",
|
||||
"_id": "postcss-calc@7.0.3",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-rofZFHUg6ZIrvRwPeFktv06GdbDYLcGqh9EwiMutZg+a0oePCCw1zHOEiji6LCpyRcjTREtPASuUqeAvYlEVvQ==",
|
||||
"_integrity": "sha512-IB/EAEmZhIMEIhG7Ov4x+l47UaXOS1n2f4FBUk/aKllQhtSCxWhTzn0nJgkqN7fo/jcWySvWTSB6Syk9L+31bA==",
|
||||
"_location": "/postcss-calc",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "postcss-calc@7.0.2",
|
||||
"raw": "postcss-calc@7.0.3",
|
||||
"name": "postcss-calc",
|
||||
"escapedName": "postcss-calc",
|
||||
"rawSpec": "7.0.2",
|
||||
"rawSpec": "7.0.3",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "7.0.2"
|
||||
"fetchSpec": "7.0.3"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/cssnano-preset-default"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.2.tgz",
|
||||
"_spec": "7.0.2",
|
||||
"_resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.3.tgz",
|
||||
"_spec": "7.0.3",
|
||||
"_where": "/home/henry/Documents/git/Speedtest-tracker-docker/conf/site",
|
||||
"author": {
|
||||
"name": "Andy Jansson"
|
||||
@@ -95,5 +95,5 @@
|
||||
"pretest": "npm run build && eslint src",
|
||||
"test": "ava"
|
||||
},
|
||||
"version": "7.0.2"
|
||||
"version": "7.0.3"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user