aboutsummaryrefslogtreecommitdiff
path: root/node_modules/hullabaloo-config-manager
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-08-14 05:01:11 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-08-14 05:02:09 +0200
commit363723fc84f7b8477592e0105aeb331ec9a017af (patch)
tree29f92724f34131bac64d6a318dd7e30612e631c7 /node_modules/hullabaloo-config-manager
parent5634e77ad96bfe1818f6b6ee70b7379652e5487f (diff)
downloadwallet-core-363723fc84f7b8477592e0105aeb331ec9a017af.tar.xz
node_modules
Diffstat (limited to 'node_modules/hullabaloo-config-manager')
-rw-r--r--node_modules/hullabaloo-config-manager/lib/Verifier.js3
-rw-r--r--node_modules/hullabaloo-config-manager/lib/resolvePluginsAndPresets.js2
-rw-r--r--node_modules/hullabaloo-config-manager/node_modules/md5-hex/browser.js10
-rw-r--r--node_modules/hullabaloo-config-manager/node_modules/md5-hex/index.js23
-rw-r--r--node_modules/hullabaloo-config-manager/node_modules/md5-hex/license21
-rw-r--r--node_modules/hullabaloo-config-manager/node_modules/md5-hex/package.json39
-rw-r--r--node_modules/hullabaloo-config-manager/node_modules/md5-hex/readme.md46
-rw-r--r--node_modules/hullabaloo-config-manager/package.json19
8 files changed, 13 insertions, 150 deletions
diff --git a/node_modules/hullabaloo-config-manager/lib/Verifier.js b/node_modules/hullabaloo-config-manager/lib/Verifier.js
index 267fcb2bb..0ac85a558 100644
--- a/node_modules/hullabaloo-config-manager/lib/Verifier.js
+++ b/node_modules/hullabaloo-config-manager/lib/Verifier.js
@@ -5,6 +5,7 @@ const path = require('path')
const isEqual = require('lodash.isequal')
const md5Hex = require('md5-hex')
+const SafeBuffer = require('safe-buffer').Buffer
const currentEnv = require('./currentEnv')
const hashDependencies = require('./hashDependencies')
@@ -134,7 +135,7 @@ class Verifier {
}
toBuffer () {
- return Buffer.from(JSON.stringify({
+ return SafeBuffer.from(JSON.stringify({
babelrcDir: this.babelrcDir,
envNames: this.envNames,
dependencies: this.dependencies,
diff --git a/node_modules/hullabaloo-config-manager/lib/resolvePluginsAndPresets.js b/node_modules/hullabaloo-config-manager/lib/resolvePluginsAndPresets.js
index b72ab4090..631ffa2ef 100644
--- a/node_modules/hullabaloo-config-manager/lib/resolvePluginsAndPresets.js
+++ b/node_modules/hullabaloo-config-manager/lib/resolvePluginsAndPresets.js
@@ -29,7 +29,7 @@ function isFilePath (ref) {
function resolveName (name, fromDir, cache) {
if (cache.has(name)) return cache.get(name)
- const filename = resolveFrom(fromDir, name)
+ const filename = resolveFrom.silent(fromDir, name)
cache.set(name, filename)
return filename
}
diff --git a/node_modules/hullabaloo-config-manager/node_modules/md5-hex/browser.js b/node_modules/hullabaloo-config-manager/node_modules/md5-hex/browser.js
deleted file mode 100644
index d6c2da0bf..000000000
--- a/node_modules/hullabaloo-config-manager/node_modules/md5-hex/browser.js
+++ /dev/null
@@ -1,10 +0,0 @@
-'use strict';
-const md5OMatic = require('md5-o-matic');
-
-module.exports = input => {
- if (Array.isArray(input)) {
- input = input.join('');
- }
-
- return md5OMatic(input);
-};
diff --git a/node_modules/hullabaloo-config-manager/node_modules/md5-hex/index.js b/node_modules/hullabaloo-config-manager/node_modules/md5-hex/index.js
deleted file mode 100644
index 82cfae306..000000000
--- a/node_modules/hullabaloo-config-manager/node_modules/md5-hex/index.js
+++ /dev/null
@@ -1,23 +0,0 @@
-'use strict';
-const crypto = require('crypto');
-
-module.exports = function (input) {
- const hash = crypto.createHash('md5');
-
- const update = buf => {
- const inputEncoding = typeof buf === 'string' ? 'utf8' : undefined;
- hash.update(buf, inputEncoding);
- };
-
- if (arguments.length > 1) {
- throw new Error('Too many arguments. Try specifying an array.');
- }
-
- if (Array.isArray(input)) {
- input.forEach(update);
- } else {
- update(input);
- }
-
- return hash.digest('hex');
-};
diff --git a/node_modules/hullabaloo-config-manager/node_modules/md5-hex/license b/node_modules/hullabaloo-config-manager/node_modules/md5-hex/license
deleted file mode 100644
index 654d0bfe9..000000000
--- a/node_modules/hullabaloo-config-manager/node_modules/md5-hex/license
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
-
-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/hullabaloo-config-manager/node_modules/md5-hex/package.json b/node_modules/hullabaloo-config-manager/node_modules/md5-hex/package.json
deleted file mode 100644
index a87ce154f..000000000
--- a/node_modules/hullabaloo-config-manager/node_modules/md5-hex/package.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "name": "md5-hex",
- "version": "2.0.0",
- "description": "Create a MD5 hash with hex encoding",
- "license": "MIT",
- "repository": "sindresorhus/md5-hex",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "sindresorhus.com"
- },
- "engines": {
- "node": ">=4"
- },
- "scripts": {
- "test": "xo && ava"
- },
- "files": [
- "index.js",
- "browser.js"
- ],
- "keywords": [
- "hash",
- "crypto",
- "md5",
- "hex",
- "buffer",
- "browser",
- "browserify"
- ],
- "dependencies": {
- "md5-o-matic": "^0.1.1"
- },
- "devDependencies": {
- "ava": "*",
- "xo": "*"
- },
- "browser": "browser.js"
-}
diff --git a/node_modules/hullabaloo-config-manager/node_modules/md5-hex/readme.md b/node_modules/hullabaloo-config-manager/node_modules/md5-hex/readme.md
deleted file mode 100644
index 630b31d0b..000000000
--- a/node_modules/hullabaloo-config-manager/node_modules/md5-hex/readme.md
+++ /dev/null
@@ -1,46 +0,0 @@
-# md5-hex [![Build Status](https://travis-ci.org/sindresorhus/md5-hex.svg?branch=master)](https://travis-ci.org/sindresorhus/md5-hex)
-
-> Create a MD5 hash with hex encoding
-
-*Please don't use MD5 hashes for anything sensitive!*
-
-Works in the browser too, when used with browserify/webpack.
-
-Checkout [`hasha`](https://github.com/sindresorhus/hasha) if you need something more flexible.
-
-
-## Install
-
-```
-$ npm install --save md5-hex
-```
-
-
-## Usage
-
-```js
-const fs = require('fs');
-const md5Hex = require('md5-hex');
-const buffer = fs.readFileSync('unicorn.png');
-
-md5Hex(buffer);
-//=> '1abcb33beeb811dca15f0ac3e47b88d9'
-```
-
-
-## API
-
-### md5Hex(input)
-
-#### input
-
-Type: `Buffer` `string` `Buffer[]` `string[]`
-
-Prefer buffers as they're faster to hash, but strings can be useful for small things.
-
-Pass an array instead of concatenating strings and/or buffers. The output is the same, but arrays do not incur the overhead of concatenation.
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)
diff --git a/node_modules/hullabaloo-config-manager/package.json b/node_modules/hullabaloo-config-manager/package.json
index 9fa461714..348ed5304 100644
--- a/node_modules/hullabaloo-config-manager/package.json
+++ b/node_modules/hullabaloo-config-manager/package.json
@@ -1,6 +1,6 @@
{
"name": "hullabaloo-config-manager",
- "version": "1.0.1",
+ "version": "1.1.1",
"description": "Manages complex Babel config chains, avoiding duplicated work and enabling effective caching",
"main": "index.js",
"files": [
@@ -8,7 +8,7 @@
"lib"
],
"engines": {
- "node": ">=4.5"
+ "node": ">=4"
},
"scripts": {
"lint": "as-i-preach",
@@ -41,19 +41,20 @@
"lodash.merge": "^4.6.0",
"md5-hex": "^2.0.0",
"package-hash": "^2.0.0",
- "pkg-dir": "^1.0.0",
- "resolve-from": "^2.0.0"
+ "pkg-dir": "^2.0.0",
+ "resolve-from": "^3.0.0",
+ "safe-buffer": "^5.0.1"
},
"devDependencies": {
"@novemberborn/as-i-preach": "^9.0.0",
- "ava": "^0.19.0",
+ "ava": "^0.19.1",
"babel-core": "^6.22.1",
- "coveralls": "^2.11.16",
- "fs-extra": "^2.0.0",
+ "codecov": "^2.2.0",
+ "fs-extra": "^3.0.0",
"lodash.ismatch": "^4.4.0",
- "nyc": "^10.1.2",
+ "nyc": "^11.0.0",
"proxyquire": "^1.7.11",
- "testdouble": "^2.1.2",
+ "testdouble": "^3.0.0",
"unique-temp-dir": "^1.0.0"
},
"nyc": {