Comparing version 1.1.0 to 1.1.1
@@ -5,4 +5,8 @@ # Changelog | ||
## [1.1.1] - [#6](../../pull/6) - 2020-04-16 | ||
### Fixed | ||
- shade is not defined | ||
## [1.1.0] - [#5](../../pull/5) - 2020-03-10 | ||
## Added | ||
### Added | ||
- ✨ new properties to the Array result of `vallues.all()` [`5f204a2`](https://github.com/noeldelgado/values.js/commit/5f204a2b4757bf0e2e77910ae50f44bbb19af56f) | ||
@@ -14,3 +18,3 @@ - `isTint: true` for tints | ||
## Changed | ||
### Changed | ||
- updated README [`f226453`](https://github.com/noeldelgado/values.js/commit/5f204a2b4757bf0e2e77910ae50f44bbb19af56f) | ||
@@ -21,3 +25,77 @@ - added params signature for methods | ||
[Unreleased]: https://github.com/noeldelgado/values.js/compare/v1.1.0...HEAD | ||
[0.1.0]: https://github.com/noeldelgado/values.js/releases/tag/v1.1.0 | ||
## [1.0.3] - 2015-10-20 | ||
### Added | ||
- npm and bower version badges [`a7f04f5`](https://github.com/noeldelgado/values.js/commit/a7f04f5f1b55580a8d5c3583648bfdb398c0b5bd) | ||
### Fixed | ||
- #3, {tint,shade} === 0 returning default of 50% [`8d83fa0`](https://github.com/noeldelgado/values.js/commit/8d83fa003a6011352034e6d858afcc55e6009e2d) | ||
- jshint errors [`3f54dc6`](https://github.com/noeldelgado/values.js/commit/3f54dc697814582514063e1feda9053d97b76eae) | ||
## [1.0.2] - 2015-03-12 | ||
### Fixed | ||
- CommonJS on linux: Require() is case sensitive on linux, so the example only worked on OSX. [#1](https://github.com/noeldelgado/values.js/pull/1) | ||
## [1.0.1] - 2015-03-08 | ||
### Changed | ||
- white list distributed files on NPM [`fc2ece8`](https://github.com/noeldelgado/values.js/commit/fc2ece8da029a3d8b27e910371342400542a1bc8) | ||
### Fixed | ||
- revert / return duplicated tints and shades, using an object to filter was messing the results ordering [`79294f8`](https://github.com/noeldelgado/values.js/commit/79294f81dba7fbe1358a7ba41bfa2b91a78c6eb1) | ||
## [1.0.0] - 2015-03-08 | ||
### Changed | ||
- refactor [`55bc6e6`](https://github.com/noeldelgado/values.js/commit/55bc6e69d5dccfcd73178f990a2b87636f8d34fc) | ||
- fixed tints and shades output actually mixing with white and black | ||
- renamed methods | ||
- getTints => tints | ||
- getShades => shades | ||
- getAll => all | ||
### Added | ||
- methods | ||
- tint | ||
- shade | ||
- getBrightness | ||
- hexString | ||
- rgbString | ||
- hslString | ||
### Removed | ||
- methods | ||
- setStep | ||
- lighteness | ||
- minified dist version | ||
## [0.1.5] - 2014-09-16 | ||
### Fixed | ||
- ignore case to isRGB and isHSL Util methods [`17cf7d5`](https://github.com/noeldelgado/values.js/commit/17cf7d55b105db314a623eb18c7d3349ab939f68) | ||
## [0.1.4] - 2014-09-16 | ||
- 0.1.4 [`287ba66`](https://github.com/noeldelgado/values.js/commit/287ba6654c327d84debac31f30b77e73cb4aaaed) | ||
- add / hsl validaton support | ||
- update / rgb validation | ||
- add / tests | ||
## [0.1.3] - 2014-09-06 | ||
## [0.1.2] - 2014-07-12 | ||
### Added | ||
- bower support | ||
### Fixed | ||
- NPM main file | ||
## [0.1.1] - 2014-07-02 | ||
- initial release | ||
[Unreleased]: https://github.com/noeldelgado/values.js/compare/v1.1.1...HEAD | ||
[1.1.1]: https://github.com/noeldelgado/values.js/compare/v1.1.0...v1.1.1 | ||
[1.1.0]: https://github.com/noeldelgado/values.js/compare/v1.0.3...v1.1.0 | ||
[1.0.3]: https://github.com/noeldelgado/values.js/compare/v1.0.2...v1.0.3 | ||
[1.0.2]: https://github.com/noeldelgado/values.js/compare/v1.0.1...v1.0.2 | ||
[1.0.1]: https://github.com/noeldelgado/values.js/compare/v1.0.0...v1.0.1 | ||
[1.0.0]: https://github.com/noeldelgado/values.js/compare/v0.1.5...v1.0.0 | ||
[0.1.5]: https://github.com/noeldelgado/values.js/compare/v0.1.4...v0.1.5 | ||
[0.1.4]: https://github.com/noeldelgado/values.js/compare/v0.1.3...v0.1.4 | ||
[0.1.3]: https://github.com/noeldelgado/values.js/compare/v0.1.2...v0.1.3 | ||
[0.1.2]: https://github.com/noeldelgado/values.js/compare/v0.1.1...v0.1.2 | ||
[0.1.1]: https://github.com/noeldelgado/values.js/releases/tag/v0.1.1 |
/** | ||
* values.js - Get the tints and shades of a color | ||
* @version v1.0.3 | ||
* @version v1.1.1 | ||
* @link http://noeldelgado.github.io/values.js/ | ||
@@ -208,3 +208,5 @@ * @license MIT | ||
Values.prototype.shades = function tint (percentage) { | ||
var i = percentage = (percentage || 10), shades = []; | ||
var i = percentage = (percentage || 10) | ||
, shades = [] | ||
, shade; | ||
@@ -211,0 +213,0 @@ while (i <= 100) { |
{ | ||
"name": "values.js", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Get the tints and shades of a color", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
# values.js | ||
[![npm-image](https://img.shields.io/npm/v/values.js.svg)](https://www.npmjs.com/package/values.js) | ||
![bower-image](https://img.shields.io/bower/v/values.js.svg) | ||
[![Known Vulnerabilities](https://snyk.io/test/npm/values.js/1.0.3/badge.svg)](https://snyk.io/test/npm/values.js/1.0.3) | ||
[![Known Vulnerabilities](https://snyk.io/test/npm/values.js/1.1.0/badge.svg)](https://snyk.io/test/npm/values.js/1.1.0) | ||
![license-image](https://img.shields.io/npm/l/values.js.svg) | ||
@@ -6,0 +6,0 @@ |
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
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
19058
254