diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-04-20 03:09:25 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-04-24 16:14:29 +0200 |
commit | 82f2b76e25a4a67e01ec67e5ebe39d14ad771ea8 (patch) | |
tree | 965f6eb89b84d65a62b49008fd972c004832ccd1 /node_modules/brace-expansion | |
parent | e6e0cbc387c2a77b48e4065c229daa65bf1aa0fa (diff) | |
download | wallet-core-82f2b76e25a4a67e01ec67e5ebe39d14ad771ea8.tar.xz |
Reorganize module loading.
We now use webpack instead of SystemJS, effectively bundling modules
into one file (plus commons chunks) for every entry point. This results
in a much smaller extension size (almost half). Furthermore we use
yarn/npm even for extension run-time dependencies. This relieves us
from manually vendoring and building dependencies. It's also easier to
understand for new developers familiar with node.
Diffstat (limited to 'node_modules/brace-expansion')
-rw-r--r-- | node_modules/brace-expansion/README.md | 1 | ||||
-rw-r--r-- | node_modules/brace-expansion/index.js | 2 | ||||
-rw-r--r-- | node_modules/brace-expansion/package.json | 6 |
3 files changed, 6 insertions, 3 deletions
diff --git a/node_modules/brace-expansion/README.md b/node_modules/brace-expansion/README.md index 179392978..ed2ec1fdd 100644 --- a/node_modules/brace-expansion/README.md +++ b/node_modules/brace-expansion/README.md @@ -5,6 +5,7 @@ as known from sh/bash, in JavaScript. [![build status](https://secure.travis-ci.org/juliangruber/brace-expansion.svg)](http://travis-ci.org/juliangruber/brace-expansion) [![downloads](https://img.shields.io/npm/dm/brace-expansion.svg)](https://www.npmjs.org/package/brace-expansion) +[![Greenkeeper badge](https://badges.greenkeeper.io/juliangruber/brace-expansion.svg)](https://greenkeeper.io/) [![testling badge](https://ci.testling.com/juliangruber/brace-expansion.png)](https://ci.testling.com/juliangruber/brace-expansion) diff --git a/node_modules/brace-expansion/index.js b/node_modules/brace-expansion/index.js index 955f27c81..0478be81e 100644 --- a/node_modules/brace-expansion/index.js +++ b/node_modules/brace-expansion/index.js @@ -106,7 +106,7 @@ function expand(str, isTop) { var isNumericSequence = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(m.body); var isAlphaSequence = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(m.body); var isSequence = isNumericSequence || isAlphaSequence; - var isOptions = /^(.*,)+(.+)?$/.test(m.body); + var isOptions = m.body.indexOf(',') >= 0; if (!isSequence && !isOptions) { // {a},b} if (m.post.match(/,.*\}/)) { diff --git a/node_modules/brace-expansion/package.json b/node_modules/brace-expansion/package.json index 0ce582989..0deba3273 100644 --- a/node_modules/brace-expansion/package.json +++ b/node_modules/brace-expansion/package.json @@ -1,7 +1,7 @@ { "name": "brace-expansion", "description": "Brace expansion as known from sh/bash", - "version": "1.1.6", + "version": "1.1.7", "repository": { "type": "git", "url": "git://github.com/juliangruber/brace-expansion.git" @@ -10,13 +10,15 @@ "main": "index.js", "scripts": { "test": "tape test/*.js", - "gentest": "bash test/generate.sh" + "gentest": "bash test/generate.sh", + "bench": "matcha test/perf/bench.js" }, "dependencies": { "balanced-match": "^0.4.1", "concat-map": "0.0.1" }, "devDependencies": { + "matcha": "^0.7.0", "tape": "^4.6.0" }, "keywords": [], |