Comparing version 2.4.6 to 2.5.0
{ | ||
"name": "vue-color", | ||
"version": "2.4.6", | ||
"version": "2.5.0", | ||
"description": "Color of Vue Components", | ||
@@ -28,10 +28,10 @@ "keywords": [ | ||
"devDependencies": { | ||
"babel-core": "^6.22.x", | ||
"babel-loader": "^7.1.0", | ||
"babel-core": "^6.26.3", | ||
"babel-loader": "^7.1.4", | ||
"babel-plugin-transform-runtime": "^6.22.0", | ||
"babel-preset-env": "^1.6.1", | ||
"babel-preset-stage-2": "^6.22.0", | ||
"chalk": "^2.0.1", | ||
"chalk": "^2.4.1", | ||
"connect-history-api-fallback": "^1.1.0", | ||
"css-loader": "^0.28.0", | ||
"css-loader": "^0.28.11", | ||
"eslint": "^3.19.0", | ||
@@ -42,26 +42,26 @@ "eslint-config-standard": "^6.2.0", | ||
"eslint-plugin-html": "^2.0.0", | ||
"eslint-plugin-promise": "^3.4.2", | ||
"eslint-plugin-promise": "^3.7.0", | ||
"eslint-plugin-standard": "^2.0.1", | ||
"eventsource-polyfill": "^0.9.6", | ||
"express": "^4.14.0", | ||
"express": "^4.16.3", | ||
"extract-text-webpack-plugin": "^3.0.0", | ||
"file-loader": "^0.11.1", | ||
"friendly-errors-webpack-plugin": "^1.6.1", | ||
"gh-pages": "^1.0.0", | ||
"friendly-errors-webpack-plugin": "^1.7.0", | ||
"gh-pages": "^1.1.0", | ||
"html-webpack-plugin": "^2.28.x", | ||
"http-proxy-middleware": "^0.17.0", | ||
"ora": "^1.2.0", | ||
"ora": "^1.4.0", | ||
"shelljs": "^0.7.0", | ||
"url-loader": "^0.5.7", | ||
"vue": "^2.3.3", | ||
"vue": "^2.5.16", | ||
"vue-hot-reload-api": "^1.3.x", | ||
"vue-loader": "^13.0.2", | ||
"vue-style-loader": "^3.0.1", | ||
"vue-template-compiler": "^2.3.3", | ||
"webpack": "^3.3.0", | ||
"webpack-dev-middleware": "^1.10.0", | ||
"webpack-hot-middleware": "^2.18.0", | ||
"webpack-merge": "^4.1.0" | ||
"vue-loader": "^13.7.1", | ||
"vue-style-loader": "^3.1.2", | ||
"vue-template-compiler": "^2.5.16", | ||
"webpack": "^3.11.0", | ||
"webpack-dev-middleware": "^1.12.2", | ||
"webpack-hot-middleware": "^2.22.1", | ||
"webpack-merge": "^4.1.2" | ||
}, | ||
"license": "MIT" | ||
} |
@@ -17,3 +17,3 @@ import Compact from './components/Compact.vue' | ||
const VueColor = { | ||
version: '2.4.6', | ||
version: '2.5.0', | ||
Compact, | ||
@@ -20,0 +20,0 @@ Grayscale, |
@@ -102,4 +102,10 @@ import tinycolor from 'tinycolor2' | ||
} | ||
}, | ||
paletteUpperCase (palette) { | ||
return palette.map(c => c.toUpperCase()) | ||
}, | ||
isTransparent (color) { | ||
return tinycolor(color).getAlpha() === 0 | ||
} | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1890830
6575