aboutsummaryrefslogtreecommitdiff
path: root/node_modules/is-posix-bracket
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-10-10 03:43:44 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-10-10 03:43:44 +0200
commitabd94a7f5a50f43c797a11b53549ae48fff667c3 (patch)
treeab8ed457f65cdd72e13e0571d2975729428f1551 /node_modules/is-posix-bracket
parenta0247c6a3fd6a09a41a7e35a3441324c4dcb58be (diff)
add node_modules to address #4364
Diffstat (limited to 'node_modules/is-posix-bracket')
-rw-r--r--node_modules/is-posix-bracket/LICENSE21
-rw-r--r--node_modules/is-posix-bracket/README.md88
-rw-r--r--node_modules/is-posix-bracket/index.js10
-rw-r--r--node_modules/is-posix-bracket/package.json131
4 files changed, 250 insertions, 0 deletions
diff --git a/node_modules/is-posix-bracket/LICENSE b/node_modules/is-posix-bracket/LICENSE
new file mode 100644
index 000000000..1e49edf81
--- /dev/null
+++ b/node_modules/is-posix-bracket/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015-2016, Jon Schlinkert.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/node_modules/is-posix-bracket/README.md b/node_modules/is-posix-bracket/README.md
new file mode 100644
index 000000000..1d06a4d9e
--- /dev/null
+++ b/node_modules/is-posix-bracket/README.md
@@ -0,0 +1,88 @@
+# is-posix-bracket [![NPM version](https://img.shields.io/npm/v/is-posix-bracket.svg?style=flat)](https://www.npmjs.com/package/is-posix-bracket) [![NPM downloads](https://img.shields.io/npm/dm/is-posix-bracket.svg?style=flat)](https://npmjs.org/package/is-posix-bracket) [![Build Status](https://img.shields.io/travis/jonschlinkert/is-posix-bracket.svg?style=flat)](https://travis-ci.org/jonschlinkert/is-posix-bracket)
+
+> Returns true if the given string is a POSIX bracket expression (POSIX character class).
+
+## Install
+
+Install with [npm](https://www.npmjs.com/):
+
+```sh
+$ npm install is-posix-bracket --save
+```
+
+## Usage
+
+```js
+var isPosixBracket = require('is-posix-bracket');
+
+isPosixBracket('[foo:]]');
+//=> false
+isPosixBracket('[xdigit:]]');
+//=> false
+isPosixBracket('[[:xdigit:]]');
+//=> true
+isPosixBracket('[[:xdigit:]]');
+//=> true
+isPosixBracket('[[:alpha:]123]');
+//=> true
+isPosixBracket('[[:alpha:]123]');
+//=> true
+isPosixBracket('[a-c[:digit:]x-z]');
+//=> true
+isPosixBracket('[:al:]');
+//=> true
+isPosixBracket('[abc[:punct:][0-9]');
+//=> true
+```
+
+## Related projects
+
+You might also be interested in these projects:
+
+* [braces](https://www.npmjs.com/package/braces): Fastest brace expansion for node.js, with the most complete support for the Bash 4.3 braces… [more](https://www.npmjs.com/package/braces) | [homepage](https://github.com/jonschlinkert/braces)
+* [expand-brackets](https://www.npmjs.com/package/expand-brackets): Expand POSIX bracket expressions (character classes) in glob patterns. | [homepage](https://github.com/jonschlinkert/expand-brackets)
+* [is-extglob](https://www.npmjs.com/package/is-extglob): Returns true if a string has an extglob. | [homepage](https://github.com/jonschlinkert/is-extglob)
+* [is-glob](https://www.npmjs.com/package/is-glob): Returns `true` if the given string looks like a glob pattern or an extglob pattern.… [more](https://www.npmjs.com/package/is-glob) | [homepage](https://github.com/jonschlinkert/is-glob)
+* [micromatch](https://www.npmjs.com/package/micromatch): Glob matching for javascript/node.js. A drop-in replacement and faster alternative to minimatch and multimatch. Just… [more](https://www.npmjs.com/package/micromatch) | [homepage](https://github.com/jonschlinkert/micromatch)
+
+## Contributing
+
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/is-posix-bracket/issues/new).
+
+## Building docs
+
+Generate readme and API documentation with [verb](https://github.com/verbose/verb):
+
+```sh
+$ npm install verb && npm run docs
+```
+
+Or, if [verb](https://github.com/verbose/verb) is installed globally:
+
+```sh
+$ verb
+```
+
+## Running tests
+
+Install dev dependencies:
+
+```sh
+$ npm install -d && npm test
+```
+
+## Author
+
+**Jon Schlinkert**
+
+* [github/jonschlinkert](https://github.com/jonschlinkert)
+* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+
+## License
+
+Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT license](https://github.com/jonschlinkert/is-posix-bracket/blob/master/LICENSE).
+
+***
+
+_This file was generated by [verb](https://github.com/verbose/verb), v, on April 05, 2016._ \ No newline at end of file
diff --git a/node_modules/is-posix-bracket/index.js b/node_modules/is-posix-bracket/index.js
new file mode 100644
index 000000000..7cf1de55b
--- /dev/null
+++ b/node_modules/is-posix-bracket/index.js
@@ -0,0 +1,10 @@
+/*!
+ * is-posix-bracket <https://github.com/jonschlinkert/is-posix-bracket>
+ *
+ * Copyright (c) 2015-2016, Jon Schlinkert.
+ * Licensed under the MIT License.
+ */
+
+module.exports = function isPosixBracket(str) {
+ return typeof str === 'string' && /\[([:.=+])(?:[^\[\]]|)+\1\]/.test(str);
+};
diff --git a/node_modules/is-posix-bracket/package.json b/node_modules/is-posix-bracket/package.json
new file mode 100644
index 000000000..2dac15a3d
--- /dev/null
+++ b/node_modules/is-posix-bracket/package.json
@@ -0,0 +1,131 @@
+{
+ "_args": [
+ [
+ {
+ "raw": "is-posix-bracket@^0.1.0",
+ "scope": null,
+ "escapedName": "is-posix-bracket",
+ "name": "is-posix-bracket",
+ "rawSpec": "^0.1.0",
+ "spec": ">=0.1.0 <0.2.0",
+ "type": "range"
+ },
+ "/home/dold/repos/taler/wallet-webex/node_modules/expand-brackets"
+ ]
+ ],
+ "_from": "is-posix-bracket@>=0.1.0 <0.2.0",
+ "_id": "is-posix-bracket@0.1.1",
+ "_inCache": true,
+ "_location": "/is-posix-bracket",
+ "_nodeVersion": "5.5.0",
+ "_npmOperationalInternal": {
+ "host": "packages-12-west.internal.npmjs.com",
+ "tmp": "tmp/is-posix-bracket-0.1.1.tgz_1459834297811_0.5273812564555556"
+ },
+ "_npmUser": {
+ "name": "jonschlinkert",
+ "email": "github@sellside.com"
+ },
+ "_npmVersion": "3.6.0",
+ "_phantomChildren": {},
+ "_requested": {
+ "raw": "is-posix-bracket@^0.1.0",
+ "scope": null,
+ "escapedName": "is-posix-bracket",
+ "name": "is-posix-bracket",
+ "rawSpec": "^0.1.0",
+ "spec": ">=0.1.0 <0.2.0",
+ "type": "range"
+ },
+ "_requiredBy": [
+ "/expand-brackets"
+ ],
+ "_resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz",
+ "_shasum": "3334dc79774368e92f016e6fbc0a88f5cd6e6bc4",
+ "_shrinkwrap": null,
+ "_spec": "is-posix-bracket@^0.1.0",
+ "_where": "/home/dold/repos/taler/wallet-webex/node_modules/expand-brackets",
+ "author": {
+ "name": "Jon Schlinkert",
+ "url": "https://github.com/jonschlinkert"
+ },
+ "bugs": {
+ "url": "https://github.com/jonschlinkert/is-posix-bracket/issues"
+ },
+ "dependencies": {},
+ "description": "Returns true if the given string is a POSIX bracket expression (POSIX character class).",
+ "devDependencies": {
+ "gulp-format-md": "^0.1.7",
+ "mocha": "^2.4.5"
+ },
+ "directories": {},
+ "dist": {
+ "shasum": "3334dc79774368e92f016e6fbc0a88f5cd6e6bc4",
+ "tarball": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ },
+ "files": [
+ "index.js"
+ ],
+ "gitHead": "43972556cfdbb681a15072da75c97952c4e4deba",
+ "homepage": "https://github.com/jonschlinkert/is-posix-bracket",
+ "keywords": [
+ "braces",
+ "brackets",
+ "character",
+ "character-class",
+ "class",
+ "expression",
+ "posix",
+ "regex",
+ "regexp",
+ "regular"
+ ],
+ "license": "MIT",
+ "main": "index.js",
+ "maintainers": [
+ {
+ "name": "jonschlinkert",
+ "email": "github@sellside.com"
+ }
+ ],
+ "name": "is-posix-bracket",
+ "optionalDependencies": {},
+ "readme": "ERROR: No README data found!",
+ "repository": {
+ "type": "git",
+ "url": "git+https://github.com/jonschlinkert/is-posix-bracket.git"
+ },
+ "scripts": {
+ "test": "mocha"
+ },
+ "verb": {
+ "run": true,
+ "toc": false,
+ "layout": "default",
+ "tasks": [
+ "readme"
+ ],
+ "plugins": [
+ "gulp-format-md"
+ ],
+ "related": {
+ "list": [
+ "braces",
+ "expand-brackets",
+ "is-extglob",
+ "is-glob",
+ "micromatch"
+ ]
+ },
+ "reflinks": [
+ "verb"
+ ],
+ "lint": {
+ "reflinks": true
+ }
+ },
+ "version": "0.1.1"
+}