aboutsummaryrefslogtreecommitdiff
path: root/node_modules/glob-base
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-04-20 03:09:25 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-04-24 16:14:29 +0200
commit82f2b76e25a4a67e01ec67e5ebe39d14ad771ea8 (patch)
tree965f6eb89b84d65a62b49008fd972c004832ccd1 /node_modules/glob-base
parente6e0cbc387c2a77b48e4065c229daa65bf1aa0fa (diff)
downloadwallet-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/glob-base')
-rw-r--r--node_modules/glob-base/node_modules/glob-parent/.npmignore4
-rw-r--r--node_modules/glob-base/node_modules/glob-parent/.travis.yml8
-rw-r--r--node_modules/glob-base/node_modules/glob-parent/LICENSE15
-rw-r--r--node_modules/glob-base/node_modules/glob-parent/README.md43
-rw-r--r--node_modules/glob-base/node_modules/glob-parent/index.js10
-rw-r--r--node_modules/glob-base/node_modules/glob-parent/package.json35
-rw-r--r--node_modules/glob-base/node_modules/glob-parent/test.js28
7 files changed, 0 insertions, 143 deletions
diff --git a/node_modules/glob-base/node_modules/glob-parent/.npmignore b/node_modules/glob-base/node_modules/glob-parent/.npmignore
deleted file mode 100644
index 33e391f0e..000000000
--- a/node_modules/glob-base/node_modules/glob-parent/.npmignore
+++ /dev/null
@@ -1,4 +0,0 @@
-node_modules
-.DS_Store
-npm-debug.log
-coverage
diff --git a/node_modules/glob-base/node_modules/glob-parent/.travis.yml b/node_modules/glob-base/node_modules/glob-parent/.travis.yml
deleted file mode 100644
index 18fc42f69..000000000
--- a/node_modules/glob-base/node_modules/glob-parent/.travis.yml
+++ /dev/null
@@ -1,8 +0,0 @@
-language: node_js
-node_js:
- - "4"
- - "iojs-v3"
- - "iojs-v2"
- - "iojs-v1"
- - "0.12"
- - "0.10"
diff --git a/node_modules/glob-base/node_modules/glob-parent/LICENSE b/node_modules/glob-base/node_modules/glob-parent/LICENSE
deleted file mode 100644
index 734076d8a..000000000
--- a/node_modules/glob-base/node_modules/glob-parent/LICENSE
+++ /dev/null
@@ -1,15 +0,0 @@
-The ISC License
-
-Copyright (c) 2015 Elan Shanker
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted, provided that the above
-copyright notice and this permission notice appear in all copies.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
-WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
-ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
-WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
-ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
-IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff --git a/node_modules/glob-base/node_modules/glob-parent/README.md b/node_modules/glob-base/node_modules/glob-parent/README.md
deleted file mode 100644
index ff5310d3b..000000000
--- a/node_modules/glob-base/node_modules/glob-parent/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-glob-parent [![Build Status](https://travis-ci.org/es128/glob-parent.svg)](https://travis-ci.org/es128/glob-parent) [![Coverage Status](https://img.shields.io/coveralls/es128/glob-parent.svg)](https://coveralls.io/r/es128/glob-parent?branch=master)
-======
-Javascript module to extract the non-magic parent path from a glob string.
-
-[![NPM](https://nodei.co/npm/glob-parent.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/glob-parent/)
-[![NPM](https://nodei.co/npm-dl/glob-parent.png?height=3&months=9)](https://nodei.co/npm-dl/glob-parent/)
-
-Usage
------
-```sh
-npm install glob-parent --save
-```
-
-```js
-var globParent = require('glob-parent');
-
-globParent('path/to/*.js'); // 'path/to'
-globParent('/root/path/to/*.js'); // '/root/path/to'
-globParent('/*.js'); // '/'
-globParent('*.js'); // '.'
-globParent('**/*.js'); // '.'
-globParent('path/{to,from}'); // 'path'
-globParent('path/!(to|from)'); // 'path'
-globParent('path/?(to|from)'); // 'path'
-globParent('path/+(to|from)'); // 'path'
-globParent('path/*(to|from)'); // 'path'
-globParent('path/@(to|from)'); // 'path'
-globParent('path/**/*'); // 'path'
-
-// if provided a non-glob path, returns the nearest dir
-globParent('path/foo/bar.js'); // 'path/foo'
-globParent('path/foo/'); // 'path/foo'
-globParent('path/foo'); // 'path' (see issue #3 for details)
-
-```
-
-Change Log
-----------
-[See release notes page on GitHub](https://github.com/es128/glob-parent/releases)
-
-License
--------
-[ISC](https://raw.github.com/es128/glob-parent/master/LICENSE)
diff --git a/node_modules/glob-base/node_modules/glob-parent/index.js b/node_modules/glob-base/node_modules/glob-parent/index.js
deleted file mode 100644
index 61615f1ac..000000000
--- a/node_modules/glob-base/node_modules/glob-parent/index.js
+++ /dev/null
@@ -1,10 +0,0 @@
-'use strict';
-
-var path = require('path');
-var isglob = require('is-glob');
-
-module.exports = function globParent(str) {
- str += 'a'; // preserves full path in case of trailing path separator
- do {str = path.dirname(str)} while (isglob(str));
- return str;
-};
diff --git a/node_modules/glob-base/node_modules/glob-parent/package.json b/node_modules/glob-base/node_modules/glob-parent/package.json
deleted file mode 100644
index 5499007fb..000000000
--- a/node_modules/glob-base/node_modules/glob-parent/package.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "name": "glob-parent",
- "version": "2.0.0",
- "description": "Strips glob magic from a string to provide the parent path",
- "main": "index.js",
- "scripts": {
- "test": "istanbul cover _mocha && cat ./coverage/lcov.info | coveralls"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/es128/glob-parent"
- },
- "keywords": [
- "glob",
- "parent",
- "strip",
- "path",
- "directory",
- "base"
- ],
- "author": "Elan Shanker",
- "license": "ISC",
- "bugs": {
- "url": "https://github.com/es128/glob-parent/issues"
- },
- "homepage": "https://github.com/es128/glob-parent",
- "dependencies": {
- "is-glob": "^2.0.0"
- },
- "devDependencies": {
- "coveralls": "^2.11.2",
- "istanbul": "^0.3.5",
- "mocha": "^2.1.0"
- }
-}
diff --git a/node_modules/glob-base/node_modules/glob-parent/test.js b/node_modules/glob-base/node_modules/glob-parent/test.js
deleted file mode 100644
index 01156d2ff..000000000
--- a/node_modules/glob-base/node_modules/glob-parent/test.js
+++ /dev/null
@@ -1,28 +0,0 @@
-'use strict';
-
-var gp = require('./');
-var assert = require('assert');
-
-describe('glob-parent', function() {
- it('should strip glob magic to return parent path', function() {
- assert.equal(gp('path/to/*.js'), 'path/to');
- assert.equal(gp('/root/path/to/*.js'), '/root/path/to');
- assert.equal(gp('/*.js'), '/');
- assert.equal(gp('*.js'), '.');
- assert.equal(gp('**/*.js'), '.');
- assert.equal(gp('path/{to,from}'), 'path');
- assert.equal(gp('path/!(to|from)'), 'path');
- assert.equal(gp('path/?(to|from)'), 'path');
- assert.equal(gp('path/+(to|from)'), 'path');
- assert.equal(gp('path/*(to|from)'), 'path');
- assert.equal(gp('path/@(to|from)'), 'path');
- assert.equal(gp('path/**/*'), 'path');
- assert.equal(gp('path/**/subdir/foo.*'), 'path');
- });
-
- it('should return parent dirname from non-glob paths', function() {
- assert.equal(gp('path/foo/bar.js'), 'path/foo');
- assert.equal(gp('path/foo/'), 'path/foo');
- assert.equal(gp('path/foo'), 'path');
- });
-});