@sproutsocial/seeds-color 1.5.3 → 1.5.4
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.
- package/.cache/yarn/v6/npm-ansi-regex-4.1.1-164daac87ab2d6f6db3a29875e2d1766582dabed-integrity/node_modules/ansi-regex/.yarn-metadata.json +76 -0
- package/.cache/yarn/v6/npm-ansi-regex-4.1.1-164daac87ab2d6f6db3a29875e2d1766582dabed-integrity/node_modules/ansi-regex/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/{npm-ansi-regex-4.1.0-8b9f8f08cf1acb843756a839ca8c7e3168c51997-integrity → npm-ansi-regex-4.1.1-164daac87ab2d6f6db3a29875e2d1766582dabed-integrity}/node_modules/ansi-regex/index.js +1 -1
- package/.cache/yarn/v6/{npm-ansi-regex-4.1.0-8b9f8f08cf1acb843756a839ca8c7e3168c51997-integrity → npm-ansi-regex-4.1.1-164daac87ab2d6f6db3a29875e2d1766582dabed-integrity}/node_modules/ansi-regex/license +0 -0
- package/.cache/yarn/v6/{npm-ansi-regex-4.1.0-8b9f8f08cf1acb843756a839ca8c7e3168c51997-integrity → npm-ansi-regex-4.1.1-164daac87ab2d6f6db3a29875e2d1766582dabed-integrity}/node_modules/ansi-regex/package.json +1 -1
- package/.cache/yarn/v6/{npm-ansi-regex-4.1.0-8b9f8f08cf1acb843756a839ca8c7e3168c51997-integrity → npm-ansi-regex-4.1.1-164daac87ab2d6f6db3a29875e2d1766582dabed-integrity}/node_modules/ansi-regex/readme.md +0 -0
- package/.cache/yarn/v6/npm-ansi-styles-3.2.1-41fbb20243e50b12be0f04b8dedbf07520ce841d-integrity/node_modules/ansi-styles/.yarn-metadata.json +79 -0
- package/.cache/yarn/v6/npm-ansi-styles-3.2.1-41fbb20243e50b12be0f04b8dedbf07520ce841d-integrity/node_modules/ansi-styles/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-camelcase-5.3.1-e3c9b31569e106811df242f715725a1f4c494320-integrity/node_modules/camelcase/.yarn-metadata.json +66 -0
- package/.cache/yarn/v6/npm-camelcase-5.3.1-e3c9b31569e106811df242f715725a1f4c494320-integrity/node_modules/camelcase/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-cliui-5.0.0-deefcfdb2e800784aa34f46fa08e06851c7bbbc5-integrity/node_modules/cliui/.yarn-metadata.json +90 -0
- package/.cache/yarn/v6/npm-cliui-5.0.0-deefcfdb2e800784aa34f46fa08e06851c7bbbc5-integrity/node_modules/cliui/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-color-convert-1.9.3-bb71850690e1f136567de629d2d5471deda4c1e8-integrity/node_modules/color-convert/.yarn-metadata.json +72 -0
- package/.cache/yarn/v6/npm-color-convert-1.9.3-bb71850690e1f136567de629d2d5471deda4c1e8-integrity/node_modules/color-convert/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-decamelize-1.2.0-f6534d15148269b20352e7bee26f501f9a191290-integrity/node_modules/decamelize/.yarn-metadata.json +61 -0
- package/.cache/yarn/v6/npm-decamelize-1.2.0-f6534d15148269b20352e7bee26f501f9a191290-integrity/node_modules/decamelize/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-emoji-regex-7.0.3-933a04052860c85e83c122479c4748a8e4c72156-integrity/node_modules/emoji-regex/.yarn-metadata.json +72 -0
- package/.cache/yarn/v6/npm-emoji-regex-7.0.3-933a04052860c85e83c122479c4748a8e4c72156-integrity/node_modules/emoji-regex/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-find-up-3.0.0-49169f1d7993430646da61ecc5ae355c21c97b73-integrity/node_modules/find-up/.yarn-metadata.json +73 -0
- package/.cache/yarn/v6/npm-find-up-3.0.0-49169f1d7993430646da61ecc5ae355c21c97b73-integrity/node_modules/find-up/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-get-caller-file-2.0.5-4f94412a82db32f36e3b0b9741f8a97feb031f7e-integrity/node_modules/get-caller-file/.yarn-metadata.json +61 -0
- package/.cache/yarn/v6/npm-get-caller-file-2.0.5-4f94412a82db32f36e3b0b9741f8a97feb031f7e-integrity/node_modules/get-caller-file/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-is-fullwidth-code-point-2.0.0-a3b30a5c4f199183167aaab93beefae3ddfb654f-integrity/node_modules/is-fullwidth-code-point/.yarn-metadata.json +68 -0
- package/.cache/yarn/v6/npm-is-fullwidth-code-point-2.0.0-a3b30a5c4f199183167aaab93beefae3ddfb654f-integrity/node_modules/is-fullwidth-code-point/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-locate-path-3.0.0-dbec3b3ab759758071b58fe59fc41871af21400e-integrity/node_modules/locate-path/.yarn-metadata.json +67 -0
- package/.cache/yarn/v6/npm-locate-path-3.0.0-dbec3b3ab759758071b58fe59fc41871af21400e-integrity/node_modules/locate-path/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-p-limit-2.3.0-3dd33c647a214fdfffd835933eb086da0dc21db1-integrity/node_modules/p-limit/.yarn-metadata.json +75 -0
- package/.cache/yarn/v6/npm-p-limit-2.3.0-3dd33c647a214fdfffd835933eb086da0dc21db1-integrity/node_modules/p-limit/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-p-locate-3.0.0-322d69a05c0264b25997d9f40cd8a891ab0064a4-integrity/node_modules/p-locate/.yarn-metadata.json +74 -0
- package/.cache/yarn/v6/npm-p-locate-3.0.0-322d69a05c0264b25997d9f40cd8a891ab0064a4-integrity/node_modules/p-locate/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-p-try-2.2.0-cb2868540e313d61de58fafbe35ce9004d5540e6-integrity/node_modules/p-try/.yarn-metadata.json +65 -0
- package/.cache/yarn/v6/npm-p-try-2.2.0-cb2868540e313d61de58fafbe35ce9004d5540e6-integrity/node_modules/p-try/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-path-exists-3.0.0-ce0ebeaa5f78cb18925ea7d810d7b59b010fd515-integrity/node_modules/path-exists/.yarn-metadata.json +63 -0
- package/.cache/yarn/v6/npm-path-exists-3.0.0-ce0ebeaa5f78cb18925ea7d810d7b59b010fd515-integrity/node_modules/path-exists/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-require-main-filename-2.0.0-d0b329ecc7cc0f61649f62215be69af54aa8989b-integrity/node_modules/require-main-filename/.yarn-metadata.json +58 -0
- package/.cache/yarn/v6/npm-require-main-filename-2.0.0-d0b329ecc7cc0f61649f62215be69af54aa8989b-integrity/node_modules/require-main-filename/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-safer-buffer-2.1.2-44fa161b0187b9549dd84bb91802f9bd8385cd6a-integrity/node_modules/safer-buffer/.yarn-metadata.json +54 -0
- package/.cache/yarn/v6/npm-safer-buffer-2.1.2-44fa161b0187b9549dd84bb91802f9bd8385cd6a-integrity/node_modules/safer-buffer/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-set-blocking-2.0.0-045f9782d011ae9a6803ddd382b24392b3d890f7-integrity/node_modules/set-blocking/.yarn-metadata.json +65 -0
- package/.cache/yarn/v6/npm-set-blocking-2.0.0-045f9782d011ae9a6803ddd382b24392b3d890f7-integrity/node_modules/set-blocking/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-string-width-3.1.0-22767be21b62af1081574306f69ac51b62203961-integrity/node_modules/string-width/.yarn-metadata.json +79 -0
- package/.cache/yarn/v6/npm-string-width-3.1.0-22767be21b62af1081574306f69ac51b62203961-integrity/node_modules/string-width/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-strip-ansi-5.2.0-8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae-integrity/node_modules/strip-ansi/.yarn-metadata.json +77 -0
- package/.cache/yarn/v6/npm-strip-ansi-5.2.0-8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae-integrity/node_modules/strip-ansi/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-which-module-2.0.0-d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a-integrity/node_modules/which-module/.yarn-metadata.json +63 -0
- package/.cache/yarn/v6/npm-which-module-2.0.0-d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a-integrity/node_modules/which-module/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-wrap-ansi-5.1.0-1fd1f67235d5b6d0fee781056001bfb694c03b09-integrity/node_modules/wrap-ansi/.yarn-metadata.json +84 -0
- package/.cache/yarn/v6/npm-wrap-ansi-5.1.0-1fd1f67235d5b6d0fee781056001bfb694c03b09-integrity/node_modules/wrap-ansi/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-y18n-4.0.3-b5f259c82cd6e336921efd7bfd8bf560de9eeedf-integrity/node_modules/y18n/.yarn-metadata.json +62 -0
- package/.cache/yarn/v6/npm-y18n-4.0.3-b5f259c82cd6e336921efd7bfd8bf560de9eeedf-integrity/node_modules/y18n/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-yargs-14.2.3-1a1c3edced1afb2a2fea33604bc6d1d8d688a414-integrity/node_modules/yargs/.yarn-metadata.json +99 -0
- package/.cache/yarn/v6/npm-yargs-14.2.3-1a1c3edced1afb2a2fea33604bc6d1d8d688a414-integrity/node_modules/yargs/.yarn-tarball.tgz +0 -0
- package/.cache/yarn/v6/npm-yargs-parser-15.0.1-54786af40b820dcb2fb8025b11b4d659d76323b3-integrity/node_modules/yargs-parser/.yarn-metadata.json +70 -0
- package/.cache/yarn/v6/npm-yargs-parser-15.0.1-54786af40b820dcb2fb8025b11b4d659d76323b3-integrity/node_modules/yargs-parser/.yarn-tarball.tgz +0 -0
- package/CHANGELOG.md +8 -0
- package/package.json +2 -2
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manifest": {
|
|
3
|
+
"name": "yargs",
|
|
4
|
+
"version": "14.2.3",
|
|
5
|
+
"description": "yargs the modern, pirate-themed, successor to optimist.",
|
|
6
|
+
"main": "./index.js",
|
|
7
|
+
"contributors": [
|
|
8
|
+
{
|
|
9
|
+
"name": "Yargs Contributors",
|
|
10
|
+
"url": "https://github.com/yargs/yargs/graphs/contributors"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"files": [
|
|
14
|
+
"index.js",
|
|
15
|
+
"yargs.js",
|
|
16
|
+
"lib",
|
|
17
|
+
"locales",
|
|
18
|
+
"completion.sh.hbs",
|
|
19
|
+
"completion.zsh.hbs",
|
|
20
|
+
"LICENSE"
|
|
21
|
+
],
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"cliui": "^5.0.0",
|
|
24
|
+
"decamelize": "^1.2.0",
|
|
25
|
+
"find-up": "^3.0.0",
|
|
26
|
+
"get-caller-file": "^2.0.1",
|
|
27
|
+
"require-directory": "^2.1.1",
|
|
28
|
+
"require-main-filename": "^2.0.0",
|
|
29
|
+
"set-blocking": "^2.0.0",
|
|
30
|
+
"string-width": "^3.0.0",
|
|
31
|
+
"which-module": "^2.0.0",
|
|
32
|
+
"y18n": "^4.0.0",
|
|
33
|
+
"yargs-parser": "^15.0.1"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"chai": "^4.2.0",
|
|
37
|
+
"chalk": "^2.4.2",
|
|
38
|
+
"coveralls": "^3.0.3",
|
|
39
|
+
"cpr": "^3.0.1",
|
|
40
|
+
"cross-spawn": "^6.0.4",
|
|
41
|
+
"es6-promise": "^4.2.5",
|
|
42
|
+
"hashish": "0.0.4",
|
|
43
|
+
"mocha": "^5.2.0",
|
|
44
|
+
"nyc": "^14.1.0",
|
|
45
|
+
"rimraf": "^2.6.3",
|
|
46
|
+
"standard": "^12.0.1",
|
|
47
|
+
"standard-version": "^7.0.0",
|
|
48
|
+
"which": "^1.3.1",
|
|
49
|
+
"yargs-test-extends": "^1.0.1"
|
|
50
|
+
},
|
|
51
|
+
"scripts": {
|
|
52
|
+
"pretest": "standard",
|
|
53
|
+
"test": "nyc --cache mocha --require ./test/before.js --timeout=12000 --check-leaks",
|
|
54
|
+
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
55
|
+
"release": "standard-version"
|
|
56
|
+
},
|
|
57
|
+
"repository": {
|
|
58
|
+
"type": "git",
|
|
59
|
+
"url": "https://github.com/yargs/yargs.git"
|
|
60
|
+
},
|
|
61
|
+
"homepage": "https://yargs.js.org/",
|
|
62
|
+
"standard": {
|
|
63
|
+
"ignore": [
|
|
64
|
+
"**/example/**"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"keywords": [
|
|
68
|
+
"argument",
|
|
69
|
+
"args",
|
|
70
|
+
"option",
|
|
71
|
+
"parser",
|
|
72
|
+
"parsing",
|
|
73
|
+
"cli",
|
|
74
|
+
"command"
|
|
75
|
+
],
|
|
76
|
+
"license": "MIT",
|
|
77
|
+
"engine": {
|
|
78
|
+
"node": ">=6"
|
|
79
|
+
},
|
|
80
|
+
"_registry": "npm",
|
|
81
|
+
"_loc": ".cache/yarn/v6/npm-yargs-14.2.3-1a1c3edced1afb2a2fea33604bc6d1d8d688a414-integrity/node_modules/yargs/package.json",
|
|
82
|
+
"readmeFilename": "README.md",
|
|
83
|
+
"readme": "<p align=\"center\">\n <img width=\"250\" src=\"/yargs-logo.png\">\n</p>\n<h1 align=\"center\"> Yargs </h1>\n<p align=\"center\">\n <b >Yargs be a node.js library fer hearties tryin' ter parse optstrings</b>\n</p>\n\n<br>\n\n[![Build Status][travis-image]][travis-url]\n[![Coverage Status][coveralls-image]][coveralls-url]\n[![NPM version][npm-image]][npm-url]\n[![js-standard-style][standard-image]][standard-url]\n[![Conventional Commits][conventional-commits-image]][conventional-commits-url]\n[![Slack][slack-image]][slack-url]\n\n## Description :\nYargs helps you build interactive command line tools, by parsing arguments and generating an elegant user interface.\n\nIt gives you:\n\n* commands and (grouped) options (`my-program.js serve --port=5000`).\n* a dynamically generated help menu based on your arguments.\n\n> <img width=\"400\" src=\"/screen.png\">\n\n* bash-completion shortcuts for commands and options.\n* and [tons more](/docs/api.md).\n\n## Installation\n\nStable version:\n```bash\nnpm i yargs\n```\n\nBleeding edge version with the most recent features:\n```bash\nnpm i yargs@next\n```\n\n## Usage :\n\n### Simple Example\n\n````javascript\n#!/usr/bin/env node\nconst argv = require('yargs').argv\n\nif (argv.ships > 3 && argv.distance < 53.5) {\n console.log('Plunder more riffiwobbles!')\n} else {\n console.log('Retreat from the xupptumblers!')\n}\n````\n\n```bash\n$ ./plunder.js --ships=4 --distance=22\nPlunder more riffiwobbles!\n\n$ ./plunder.js --ships 12 --distance 98.7\nRetreat from the xupptumblers!\n```\n\n### Complex Example\n\n```javascript\n#!/usr/bin/env node\nrequire('yargs') // eslint-disable-line\n .command('serve [port]', 'start the server', (yargs) => {\n yargs\n .positional('port', {\n describe: 'port to bind on',\n default: 5000\n })\n }, (argv) => {\n if (argv.verbose) console.info(`start server on :${argv.port}`)\n serve(argv.port)\n })\n .option('verbose', {\n alias: 'v',\n type: 'boolean',\n description: 'Run with verbose logging'\n })\n .argv\n```\n\nRun the example above with `--help` to see the help for the application.\n\n## TypeScript\n\nyargs has type definitions at [@types/yargs][type-definitions].\n\n```\nnpm i @types/yargs --save-dev\n```\n\nSee usage examples in [docs](/docs/typescript.md).\n\n## Community :\n\nHaving problems? want to contribute? join our [community slack](http://devtoolscommunity.herokuapp.com).\n\n## Documentation :\n\n### Table of Contents\n\n* [Yargs' API](/docs/api.md)\n* [Examples](/docs/examples.md)\n* [Parsing Tricks](/docs/tricks.md)\n * [Stop the Parser](/docs/tricks.md#stop)\n * [Negating Boolean Arguments](/docs/tricks.md#negate)\n * [Numbers](/docs/tricks.md#numbers)\n * [Arrays](/docs/tricks.md#arrays)\n * [Objects](/docs/tricks.md#objects)\n * [Quotes](/docs/tricks.md#quotes)\n* [Advanced Topics](/docs/advanced.md)\n * [Composing Your App Using Commands](/docs/advanced.md#commands)\n * [Building Configurable CLI Apps](/docs/advanced.md#configuration)\n * [Customizing Yargs' Parser](/docs/advanced.md#customizing)\n* [Contributing](/contributing.md)\n\n[travis-url]: https://travis-ci.org/yargs/yargs\n[travis-image]: https://img.shields.io/travis/yargs/yargs/master.svg\n[coveralls-url]: https://coveralls.io/github/yargs/yargs\n[coveralls-image]: https://img.shields.io/coveralls/yargs/yargs.svg\n[npm-url]: https://www.npmjs.com/package/yargs\n[npm-image]: https://img.shields.io/npm/v/yargs.svg\n[standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg\n[standard-url]: http://standardjs.com/\n[conventional-commits-image]: https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg\n[conventional-commits-url]: https://conventionalcommits.org/\n[slack-image]: http://devtoolscommunity.herokuapp.com/badge.svg\n[slack-url]: http://devtoolscommunity.herokuapp.com\n[type-definitions]: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yargs\n",
|
|
84
|
+
"licenseText": "Copyright 2010 James Halliday (mail@substack.net)\nModified work Copyright 2014 Contributors (ben@npmjs.com)\n\nThis project is free software released under the MIT/X11 license:\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n"
|
|
85
|
+
},
|
|
86
|
+
"artifacts": [],
|
|
87
|
+
"remote": {
|
|
88
|
+
"resolved": "https://registry.yarnpkg.com/yargs/-/yargs-14.2.3.tgz#1a1c3edced1afb2a2fea33604bc6d1d8d688a414",
|
|
89
|
+
"type": "tarball",
|
|
90
|
+
"reference": "https://registry.yarnpkg.com/yargs/-/yargs-14.2.3.tgz",
|
|
91
|
+
"hash": "1a1c3edced1afb2a2fea33604bc6d1d8d688a414",
|
|
92
|
+
"integrity": "sha512-ZbotRWhF+lkjijC/VhmOT9wSgyBQ7+zr13+YLkhfsSiTriYsMzkTUFP18pFhWwBeMa5gUc1MzbhrO6/VB7c9Xg==",
|
|
93
|
+
"registry": "npm",
|
|
94
|
+
"packageName": "yargs",
|
|
95
|
+
"cacheIntegrity": "sha512-ZbotRWhF+lkjijC/VhmOT9wSgyBQ7+zr13+YLkhfsSiTriYsMzkTUFP18pFhWwBeMa5gUc1MzbhrO6/VB7c9Xg== sha1-Ghw+3O0a+yov6jNgS8bR2NaIpBQ="
|
|
96
|
+
},
|
|
97
|
+
"registry": "npm",
|
|
98
|
+
"hash": "1a1c3edced1afb2a2fea33604bc6d1d8d688a414"
|
|
99
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"manifest": {
|
|
3
|
+
"name": "yargs-parser",
|
|
4
|
+
"version": "15.0.1",
|
|
5
|
+
"description": "the mighty option parser used by yargs",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "nyc mocha test/*.js",
|
|
9
|
+
"posttest": "standard",
|
|
10
|
+
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
|
11
|
+
"release": "standard-version"
|
|
12
|
+
},
|
|
13
|
+
"repository": {
|
|
14
|
+
"url": "git@github.com:yargs/yargs-parser.git"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"argument",
|
|
18
|
+
"parser",
|
|
19
|
+
"yargs",
|
|
20
|
+
"command",
|
|
21
|
+
"cli",
|
|
22
|
+
"parsing",
|
|
23
|
+
"option",
|
|
24
|
+
"args",
|
|
25
|
+
"argument"
|
|
26
|
+
],
|
|
27
|
+
"author": {
|
|
28
|
+
"name": "Ben Coe",
|
|
29
|
+
"email": "ben@npmjs.com"
|
|
30
|
+
},
|
|
31
|
+
"license": "ISC",
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"chai": "^4.2.0",
|
|
34
|
+
"coveralls": "^3.0.2",
|
|
35
|
+
"mocha": "^5.2.0",
|
|
36
|
+
"nyc": "^14.1.0",
|
|
37
|
+
"standard": "^12.0.1",
|
|
38
|
+
"standard-version": "^6.0.0"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"camelcase": "^5.0.0",
|
|
42
|
+
"decamelize": "^1.2.0"
|
|
43
|
+
},
|
|
44
|
+
"files": [
|
|
45
|
+
"lib",
|
|
46
|
+
"index.js"
|
|
47
|
+
],
|
|
48
|
+
"engine": {
|
|
49
|
+
"node": ">=6"
|
|
50
|
+
},
|
|
51
|
+
"_registry": "npm",
|
|
52
|
+
"_loc": ".cache/yarn/v6/npm-yargs-parser-15.0.1-54786af40b820dcb2fb8025b11b4d659d76323b3-integrity/node_modules/yargs-parser/package.json",
|
|
53
|
+
"readmeFilename": "README.md",
|
|
54
|
+
"readme": "# yargs-parser\n\n[](https://travis-ci.org/yargs/yargs-parser)\n[](https://coveralls.io/r/yargs/yargs-parser?branch=master)\n[](https://www.npmjs.com/package/yargs-parser)\n[](https://github.com/conventional-changelog/standard-version)\n\n\nThe mighty option parser used by [yargs](https://github.com/yargs/yargs).\n\nvisit the [yargs website](http://yargs.js.org/) for more examples, and thorough usage instructions.\n\n<img width=\"250\" src=\"https://raw.githubusercontent.com/yargs/yargs-parser/master/yargs-logo.png\">\n\n## Example\n\n```sh\nnpm i yargs-parser --save\n```\n\n```js\nvar argv = require('yargs-parser')(process.argv.slice(2))\nconsole.log(argv)\n```\n\n```sh\nnode example.js --foo=33 --bar hello\n{ _: [], foo: 33, bar: 'hello' }\n```\n\n_or parse a string!_\n\n```js\nvar argv = require('yargs-parser')('--foo=99 --bar=33')\nconsole.log(argv)\n```\n\n```sh\n{ _: [], foo: 99, bar: 33 }\n```\n\nConvert an array of mixed types before passing to `yargs-parser`:\n\n```js\nvar parse = require('yargs-parser')\nparse(['-f', 11, '--zoom', 55].join(' ')) // <-- array to string\nparse(['-f', 11, '--zoom', 55].map(String)) // <-- array of strings\n```\n\n## API\n\n### require('yargs-parser')(args, opts={})\n\nParses command line arguments returning a simple mapping of keys and values.\n\n**expects:**\n\n* `args`: a string or array of strings representing the options to parse.\n* `opts`: provide a set of hints indicating how `args` should be parsed:\n * `opts.alias`: an object representing the set of aliases for a key: `{alias: {foo: ['f']}}`.\n * `opts.array`: indicate that keys should be parsed as an array: `{array: ['foo', 'bar']}`.<br>\n Indicate that keys should be parsed as an array and coerced to booleans / numbers:<br>\n `{array: [{ key: 'foo', boolean: true }, {key: 'bar', number: true}]}`.\n * `opts.boolean`: arguments should be parsed as booleans: `{boolean: ['x', 'y']}`.\n * `opts.coerce`: provide a custom synchronous function that returns a coerced value from the argument provided\n (or throws an error). For arrays the function is called only once for the entire array:<br>\n `{coerce: {foo: function (arg) {return modifiedArg}}}`.\n * `opts.config`: indicate a key that represents a path to a configuration file (this file will be loaded and parsed).\n * `opts.configObjects`: configuration objects to parse, their properties will be set as arguments:<br>\n `{configObjects: [{'x': 5, 'y': 33}, {'z': 44}]}`.\n * `opts.configuration`: provide configuration options to the yargs-parser (see: [configuration](#configuration)).\n * `opts.count`: indicate a key that should be used as a counter, e.g., `-vvv` = `{v: 3}`.\n * `opts.default`: provide default values for keys: `{default: {x: 33, y: 'hello world!'}}`.\n * `opts.envPrefix`: environment variables (`process.env`) with the prefix provided should be parsed.\n * `opts.narg`: specify that a key requires `n` arguments: `{narg: {x: 2}}`.\n * `opts.normalize`: `path.normalize()` will be applied to values set to this key.\n * `opts.number`: keys should be treated as numbers.\n * `opts.string`: keys should be treated as strings (even if they resemble a number `-x 33`).\n\n**returns:**\n\n* `obj`: an object representing the parsed value of `args`\n * `key/value`: key value pairs for each argument and their aliases.\n * `_`: an array representing the positional arguments.\n * [optional] `--`: an array with arguments after the end-of-options flag `--`.\n\n### require('yargs-parser').detailed(args, opts={})\n\nParses a command line string, returning detailed information required by the\nyargs engine.\n\n**expects:**\n\n* `args`: a string or array of strings representing options to parse.\n* `opts`: provide a set of hints indicating how `args`, inputs are identical to `require('yargs-parser')(args, opts={})`.\n\n**returns:**\n\n* `argv`: an object representing the parsed value of `args`\n * `key/value`: key value pairs for each argument and their aliases.\n * `_`: an array representing the positional arguments.\n* `error`: populated with an error object if an exception occurred during parsing.\n* `aliases`: the inferred list of aliases built by combining lists in `opts.alias`.\n* `newAliases`: any new aliases added via camel-case expansion.\n* `configuration`: the configuration loaded from the `yargs` stanza in package.json.\n\n<a name=\"configuration\"></a>\n\n### Configuration\n\nThe yargs-parser applies several automated transformations on the keys provided\nin `args`. These features can be turned on and off using the `configuration` field\nof `opts`.\n\n```js\nvar parsed = parser(['--no-dice'], {\n configuration: {\n 'boolean-negation': false\n }\n})\n```\n\n### short option groups\n\n* default: `true`.\n* key: `short-option-groups`.\n\nShould a group of short-options be treated as boolean flags?\n\n```sh\nnode example.js -abc\n{ _: [], a: true, b: true, c: true }\n```\n\n_if disabled:_\n\n```sh\nnode example.js -abc\n{ _: [], abc: true }\n```\n\n### camel-case expansion\n\n* default: `true`.\n* key: `camel-case-expansion`.\n\nShould hyphenated arguments be expanded into camel-case aliases?\n\n```sh\nnode example.js --foo-bar\n{ _: [], 'foo-bar': true, fooBar: true }\n```\n\n_if disabled:_\n\n```sh\nnode example.js --foo-bar\n{ _: [], 'foo-bar': true }\n```\n\n### dot-notation\n\n* default: `true`\n* key: `dot-notation`\n\nShould keys that contain `.` be treated as objects?\n\n```sh\nnode example.js --foo.bar\n{ _: [], foo: { bar: true } }\n```\n\n_if disabled:_\n\n```sh\nnode example.js --foo.bar\n{ _: [], \"foo.bar\": true }\n```\n\n### parse numbers\n\n* default: `true`\n* key: `parse-numbers`\n\nShould keys that look like numbers be treated as such?\n\n```sh\nnode example.js --foo=99.3\n{ _: [], foo: 99.3 }\n```\n\n_if disabled:_\n\n```sh\nnode example.js --foo=99.3\n{ _: [], foo: \"99.3\" }\n```\n\n### boolean negation\n\n* default: `true`\n* key: `boolean-negation`\n\nShould variables prefixed with `--no` be treated as negations?\n\n```sh\nnode example.js --no-foo\n{ _: [], foo: false }\n```\n\n_if disabled:_\n\n```sh\nnode example.js --no-foo\n{ _: [], \"no-foo\": true }\n```\n\n### combine arrays\n\n* default: `false`\n* key: `combine-arrays`\n\nShould arrays be combined when provided by both command line arguments and\na configuration file.\n\n### duplicate arguments array\n\n* default: `true`\n* key: `duplicate-arguments-array`\n\nShould arguments be coerced into an array when duplicated:\n\n```sh\nnode example.js -x 1 -x 2\n{ _: [], x: [1, 2] }\n```\n\n_if disabled:_\n\n```sh\nnode example.js -x 1 -x 2\n{ _: [], x: 2 }\n```\n\n### flatten duplicate arrays\n\n* default: `true`\n* key: `flatten-duplicate-arrays`\n\nShould array arguments be coerced into a single array when duplicated:\n\n```sh\nnode example.js -x 1 2 -x 3 4\n{ _: [], x: [1, 2, 3, 4] }\n```\n\n_if disabled:_\n\n```sh\nnode example.js -x 1 2 -x 3 4\n{ _: [], x: [[1, 2], [3, 4]] }\n```\n\n### negation prefix\n\n* default: `no-`\n* key: `negation-prefix`\n\nThe prefix to use for negated boolean variables.\n\n```sh\nnode example.js --no-foo\n{ _: [], foo: false }\n```\n\n_if set to `quux`:_\n\n```sh\nnode example.js --quuxfoo\n{ _: [], foo: false }\n```\n\n### populate --\n\n* default: `false`.\n* key: `populate--`\n\nShould unparsed flags be stored in `--` or `_`.\n\n_If disabled:_\n\n```sh\nnode example.js a -b -- x y\n{ _: [ 'a', 'x', 'y' ], b: true }\n```\n\n_If enabled:_\n\n```sh\nnode example.js a -b -- x y\n{ _: [ 'a' ], '--': [ 'x', 'y' ], b: true }\n```\n\n### set placeholder key\n\n* default: `false`.\n* key: `set-placeholder-key`.\n\nShould a placeholder be added for keys not set via the corresponding CLI argument?\n\n_If disabled:_\n\n```sh\nnode example.js -a 1 -c 2\n{ _: [], a: 1, c: 2 }\n```\n\n_If enabled:_\n\n```sh\nnode example.js -a 1 -c 2\n{ _: [], a: 1, b: undefined, c: 2 }\n```\n\n### halt at non-option\n\n* default: `false`.\n* key: `halt-at-non-option`.\n\nShould parsing stop at the first positional argument? This is similar to how e.g. `ssh` parses its command line.\n\n_If disabled:_\n\n```sh\nnode example.js -a run b -x y\n{ _: [ 'b' ], a: 'run', x: 'y' }\n```\n\n_If enabled:_\n\n```sh\nnode example.js -a run b -x y\n{ _: [ 'b', '-x', 'y' ], a: 'run' }\n```\n\n### strip aliased\n\n* default: `false`\n* key: `strip-aliased`\n\nShould aliases be removed before returning results?\n\n_If disabled:_\n\n```sh\nnode example.js --test-field 1\n{ _: [], 'test-field': 1, testField: 1, 'test-alias': 1, testAlias: 1 }\n```\n\n_If enabled:_\n\n```sh\nnode example.js --test-field 1\n{ _: [], 'test-field': 1, testField: 1 }\n```\n\n### strip dashed\n\n* default: `false`\n* key: `strip-dashed`\n\nShould dashed keys be removed before returning results? This option has no effect if\n`camel-case-expansion` is disabled.\n\n_If disabled:_\n\n```sh\nnode example.js --test-field 1\n{ _: [], 'test-field': 1, testField: 1 }\n```\n\n_If enabled:_\n\n```sh\nnode example.js --test-field 1\n{ _: [], testField: 1 }\n```\n\n### unknown options as args\n\n* default: `false`\n* key: `unknown-options-as-args`\n\nShould unknown options be treated like regular arguments? An unknown option is one that is not\nconfigured in `opts`.\n\n_If disabled_\n\n```sh\nnode example.js --unknown-option --known-option 2 --string-option --unknown-option2\n{ _: [], unknownOption: true, knownOption: 2, stringOption: '', unknownOption2: true }\n```\n\n_If enabled_\n\n```sh\nnode example.js --unknown-option --known-option 2 --string-option --unknown-option2\n{ _: ['--unknown-option'], knownOption: 2, stringOption: '--unknown-option2' }\n```\n\n## Special Thanks\n\nThe yargs project evolves from optimist and minimist. It owes its\nexistence to a lot of James Halliday's hard work. Thanks [substack](https://github.com/substack) **beep** **boop** \\o/\n\n## License\n\nISC\n",
|
|
55
|
+
"licenseText": "Copyright (c) 2016, Contributors\n\nPermission to use, copy, modify, and/or distribute this software\nfor any purpose with or without fee is hereby granted, provided\nthat the above copyright notice and this permission notice\nappear in all copies.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\nWITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES\nOF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE\nLIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES\nOR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,\nWHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,\nARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n"
|
|
56
|
+
},
|
|
57
|
+
"artifacts": [],
|
|
58
|
+
"remote": {
|
|
59
|
+
"resolved": "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-15.0.1.tgz#54786af40b820dcb2fb8025b11b4d659d76323b3",
|
|
60
|
+
"type": "tarball",
|
|
61
|
+
"reference": "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-15.0.1.tgz",
|
|
62
|
+
"hash": "54786af40b820dcb2fb8025b11b4d659d76323b3",
|
|
63
|
+
"integrity": "sha512-0OAMV2mAZQrs3FkNpDQcBk1x5HXb8X4twADss4S0Iuk+2dGnLOE/fRHrsYm542GduMveyA77OF4wrNJuanRCWw==",
|
|
64
|
+
"registry": "npm",
|
|
65
|
+
"packageName": "yargs-parser",
|
|
66
|
+
"cacheIntegrity": "sha512-0OAMV2mAZQrs3FkNpDQcBk1x5HXb8X4twADss4S0Iuk+2dGnLOE/fRHrsYm542GduMveyA77OF4wrNJuanRCWw== sha1-VHhq9AuCDcsvuAJbEbTWWddjI7M="
|
|
67
|
+
},
|
|
68
|
+
"registry": "npm",
|
|
69
|
+
"hash": "54786af40b820dcb2fb8025b11b4d659d76323b3"
|
|
70
|
+
}
|
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.5.4](https://github.com/sproutsocial/seeds-packets/compare/@sproutsocial/seeds-color@1.5.3...@sproutsocial/seeds-color@1.5.4) (2022-04-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @sproutsocial/seeds-color
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [1.5.3](https://github.com/sproutsocial/seeds-packets/compare/@sproutsocial/seeds-color@1.5.2...@sproutsocial/seeds-color@1.5.3) (2021-05-12)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @sproutsocial/seeds-color
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/seeds-color",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.4",
|
|
4
4
|
"description": "Seeds Color Tokens",
|
|
5
5
|
"main": "dist/seeds-color.js",
|
|
6
6
|
"repository": {
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"@sproutsocial/seeds-utils": "^1.2.1",
|
|
17
17
|
"ase-util": "^1.0.1"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "41d0add9276715046094eb5bd1763a783e447a9f"
|
|
20
20
|
}
|