119 lines
7.2 KiB
JSON
119 lines
7.2 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "brace-expansion@^1.1.7",
|
||
|
"scope": null,
|
||
|
"escapedName": "brace-expansion",
|
||
|
"name": "brace-expansion",
|
||
|
"rawSpec": "^1.1.7",
|
||
|
"spec": ">=1.1.7 <2.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/minimatch"
|
||
|
]
|
||
|
],
|
||
|
"_from": "brace-expansion@>=1.1.7 <2.0.0",
|
||
|
"_id": "brace-expansion@1.1.11",
|
||
|
"_inCache": true,
|
||
|
"_location": "/brace-expansion",
|
||
|
"_nodeVersion": "9.0.0",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "s3://npm-registry-packages",
|
||
|
"tmp": "tmp/brace-expansion_1.1.11_1518248541320_0.33962849281003904"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "juliangruber",
|
||
|
"email": "julian@juliangruber.com"
|
||
|
},
|
||
|
"_npmVersion": "5.5.1",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "brace-expansion@^1.1.7",
|
||
|
"scope": null,
|
||
|
"escapedName": "brace-expansion",
|
||
|
"name": "brace-expansion",
|
||
|
"rawSpec": "^1.1.7",
|
||
|
"spec": ">=1.1.7 <2.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/minimatch"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
||
|
"_shasum": "3c7fcbf529d87226f3d2f52b966ff5271eb441dd",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "brace-expansion@^1.1.7",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/minimatch",
|
||
|
"author": {
|
||
|
"name": "Julian Gruber",
|
||
|
"email": "mail@juliangruber.com",
|
||
|
"url": "http://juliangruber.com"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/juliangruber/brace-expansion/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"balanced-match": "^1.0.0",
|
||
|
"concat-map": "0.0.1"
|
||
|
},
|
||
|
"description": "Brace expansion as known from sh/bash",
|
||
|
"devDependencies": {
|
||
|
"matcha": "^0.7.0",
|
||
|
"tape": "^4.6.0"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
||
|
"shasum": "3c7fcbf529d87226f3d2f52b966ff5271eb441dd",
|
||
|
"tarball": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
||
|
"fileCount": 4,
|
||
|
"unpackedSize": 11059
|
||
|
},
|
||
|
"gitHead": "01a21de7441549d26ac0c0a9ff91385d16e5c21c",
|
||
|
"homepage": "https://github.com/juliangruber/brace-expansion",
|
||
|
"keywords": [],
|
||
|
"license": "MIT",
|
||
|
"main": "index.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "isaacs",
|
||
|
"email": "isaacs@npmjs.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "juliangruber",
|
||
|
"email": "julian@juliangruber.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "brace-expansion",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# brace-expansion\n\n[Brace expansion](https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html), \nas known from sh/bash, in JavaScript.\n\n[![build status](https://secure.travis-ci.org/juliangruber/brace-expansion.svg)](http://travis-ci.org/juliangruber/brace-expansion)\n[![downloads](https://img.shields.io/npm/dm/brace-expansion.svg)](https://www.npmjs.org/package/brace-expansion)\n[![Greenkeeper badge](https://badges.greenkeeper.io/juliangruber/brace-expansion.svg)](https://greenkeeper.io/)\n\n[![testling badge](https://ci.testling.com/juliangruber/brace-expansion.png)](https://ci.testling.com/juliangruber/brace-expansion)\n\n## Example\n\n```js\nvar expand = require('brace-expansion');\n\nexpand('file-{a,b,c}.jpg')\n// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']\n\nexpand('-v{,,}')\n// => ['-v', '-v', '-v']\n\nexpand('file{0..2}.jpg')\n// => ['file0.jpg', 'file1.jpg', 'file2.jpg']\n\nexpand('file-{a..c}.jpg')\n// => ['file-a.jpg', 'file-b.jpg', 'file-c.jpg']\n\nexpand('file{2..0}.jpg')\n// => ['file2.jpg', 'file1.jpg', 'file0.jpg']\n\nexpand('file{0..4..2}.jpg')\n// => ['file0.jpg', 'file2.jpg', 'file4.jpg']\n\nexpand('file-{a..e..2}.jpg')\n// => ['file-a.jpg', 'file-c.jpg', 'file-e.jpg']\n\nexpand('file{00..10..5}.jpg')\n// => ['file00.jpg', 'file05.jpg', 'file10.jpg']\n\nexpand('{{A..C},{a..c}}')\n// => ['A', 'B', 'C', 'a', 'b', 'c']\n\nexpand('ppp{,config,oe{,conf}}')\n// => ['ppp', 'pppconfig', 'pppoe', 'pppoeconf']\n```\n\n## API\n\n```js\nvar expand = require('brace-expansion');\n```\n\n### var expanded = expand(str)\n\nReturn an array of all possible and valid expansions of `str`. If none are\nfound, `[str]` is returned.\n\nValid expansions are:\n\n```js\n/^(.*,)+(.+)?$/\n// {a,b,...}\n```\n\nA comma separated list of options, like `{a,b}` or `{a,{b,c}}` or `{,a,}`.\n\n```js\n/^-?\\d+\\.\\.-?\\d+(\\.\\.-?\\d+)?$/\n// {x..y[..incr]}\n```\n\nA numeric sequence from `x` to `y` inclusive, with optional increment.\nIf `x` or `y` start with a leading `0`, all the numbers will be padded\nto have equal length. Negative numbers and backwards iteration work too.\n\n```js\n/^-?\\d+\\.\\.-?\\d+(\\.\\.-?\\d+)?$/\n// {x..y[..incr]}\n```\n\nAn alphabetic sequence from `x` to `y` inclusive, with optional increment.\n`x` and `y` must be exactly one character, and if given, `incr` must be a\nnumber.\n\nFor compatibility reasons, the string `${` is not eligible for brace expansion.\n\n## Installation\n\nWith [npm](https://npmjs.org) do:\n\n```bash\nnpm install brace-expansion\n```\n\n## Contributors\n\n- [Julian Gruber](https://github.com/juliangruber)\n- [Isaac Z. Schlueter](https://github.com/isaacs)\n\n## Sponsors\n\nThis module is proudly supported by my [Sponsors](https://github.com/juliangruber/sponsors)!\n\nDo you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my [Patreon](https://www.patreon.com/juliangruber). Not sure how much of my modules you're using? Try [feross/thanks](https://github.com/feross/thanks)!\n\n## License\n\n(MIT)\n\nCopyright (c) 2013 Julian Gruber <julian@juliangruber.com>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies 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, T
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/juliangruber/brace-expansion.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"bench": "matcha test/perf/bench.js",
|
||
|
"gentest": "bash test/generate.sh",
|
||
|
"test": "tape test/*.js"
|
||
|
},
|
||
|
"testling": {
|
||
|
"files": "test/*.js",
|
||
|
"browsers": [
|
||
|
"ie/8..latest",
|
||
|
"firefox/20..latest",
|
||
|
"firefox/nightly",
|
||
|
"chrome/25..latest",
|
||
|
"chrome/canary",
|
||
|
"opera/12..latest",
|
||
|
"opera/next",
|
||
|
"safari/5.1..latest",
|
||
|
"ipad/6.0..latest",
|
||
|
"iphone/6.0..latest",
|
||
|
"android-browser/4.2..latest"
|
||
|
]
|
||
|
},
|
||
|
"version": "1.1.11"
|
||
|
}
|