aboutsummaryrefslogtreecommitdiff
path: root/node_modules/regex-cache
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-10 21:51:33 +0100
commit0469abd4a9c9270a1fdc962969e36e63699af8b4 (patch)
treef9864d4a4148621378958794cbbfdc2393733283 /node_modules/regex-cache
parent6947e79bbc258f7bc96af424ddb71a511f0c15a3 (diff)
downloadwallet-core-0469abd4a9c9270a1fdc962969e36e63699af8b4.tar.xz
upgrade dependencies
Diffstat (limited to 'node_modules/regex-cache')
-rw-r--r--node_modules/regex-cache/LICENSE4
-rw-r--r--node_modules/regex-cache/README.md48
-rw-r--r--node_modules/regex-cache/index.js5
-rw-r--r--node_modules/regex-cache/package.json13
4 files changed, 39 insertions, 31 deletions
diff --git a/node_modules/regex-cache/LICENSE b/node_modules/regex-cache/LICENSE
index 1e49edf81..c0d7f1362 100644
--- a/node_modules/regex-cache/LICENSE
+++ b/node_modules/regex-cache/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2015-2016, Jon Schlinkert.
+Copyright (c) 2015-2017, 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
@@ -18,4 +18,4 @@ 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.
+THE SOFTWARE. \ No newline at end of file
diff --git a/node_modules/regex-cache/README.md b/node_modules/regex-cache/README.md
index ab19174fb..8c6601478 100644
--- a/node_modules/regex-cache/README.md
+++ b/node_modules/regex-cache/README.md
@@ -1,13 +1,13 @@
-# regex-cache [![NPM version](https://img.shields.io/npm/v/regex-cache.svg?style=flat)](https://www.npmjs.com/package/regex-cache) [![NPM downloads](https://img.shields.io/npm/dm/regex-cache.svg?style=flat)](https://npmjs.org/package/regex-cache) [![Build Status](https://img.shields.io/travis/jonschlinkert/regex-cache.svg?style=flat)](https://travis-ci.org/jonschlinkert/regex-cache)
+# regex-cache [![NPM version](https://img.shields.io/npm/v/regex-cache.svg?style=flat)](https://www.npmjs.com/package/regex-cache) [![NPM monthly downloads](https://img.shields.io/npm/dm/regex-cache.svg?style=flat)](https://npmjs.org/package/regex-cache) [![NPM total downloads](https://img.shields.io/npm/dt/regex-cache.svg?style=flat)](https://npmjs.org/package/regex-cache) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/regex-cache.svg?style=flat&label=Travis)](https://travis-ci.org/jonschlinkert/regex-cache) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/regex-cache.svg?style=flat&label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/regex-cache)
-> Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in suprising performance improvements.
+> Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.
## Install
Install with [npm](https://www.npmjs.com/):
```sh
-$ npm install regex-cache --save
+$ npm install --save regex-cache
```
* Read [what this does](#what-this-does).
@@ -117,44 +117,50 @@ If you're using `new RegExp('foo')` instead of a regex literal, it's probably be
When your function creates a string based on user inputs and passes it to the `RegExp` constructor, regex-cache caches the results. The next time the function is called if the key of a cached regex matches the user input (or no input was given), the cached regex is returned, avoiding unnecessary runtime compilation.
Using the RegExp constructor offers a lot of flexibility, but the runtime compilation comes at a price - it's slow. Not specifically because of the call to the RegExp constructor, but **because you have to build up the string before `new RegExp()` is even called**.
-## Contributing
-Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](https://github.com/jonschlinkert/regex-cache/issues/new).
+## About
-## Building docs
+### Contributing
-Generate readme and API documentation with [verb](https://github.com/verbose/verb):
+Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).
-```sh
-$ npm install verb && npm run docs
-```
+### Contributors
+
+| **Commits** | **Contributor** |
+| --- | --- |
+| 31 | [jonschlinkert](https://github.com/jonschlinkert) |
+| 1 | [MartinKolarik](https://github.com/MartinKolarik) |
-Or, if [verb](https://github.com/verbose/verb) is installed globally:
+### Building docs
+
+_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_
+
+To generate the readme, run the following command:
```sh
-$ verb
+$ npm install -g verbose/verb#dev verb-generate-readme && verb
```
-## Running tests
+### Running tests
-Install dev dependencies:
+Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:
```sh
-$ npm install -d && npm test
+$ npm install && npm test
```
-## Author
+### Author
**Jon Schlinkert**
* [github/jonschlinkert](https://github.com/jonschlinkert)
-* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)
+* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)
-## License
+### License
-Copyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).
-Released under the [MIT license](https://github.com/jonschlinkert/regex-cache/blob/master/LICENSE).
+Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).
+Released under the [MIT License](LICENSE).
***
-_This file was generated by [verb](https://github.com/verbose/verb), v, on April 01, 2016._ \ No newline at end of file
+_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on September 01, 2017._ \ No newline at end of file
diff --git a/node_modules/regex-cache/index.js b/node_modules/regex-cache/index.js
index 13d20226a..df8c42312 100644
--- a/node_modules/regex-cache/index.js
+++ b/node_modules/regex-cache/index.js
@@ -1,13 +1,12 @@
/*!
* regex-cache <https://github.com/jonschlinkert/regex-cache>
*
- * Copyright (c) 2015 Jon Schlinkert.
- * Licensed under the MIT license.
+ * Copyright (c) 2015-2017, Jon Schlinkert.
+ * Released under the MIT License.
*/
'use strict';
-var isPrimitive = require('is-primitive');
var equal = require('is-equal-shallow');
var basic = {};
var cache = {};
diff --git a/node_modules/regex-cache/package.json b/node_modules/regex-cache/package.json
index 9507d581e..a9072f67b 100644
--- a/node_modules/regex-cache/package.json
+++ b/node_modules/regex-cache/package.json
@@ -1,9 +1,13 @@
{
"name": "regex-cache",
- "description": "Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in suprising performance improvements.",
- "version": "0.4.3",
+ "description": "Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.",
+ "version": "0.4.4",
"homepage": "https://github.com/jonschlinkert/regex-cache",
"author": "Jon Schlinkert (https://github.com/jonschlinkert)",
+ "contributors": [
+ "Jon Schlinkert (http://twitter.com/jonschlinkert)",
+ "Martin Kolárik (https://kolarik.sk)"
+ ],
"repository": "jonschlinkert/regex-cache",
"bugs": {
"url": "https://github.com/jonschlinkert/regex-cache/issues"
@@ -21,12 +25,11 @@
"benchmarks": "node benchmark"
},
"dependencies": {
- "is-equal-shallow": "^0.1.3",
- "is-primitive": "^2.0.0"
+ "is-equal-shallow": "^0.1.3"
},
"devDependencies": {
+ "ansi-bold": "^0.1.1",
"benchmarked": "^0.1.5",
- "chalk": "^1.1.3",
"gulp-format-md": "^0.1.7",
"micromatch": "^2.3.7",
"should": "^8.3.0"