Comparing version 1.1.0 to 1.1.1
@@ -5,2 +5,6 @@ 'use strict'; | ||
var _color = require('color'); | ||
var _color2 = _interopRequireDefault(_color); | ||
var _colourNames = require('./lib/colourNames'); | ||
@@ -18,6 +22,2 @@ | ||
var _color = require('color'); | ||
var _color2 = _interopRequireDefault(_color); | ||
var _stripWhitespace = require('./lib/stripWhitespace'); | ||
@@ -46,3 +46,3 @@ | ||
if (ctype.isRGBorHSL(colour)) { | ||
var c = undefined; | ||
var c = void 0; | ||
// Pass through invalid rgb/hsl functions | ||
@@ -49,0 +49,0 @@ try { |
{ | ||
"name": "colormin", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Turn a CSS color into its smallest representation.", | ||
@@ -13,3 +13,4 @@ "main": "dist/index.js", | ||
"prepublish": "del-cli dist && babel src --out-dir dist --ignore /__tests__/", | ||
"test": "ava src/__tests__" | ||
"test": "ava src/__tests__", | ||
"test-012": "ava src/__tests__" | ||
}, | ||
@@ -32,15 +33,18 @@ "homepage": "https://github.com/ben-eb/colormin", | ||
"color": "^0.11.0", | ||
"css-color-names": "0.0.3" | ||
"css-color-names": "0.0.4" | ||
}, | ||
"devDependencies": { | ||
"ava": "^0.12.0", | ||
"ava": "^0.15.0", | ||
"babel-cli": "^6.3.17", | ||
"babel-core": "^6.3.26", | ||
"babel-plugin-add-module-exports": "^0.1.2", | ||
"babel-plugin-add-module-exports": "^0.2.0", | ||
"babel-preset-es2015": "^6.3.13", | ||
"babel-preset-es2015-loose": "^7.0.0", | ||
"babel-preset-stage-0": "^6.3.13", | ||
"babel-register": "^6.9.0", | ||
"del-cli": "^0.2.0", | ||
"eslint": "^2.1.0", | ||
"eslint-config-cssnano": "^2.0.0" | ||
"eslint": "^3.0.0", | ||
"eslint-config-cssnano": "^3.0.0", | ||
"eslint-plugin-babel": "^3.3.0", | ||
"eslint-plugin-import": "^1.10.2" | ||
}, | ||
@@ -52,4 +56,4 @@ "repository": "ben-eb/colormin", | ||
"ava": { | ||
"require": "babel-core/register" | ||
"require": "babel-register" | ||
} | ||
} |
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
9401
11
13
+ Addedcss-color-names@0.0.4(transitive)
- Removedcss-color-names@0.0.3(transitive)
Updatedcss-color-names@0.0.4