├── .gitignore
├── LICENSE
├── README.md
├── example.gif
├── index.js
├── package.json
└── yarn.lock
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules
2 | *.svg
3 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2017 Peter Piekarczyk
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 🎨 🔧 Create Simple Icon
2 |
3 |
4 |
5 | Download and colorize branded svg icons in a snap!
6 | `Create Simple Icon` leverages the power of [Simple Icons](https://simpleicons.org) and then colorizes them anyway you'd like.
7 |
8 | [](https://badge.fury.io/js/create-simple-icon)
9 |
10 | ## Installation
11 |
12 | ```bash
13 | $ yarn global add create-simple-icon
14 | ```
15 |
16 | If you're not using Yarn yet:
17 |
18 | ```bash
19 | $ npm install -g create-simple-icon
20 | ```
21 |
22 | ## Usage, Options and Examples
23 |
24 | ```bash
25 | Usage
26 | $ csi
27 |
28 | Examples
29 | csi twitter red
30 | csi facebook '#eee' (zsh requires quotes)
31 | csi reddit (returns default color)
32 | csi facebook -o 0.5 (returns default color with opacity 0.5)
33 | csi reddit -p (opens reddit in your browser)
34 | csi -b (opens simpleicons.org in your browser)
35 | ```
36 |
37 | ## Requirements
38 | - Node 6+
39 |
--------------------------------------------------------------------------------
/example.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/peterpme/create-simple-icon/d0c012ac29063e0dc6a958856741f4ebad997fc1/example.gif
--------------------------------------------------------------------------------
/index.js:
--------------------------------------------------------------------------------
1 | #!/usr/bin/env node
2 | "use strict";
3 |
4 | const fs = require("fs");
5 | const request = require("request");
6 | const rp = require("request-promise");
7 | const chalk = require("chalk");
8 | const open = require("open");
9 | const ora = require("ora");
10 | const argv = require("minimist")(process.argv.slice(2));
11 | const log = console.log;
12 |
13 | const isValidHex = str => /(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(str);
14 | const isValidString = str => str && str.length > 2;
15 | const getUrl = name => `https://simpleicons.org/icons/${name}.svg`;
16 | const spinner = ora("Generating your Icon...");
17 | spinner.color = "yellow";
18 |
19 | const handleError = errMsg => {
20 | log(chalk.red(errMsg));
21 | process.exitCode = 1;
22 | process.exit();
23 | };
24 |
25 | const ERRORS = {
26 | missingIcon: "Please pass in an icon name. Eg: reddit",
27 | wrongColorNumber: "Please enter a number between 0 and 9",
28 | writeFile: "Something went wrong writing file to disk, try again!",
29 | missingColor: `
30 | Please pass in a color either as:
31 | - hex format: #333, #eeeeee,
32 | - Open color (https://github.com/yeun/open-color)
33 | `
34 | };
35 |
36 | const ARGS = {
37 | iconName: argv._[0],
38 | iconColor: argv._[1],
39 | iconOpacity: argv.o,
40 | color: argv.c,
41 | preview: !!argv.p || !!argv.preview,
42 | browse: !!argv.b || !!argv.browse
43 | };
44 |
45 | if (!argv._.length > 0 && !ARGS.browse) {
46 | handleError(ERRORS.missingIcon);
47 | }
48 |
49 | if (ARGS.browse) {
50 | open('https://simpleicons.org');
51 | process.exit();
52 | }
53 |
54 | if (ARGS.preview && ARGS.iconName) {
55 | const url = getUrl(ARGS.iconName);
56 | open(url);
57 |
58 | log(chalk.green(`Opening ${ARGS.iconName}.svg in your browser...`));
59 | process.exit();
60 | }
61 |
62 | const getSvg = (uri, iconName, iconColor, opacity) => {
63 | rp({
64 | uri
65 | })
66 | .then(response => {
67 | const coloredSvg = response.replace(
68 | /(circle|ellipse|path)/g,
69 | `$1 fill="${iconColor}" fill-opacity="${opacity}"`
70 | );
71 |
72 | fs.writeFile(`${iconName}.svg`, coloredSvg, (err, done) => {
73 | spinner.succeed(`Done! Look for ${iconName}.svg`);
74 | process.exit();
75 | });
76 | })
77 | .catch(err => handleError("writeFile"));
78 | };
79 |
80 | const getIconDetails = (
81 | iconName,
82 | uri = "https://raw.githubusercontent.com/danleech/simple-icons/develop/_data/simple-icons.json"
83 | ) => {
84 | return rp({ uri, json: true }).then(json =>
85 | json.icons.find(icon => icon.title.toLowerCase() === iconName.toLowerCase())
86 | );
87 | };
88 |
89 | const handleIconColor = str => str;
90 |
91 | const getColoredIcon = (iconName, iconColor, iconOpacity = 1) => {
92 | spinner.start();
93 | getIconDetails(iconName).then(icon => {
94 | const uri = getUrl(iconName);
95 | const color = iconColor ? handleIconColor(iconColor) : `#${icon.hex}`;
96 |
97 | getSvg(uri, iconName, color, iconOpacity);
98 | });
99 | };
100 |
101 | getColoredIcon(ARGS.iconName, ARGS.iconColor, ARGS.iconOpacity);
102 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "create-simple-icon",
3 | "version": "1.0.0",
4 | "description": "Simply generate icons from simpleicons.org",
5 | "main": "index.js",
6 | "repository": "git@github.com:peterpme/create-simple-icon.git",
7 | "author": "Peter Piekarczyk ",
8 | "license": "MIT",
9 | "bin": {
10 | "csi": "index.js"
11 | },
12 | "dependencies": {
13 | "chalk": "^1.1.3",
14 | "minimist": "^1.2.0",
15 | "open": "^0.0.5",
16 | "ora": "^1.2.0",
17 | "request": "^2.81.0",
18 | "request-promise": "^4.1.1"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/yarn.lock:
--------------------------------------------------------------------------------
1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2 | # yarn lockfile v1
3 |
4 |
5 | ajv@^4.9.1:
6 | version "4.11.5"
7 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.5.tgz#b6ee74657b993a01dce44b7944d56f485828d5bd"
8 | dependencies:
9 | co "^4.6.0"
10 | json-stable-stringify "^1.0.1"
11 |
12 | ansi-regex@^2.0.0:
13 | version "2.1.1"
14 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df"
15 |
16 | ansi-styles@^2.2.1:
17 | version "2.2.1"
18 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe"
19 |
20 | asn1@~0.2.3:
21 | version "0.2.3"
22 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86"
23 |
24 | assert-plus@1.0.0, assert-plus@^1.0.0:
25 | version "1.0.0"
26 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525"
27 |
28 | assert-plus@^0.2.0:
29 | version "0.2.0"
30 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234"
31 |
32 | asynckit@^0.4.0:
33 | version "0.4.0"
34 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
35 |
36 | aws-sign2@~0.6.0:
37 | version "0.6.0"
38 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f"
39 |
40 | aws4@^1.2.1:
41 | version "1.6.0"
42 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e"
43 |
44 | bcrypt-pbkdf@^1.0.0:
45 | version "1.0.1"
46 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d"
47 | dependencies:
48 | tweetnacl "^0.14.3"
49 |
50 | bluebird@^3.4.1:
51 | version "3.5.0"
52 | resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.0.tgz#791420d7f551eea2897453a8a77653f96606d67c"
53 |
54 | boom@2.x.x:
55 | version "2.10.1"
56 | resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f"
57 | dependencies:
58 | hoek "2.x.x"
59 |
60 | caseless@~0.12.0:
61 | version "0.12.0"
62 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
63 |
64 | chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
65 | version "1.1.3"
66 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
67 | dependencies:
68 | ansi-styles "^2.2.1"
69 | escape-string-regexp "^1.0.2"
70 | has-ansi "^2.0.0"
71 | strip-ansi "^3.0.0"
72 | supports-color "^2.0.0"
73 |
74 | cli-cursor@^2.1.0:
75 | version "2.1.0"
76 | resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5"
77 | dependencies:
78 | restore-cursor "^2.0.0"
79 |
80 | cli-spinners@^1.0.0:
81 | version "1.0.0"
82 | resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-1.0.0.tgz#ef987ed3d48391ac3dab9180b406a742180d6e6a"
83 |
84 | co@^4.6.0:
85 | version "4.6.0"
86 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184"
87 |
88 | combined-stream@^1.0.5, combined-stream@~1.0.5:
89 | version "1.0.5"
90 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009"
91 | dependencies:
92 | delayed-stream "~1.0.0"
93 |
94 | cryptiles@2.x.x:
95 | version "2.0.5"
96 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8"
97 | dependencies:
98 | boom "2.x.x"
99 |
100 | dashdash@^1.12.0:
101 | version "1.14.1"
102 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"
103 | dependencies:
104 | assert-plus "^1.0.0"
105 |
106 | delayed-stream@~1.0.0:
107 | version "1.0.0"
108 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
109 |
110 | ecc-jsbn@~0.1.1:
111 | version "0.1.1"
112 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505"
113 | dependencies:
114 | jsbn "~0.1.0"
115 |
116 | escape-string-regexp@^1.0.2:
117 | version "1.0.5"
118 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
119 |
120 | extend@~3.0.0:
121 | version "3.0.0"
122 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4"
123 |
124 | extsprintf@1.0.2:
125 | version "1.0.2"
126 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550"
127 |
128 | forever-agent@~0.6.1:
129 | version "0.6.1"
130 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
131 |
132 | form-data@~2.1.1:
133 | version "2.1.2"
134 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.2.tgz#89c3534008b97eada4cbb157d58f6f5df025eae4"
135 | dependencies:
136 | asynckit "^0.4.0"
137 | combined-stream "^1.0.5"
138 | mime-types "^2.1.12"
139 |
140 | getpass@^0.1.1:
141 | version "0.1.6"
142 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6"
143 | dependencies:
144 | assert-plus "^1.0.0"
145 |
146 | har-schema@^1.0.5:
147 | version "1.0.5"
148 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e"
149 |
150 | har-validator@~4.2.1:
151 | version "4.2.1"
152 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a"
153 | dependencies:
154 | ajv "^4.9.1"
155 | har-schema "^1.0.5"
156 |
157 | has-ansi@^2.0.0:
158 | version "2.0.0"
159 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
160 | dependencies:
161 | ansi-regex "^2.0.0"
162 |
163 | hawk@~3.1.3:
164 | version "3.1.3"
165 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4"
166 | dependencies:
167 | boom "2.x.x"
168 | cryptiles "2.x.x"
169 | hoek "2.x.x"
170 | sntp "1.x.x"
171 |
172 | hoek@2.x.x:
173 | version "2.16.3"
174 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed"
175 |
176 | http-signature@~1.1.0:
177 | version "1.1.1"
178 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf"
179 | dependencies:
180 | assert-plus "^0.2.0"
181 | jsprim "^1.2.2"
182 | sshpk "^1.7.0"
183 |
184 | is-typedarray@~1.0.0:
185 | version "1.0.0"
186 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a"
187 |
188 | isstream@~0.1.2:
189 | version "0.1.2"
190 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a"
191 |
192 | jodid25519@^1.0.0:
193 | version "1.0.2"
194 | resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967"
195 | dependencies:
196 | jsbn "~0.1.0"
197 |
198 | jsbn@~0.1.0:
199 | version "0.1.1"
200 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513"
201 |
202 | json-schema@0.2.3:
203 | version "0.2.3"
204 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13"
205 |
206 | json-stable-stringify@^1.0.1:
207 | version "1.0.1"
208 | resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af"
209 | dependencies:
210 | jsonify "~0.0.0"
211 |
212 | json-stringify-safe@~5.0.1:
213 | version "5.0.1"
214 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb"
215 |
216 | jsonify@~0.0.0:
217 | version "0.0.0"
218 | resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73"
219 |
220 | jsprim@^1.2.2:
221 | version "1.4.0"
222 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918"
223 | dependencies:
224 | assert-plus "1.0.0"
225 | extsprintf "1.0.2"
226 | json-schema "0.2.3"
227 | verror "1.3.6"
228 |
229 | lodash@^4.13.1:
230 | version "4.17.4"
231 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
232 |
233 | log-symbols@^1.0.2:
234 | version "1.0.2"
235 | resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-1.0.2.tgz#376ff7b58ea3086a0f09facc74617eca501e1a18"
236 | dependencies:
237 | chalk "^1.0.0"
238 |
239 | mime-db@~1.26.0:
240 | version "1.26.0"
241 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.26.0.tgz#eaffcd0e4fc6935cf8134da246e2e6c35305adff"
242 |
243 | mime-types@^2.1.12, mime-types@~2.1.7:
244 | version "2.1.14"
245 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.14.tgz#f7ef7d97583fcaf3b7d282b6f8b5679dab1e94ee"
246 | dependencies:
247 | mime-db "~1.26.0"
248 |
249 | mimic-fn@^1.0.0:
250 | version "1.1.0"
251 | resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18"
252 |
253 | minimist@^1.2.0:
254 | version "1.2.0"
255 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
256 |
257 | oauth-sign@~0.8.1:
258 | version "0.8.2"
259 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43"
260 |
261 | onetime@^2.0.0:
262 | version "2.0.1"
263 | resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4"
264 | dependencies:
265 | mimic-fn "^1.0.0"
266 |
267 | open@^0.0.5:
268 | version "0.0.5"
269 | resolved "https://registry.yarnpkg.com/open/-/open-0.0.5.tgz#42c3e18ec95466b6bf0dc42f3a2945c3f0cad8fc"
270 |
271 | ora@^1.2.0:
272 | version "1.2.0"
273 | resolved "https://registry.yarnpkg.com/ora/-/ora-1.2.0.tgz#32fb3183500efe83f5ea89101785f0ee6060fec9"
274 | dependencies:
275 | chalk "^1.1.1"
276 | cli-cursor "^2.1.0"
277 | cli-spinners "^1.0.0"
278 | log-symbols "^1.0.2"
279 |
280 | performance-now@^0.2.0:
281 | version "0.2.0"
282 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5"
283 |
284 | punycode@^1.4.1:
285 | version "1.4.1"
286 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
287 |
288 | qs@~6.4.0:
289 | version "6.4.0"
290 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233"
291 |
292 | request-promise-core@1.1.1:
293 | version "1.1.1"
294 | resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.1.tgz#3eee00b2c5aa83239cfb04c5700da36f81cd08b6"
295 | dependencies:
296 | lodash "^4.13.1"
297 |
298 | request-promise@^4.1.1:
299 | version "4.1.1"
300 | resolved "https://registry.yarnpkg.com/request-promise/-/request-promise-4.1.1.tgz#26021e4f6f56fd4c309f6bf1ebd8c97a95ac1fb5"
301 | dependencies:
302 | bluebird "^3.4.1"
303 | request-promise-core "1.1.1"
304 | stealthy-require "^1.0.0"
305 |
306 | request@^2.81.0:
307 | version "2.81.0"
308 | resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0"
309 | dependencies:
310 | aws-sign2 "~0.6.0"
311 | aws4 "^1.2.1"
312 | caseless "~0.12.0"
313 | combined-stream "~1.0.5"
314 | extend "~3.0.0"
315 | forever-agent "~0.6.1"
316 | form-data "~2.1.1"
317 | har-validator "~4.2.1"
318 | hawk "~3.1.3"
319 | http-signature "~1.1.0"
320 | is-typedarray "~1.0.0"
321 | isstream "~0.1.2"
322 | json-stringify-safe "~5.0.1"
323 | mime-types "~2.1.7"
324 | oauth-sign "~0.8.1"
325 | performance-now "^0.2.0"
326 | qs "~6.4.0"
327 | safe-buffer "^5.0.1"
328 | stringstream "~0.0.4"
329 | tough-cookie "~2.3.0"
330 | tunnel-agent "^0.6.0"
331 | uuid "^3.0.0"
332 |
333 | restore-cursor@^2.0.0:
334 | version "2.0.0"
335 | resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf"
336 | dependencies:
337 | onetime "^2.0.0"
338 | signal-exit "^3.0.2"
339 |
340 | safe-buffer@^5.0.1:
341 | version "5.0.1"
342 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7"
343 |
344 | signal-exit@^3.0.2:
345 | version "3.0.2"
346 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d"
347 |
348 | sntp@1.x.x:
349 | version "1.0.9"
350 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198"
351 | dependencies:
352 | hoek "2.x.x"
353 |
354 | sshpk@^1.7.0:
355 | version "1.11.0"
356 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.11.0.tgz#2d8d5ebb4a6fab28ffba37fa62a90f4a3ea59d77"
357 | dependencies:
358 | asn1 "~0.2.3"
359 | assert-plus "^1.0.0"
360 | dashdash "^1.12.0"
361 | getpass "^0.1.1"
362 | optionalDependencies:
363 | bcrypt-pbkdf "^1.0.0"
364 | ecc-jsbn "~0.1.1"
365 | jodid25519 "^1.0.0"
366 | jsbn "~0.1.0"
367 | tweetnacl "~0.14.0"
368 |
369 | stealthy-require@^1.0.0:
370 | version "1.0.0"
371 | resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.0.0.tgz#1a8ed8fc19a8b56268f76f5a1a3e3832b0c26200"
372 |
373 | stringstream@~0.0.4:
374 | version "0.0.5"
375 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878"
376 |
377 | strip-ansi@^3.0.0:
378 | version "3.0.1"
379 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf"
380 | dependencies:
381 | ansi-regex "^2.0.0"
382 |
383 | supports-color@^2.0.0:
384 | version "2.0.0"
385 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
386 |
387 | tough-cookie@~2.3.0:
388 | version "2.3.2"
389 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a"
390 | dependencies:
391 | punycode "^1.4.1"
392 |
393 | tunnel-agent@^0.6.0:
394 | version "0.6.0"
395 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd"
396 | dependencies:
397 | safe-buffer "^5.0.1"
398 |
399 | tweetnacl@^0.14.3, tweetnacl@~0.14.0:
400 | version "0.14.5"
401 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64"
402 |
403 | uuid@^3.0.0:
404 | version "3.0.1"
405 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1"
406 |
407 | verror@1.3.6:
408 | version "1.3.6"
409 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c"
410 | dependencies:
411 | extsprintf "1.0.2"
412 |
--------------------------------------------------------------------------------