color-string 1.9.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3,7 +3,7 @@ var colorNames = require('color-name');
3
3
  var swizzle = require('simple-swizzle');
4
4
  var hasOwnProperty = Object.hasOwnProperty;
5
5
 
6
- var reverseNames = {};
6
+ var reverseNames = Object.create(null);
7
7
 
8
8
  // create a list of reverse color names
9
9
  for (var name in colorNames) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "color-string",
3
3
  "description": "Parser and generator for CSS color strings",
4
- "version": "1.9.0",
4
+ "version": "1.9.1",
5
5
  "author": "Heather Arthur <fayearthur@gmail.com>",
6
6
  "contributors": [
7
7
  "Maxime Thirouin",