updated npm modules
This commit is contained in:
3
node_modules/color/index.js
generated
vendored
3
node_modules/color/index.js
generated
vendored
@@ -366,6 +366,9 @@ Color.prototype = {
|
||||
mix: function (mixinColor, weight) {
|
||||
// ported from sass implementation in C
|
||||
// https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209
|
||||
if (!mixinColor || !mixinColor.rgb) {
|
||||
throw new Error('Argument to "mix" was not a Color instance, but rather an instance of ' + typeof mixinColor);
|
||||
}
|
||||
var color1 = mixinColor.rgb();
|
||||
var color2 = this.rgb();
|
||||
var p = weight === undefined ? 0.5 : weight;
|
||||
|
||||
14
node_modules/color/package.json
generated
vendored
14
node_modules/color/package.json
generated
vendored
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"_from": "color@^3.0.0",
|
||||
"_id": "color@3.1.0",
|
||||
"_id": "color@3.1.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-CwyopLkuRYO5ei2EpzpIh6LqJMt6Mt+jZhO5VI5f/wJLZriXQE32/SSqzmrh+QB+AZT81Cj8yv+7zwToW8ahZg==",
|
||||
"_integrity": "sha512-PvUltIXRjehRKPSy89VnDWFKY58xyhTLyxIg21vwQBI6qLwZNPmC8k3C1uytIgFKEpOIzN4y32iPm8231zFHIg==",
|
||||
"_location": "/color",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
@@ -18,8 +18,8 @@
|
||||
"_requiredBy": [
|
||||
"/postcss-colormin"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/color/-/color-3.1.0.tgz",
|
||||
"_shasum": "d8e9fb096732875774c84bf922815df0308d0ffc",
|
||||
"_resolved": "https://registry.npmjs.org/color/-/color-3.1.1.tgz",
|
||||
"_shasum": "7abf5c0d38e89378284e873c207ae2172dcc8a61",
|
||||
"_spec": "color@^3.0.0",
|
||||
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\postcss-colormin",
|
||||
"authors": [
|
||||
@@ -38,8 +38,8 @@
|
||||
"deprecated": false,
|
||||
"description": "Color conversion and manipulation with CSS string support",
|
||||
"devDependencies": {
|
||||
"mocha": "^2.2.5",
|
||||
"xo": "^0.12.1"
|
||||
"mocha": "^6.1.4",
|
||||
"xo": "0.12.1"
|
||||
},
|
||||
"files": [
|
||||
"CHANGELOG.md",
|
||||
@@ -62,7 +62,7 @@
|
||||
"pretest": "xo",
|
||||
"test": "mocha"
|
||||
},
|
||||
"version": "3.1.0",
|
||||
"version": "3.1.1",
|
||||
"xo": {
|
||||
"rules": {
|
||||
"no-cond-assign": 0,
|
||||
|
||||
Reference in New Issue
Block a user