davidmerfield/randomColor

Is the alpha options published correctly in npm?

Closed this issue · 2 comments

ardok commented
https://cdnjs.cloudflare.com/ajax/libs/randomcolor/0.4.4/randomColor.js

and

{
  "_args": [
    [
      {
        "raw": "randomcolor@^0.4.4",
        "scope": null,
        "escapedName": "randomcolor",
        "name": "randomcolor",
        "rawSpec": "^0.4.4",
        "spec": ">=0.4.4 <0.5.0",
        "type": "range"
      },
      "/Users/ardokusuma/Documents/workspace/local-tunnel/avengers"
    ]
  ],
  "_from": "randomcolor@>=0.4.4 <0.5.0",
  "_id": "randomcolor@0.4.4",
  "_inCache": true,
  "_location": "/randomcolor",
  "_npmOperationalInternal": {
    "host": "packages-12-west.internal.npmjs.com",
    "tmp": "tmp/randomcolor-0.4.4.tgz_1459804934773_0.7336271230597049"
  },
  "_npmUser": {
    "name": "davidmerfield",
    "email": "dmerfield@gmail.com"
  },
  "_npmVersion": "1.4.9",
  "_phantomChildren": {},
  "_requested": {
    "raw": "randomcolor@^0.4.4",
    "scope": null,
    "escapedName": "randomcolor",
    "name": "randomcolor",
    "rawSpec": "^0.4.4",
    "spec": ">=0.4.4 <0.5.0",
    "type": "range"
  },
  "_requiredBy": [
    "/"
  ],
  "_resolved": "https://unpm.uberinternal.com/randomcolor/-/randomcolor-0.4.4.tgz",
  "_shasum": "5ff56862e97ba03beb0419ff0536ec7aff59eeeb",
  "_shrinkwrap": null,
  "_spec": "randomcolor@^0.4.4",
  "_where": "/Users/ardokusuma/Documents/workspace/local-tunnel/avengers",
  "author": {
    "name": "David Merfield"
  },
  "bugs": {
    "url": "https://github.com/davidmerfield/randomColor/issues"
  },
  "dependencies": {},
  "description": "For generating attractive random colors",
  "devDependencies": {
    "cheerio": "^0.19.0",
    "highlight": "^0.2.3",
    "highlight.js": "^8.7.0",
    "html-minifier": "^0.7.2"
  },
  "directories": {
    "test": "tests"
  },
  "dist": {
    "shasum": "5ff56862e97ba03beb0419ff0536ec7aff59eeeb",
    "tarball": "https://unpm.uberinternal.com/randomcolor/-/randomcolor-0.4.4.tgz"
  },
  "homepage": "http://llllll.li/randomColor/",
  "keywords": [
    "attractive",
    "random",
    "color",
    "generator"
  ],
  "license": "MIT",
  "main": "randomColor.js",
  "maintainers": [
    {
      "name": "davidmerfield",
      "email": "dmerfield@gmail.com"
    }
  ],
  "name": "randomcolor",
  "optionalDependencies": {},
  "readme": "ERROR: No README data found!",
  "repository": {
    "type": "git",
    "url": "git://github.com/davidmerfield/randomColor.git"
  },
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "spm": {
    "main": "randomColor.js"
  },
  "version": "0.4.4"
}

But I cannot find the alpha option being used in the given randomColor.js

I noticed the same. Version published to npm has no alpha option.

Just published this! So sorry for the delay.