boilerplate-server
Advanced tools
Comparing version 0.11.6 to 0.11.7
@@ -24,6 +24,4 @@ 'use strict'; | ||
var _lodashMerge = require('lodash.merge'); | ||
var _lodash = require('lodash'); | ||
var _lodashMerge2 = _interopRequireDefault(_lodashMerge); | ||
var _libraryUtilitiesPorts = require('../../../library/utilities/ports'); | ||
@@ -172,3 +170,3 @@ | ||
if (typeof config === 'object') { | ||
(0, _lodashMerge2['default'])(mountableConfig, config); | ||
(0, _lodash.merge)(mountableConfig, config); | ||
} else { | ||
@@ -241,2 +239,2 @@ mountableConfig = config; | ||
module.exports = exports['default']; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NvdXJjZS9hcHBsaWNhdGlvbi9ob29rcy9lbmdpbmUvZW5naW5lLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7OzttQkFBZ0IsS0FBSzs7Ozt5QkFDRixZQUFZOzs7OzJCQUNiLGNBQWM7Ozs7cUNBRWQsa0NBQWtDOzs7O0FBRXBELFNBQVMsZUFBZSxHQUFJO0FBQzNCLEtBQUksU0FBUyxHQUFHLElBQUksT0FBTyxFQUFFLENBQUM7O0FBRTlCO0FBQ2EsV0FEQSxNQUFNLENBQ0osV0FBVyxFQUFHO3lCQURoQixNQUFNOztBQUVqQixPQUFJLElBQUksR0FBRyx1QkFBSyxDQUFDO0FBQ2pCLE9BQUksQ0FBQyxZQUFZLEdBQUcsSUFBSSxDQUFDOztBQUV6QixPQUFJLENBQUMsR0FBRyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUM7QUFDcEIsWUFBUyxDQUFDLEdBQUcsQ0FBRSxJQUFJLEVBQUUsRUFBRSxXQUFXLEVBQVgsV0FBVyxFQUFFLElBQUksRUFBSixJQUFJLEVBQUUsUUFBUSxFQUFFLEVBQUUsRUFBRSxDQUFFLENBQUM7R0FDM0Q7O2VBUFcsTUFBTTs7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LmdldCh0aGlzKTtcblx0XHRcdGZ1ZWwudXNlKC4uLmFyZ3MpO1xuXHRcdFx0cmV0dXJuIGFwcGxpY2F0aW9uO1xuXHRcdH1cblx0fTtcbn1cblxuZnVuY3Rpb24gZW5naW5lRmFjdG9yeSAoIC4uLmFyZ3MgKSB7XG5cdHJldHVybiBuZXcgKCBlbmdpbmVCbHVlcHJpbnQoKSApKCAuLi5hcmdzICk7XG59XG5cbmV4cG9ydCBkZWZhdWx0IGVuZ2luZUZhY3Rvcnk7XG4iXX0= |
@@ -22,2 +22,8 @@ #!/usr/bin/env node | ||
(0, _libraryUtilitiesExecute2['default'])(main, { mode: 'console' }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NvdXJjZS9iaW5hcnkvYm9pbGVycGxhdGUtY29uc29sZS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztJQUllLElBQUkscUJBQW5CLFdBQW9CLE9BQU8sRUFBRTtBQUM1QixLQUFNLFdBQVcsR0FBRyxNQUFNLG1CQUFZLE9BQU8sQ0FBQyxDQUFDO0FBQy9DLFFBQU8sTUFBTSxXQUFXLENBQUMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxPQUFPLEVBQUUsT0FBTyxDQUFDLENBQUM7Q0FDdkQ7Ozs7OztnQkFOdUIsS0FBSzs7Ozt1Q0FDVCw4QkFBOEI7Ozs7QUFPbEQsMENBQVEsSUFBSSxFQUFFLEVBQUMsSUFBSSxFQUFFLFNBQVMsRUFBQyxDQUFDLENBQUMiLCJmaWxlIjoiYm9pbGVycGxhdGUtY29uc29sZS5qcyIsInNvdXJjZXNDb250ZW50IjpbIlxuaW1wb3J0IGJvaWxlcnBsYXRlIGZyb20gJy4uLyc7XG5pbXBvcnQgZXhlY3V0ZSBmcm9tICcuLi9saWJyYXJ5L3V0aWxpdGllcy9leGVjdXRlJztcblxuYXN5bmMgZnVuY3Rpb24gbWFpbihvcHRpb25zKSB7XG5cdGNvbnN0IGFwcGxpY2F0aW9uID0gYXdhaXQgYm9pbGVycGxhdGUob3B0aW9ucyk7XG5cdHJldHVybiBhd2FpdCBhcHBsaWNhdGlvbi5ydW4ob3B0aW9ucy5jb21tYW5kLCBvcHRpb25zKTtcbn1cblxuZXhlY3V0ZShtYWluLCB7bW9kZTogJ2NvbnNvbGUnfSk7XG4iXX0= | ||
// Catch unhandled rejections globally | ||
process.on('unhandledRejection', function (reason, promise) { | ||
console.log('Unhandled Rejection at: Promise ', promise, ' reason: ', reason); | ||
throw reason; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NvdXJjZS9iaW5hcnkvYm9pbGVycGxhdGUtY29uc29sZS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztJQUllLElBQUkscUJBQW5CLFdBQW9CLE9BQU8sRUFBRTtBQUM1QixLQUFNLFdBQVcsR0FBRyxNQUFNLG1CQUFZLE9BQU8sQ0FBQyxDQUFDO0FBQy9DLFFBQU8sTUFBTSxXQUFXLENBQUMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxPQUFPLEVBQUUsT0FBTyxDQUFDLENBQUM7Q0FDdkQ7Ozs7OztnQkFOdUIsS0FBSzs7Ozt1Q0FDVCw4QkFBOEI7Ozs7QUFPbEQsMENBQVEsSUFBSSxFQUFFLEVBQUMsSUFBSSxFQUFFLFNBQVMsRUFBQyxDQUFDLENBQUM7OztBQUdqQyxPQUFPLENBQUMsRUFBRSxDQUFDLG9CQUFvQixFQUFFLFVBQUMsTUFBTSxFQUFFLE9BQU8sRUFBSztBQUNyRCxRQUFPLENBQUMsR0FBRyxDQUFDLGtDQUFrQyxFQUFFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxDQUFDLENBQUM7QUFDOUUsT0FBTSxNQUFNLENBQUM7Q0FDYixDQUFDLENBQUMiLCJmaWxlIjoiYm9pbGVycGxhdGUtY29uc29sZS5qcyIsInNvdXJjZXNDb250ZW50IjpbIlxuaW1wb3J0IGJvaWxlcnBsYXRlIGZyb20gJy4uLyc7XG5pbXBvcnQgZXhlY3V0ZSBmcm9tICcuLi9saWJyYXJ5L3V0aWxpdGllcy9leGVjdXRlJztcblxuYXN5bmMgZnVuY3Rpb24gbWFpbihvcHRpb25zKSB7XG5cdGNvbnN0IGFwcGxpY2F0aW9uID0gYXdhaXQgYm9pbGVycGxhdGUob3B0aW9ucyk7XG5cdHJldHVybiBhd2FpdCBhcHBsaWNhdGlvbi5ydW4ob3B0aW9ucy5jb21tYW5kLCBvcHRpb25zKTtcbn1cblxuZXhlY3V0ZShtYWluLCB7bW9kZTogJ2NvbnNvbGUnfSk7XG5cbi8vIENhdGNoIHVuaGFuZGxlZCByZWplY3Rpb25zIGdsb2JhbGx5XG5wcm9jZXNzLm9uKCd1bmhhbmRsZWRSZWplY3Rpb24nLCAocmVhc29uLCBwcm9taXNlKSA9PiB7XG5cdGNvbnNvbGUubG9nKCdVbmhhbmRsZWQgUmVqZWN0aW9uIGF0OiBQcm9taXNlICcsIHByb21pc2UsICcgcmVhc29uOiAnLCByZWFzb24pO1xuXHR0aHJvdyByZWFzb247XG59KTtcbiJdfQ== |
@@ -24,2 +24,8 @@ #!/usr/bin/env node | ||
(0, _libraryUtilitiesExecute2['default'])(main, { mode: 'server' }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NvdXJjZS9iaW5hcnkvYm9pbGVycGxhdGUtc2VydmVyLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0lBSWUsSUFBSSxxQkFBbkIsYUFBa0M7S0FBZCxPQUFPLHlEQUFHLEVBQUU7O0FBQy9CLEtBQU0sV0FBVyxHQUFHLE1BQU0sbUJBQVksT0FBTyxDQUFDLENBQUM7QUFDL0MsUUFBTyxNQUFNLFdBQVcsQ0FBQyxLQUFLLEVBQUUsQ0FBQztDQUNqQzs7Ozs7O2dCQU51QixLQUFLOzs7O3VDQUNULDhCQUE4Qjs7OztBQU9sRCwwQ0FBUSxJQUFJLEVBQUUsRUFBQyxJQUFJLEVBQUUsUUFBUSxFQUFDLENBQUMsQ0FBQyIsImZpbGUiOiJib2lsZXJwbGF0ZS1zZXJ2ZXIuanMiLCJzb3VyY2VzQ29udGVudCI6WyJcbmltcG9ydCBib2lsZXJwbGF0ZSBmcm9tICcuLi8nO1xuaW1wb3J0IGV4ZWN1dGUgZnJvbSAnLi4vbGlicmFyeS91dGlsaXRpZXMvZXhlY3V0ZSc7XG5cbmFzeW5jIGZ1bmN0aW9uIG1haW4ob3B0aW9ucyA9IHt9KSB7XG5cdGNvbnN0IGFwcGxpY2F0aW9uID0gYXdhaXQgYm9pbGVycGxhdGUob3B0aW9ucyk7XG5cdHJldHVybiBhd2FpdCBhcHBsaWNhdGlvbi5zdGFydCgpO1xufVxuXG5leGVjdXRlKG1haW4sIHttb2RlOiAnc2VydmVyJ30pO1xuIl19 | ||
// Catch unhandled rejections globally | ||
process.on('unhandledRejection', function (reason, promise) { | ||
console.log('Unhandled Rejection at: Promise ', promise, ' reason: ', reason); | ||
throw reason; | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NvdXJjZS9iaW5hcnkvYm9pbGVycGxhdGUtc2VydmVyLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0lBSWUsSUFBSSxxQkFBbkIsYUFBa0M7S0FBZCxPQUFPLHlEQUFHLEVBQUU7O0FBQy9CLEtBQU0sV0FBVyxHQUFHLE1BQU0sbUJBQVksT0FBTyxDQUFDLENBQUM7QUFDL0MsUUFBTyxNQUFNLFdBQVcsQ0FBQyxLQUFLLEVBQUUsQ0FBQztDQUNqQzs7Ozs7O2dCQU51QixLQUFLOzs7O3VDQUNULDhCQUE4Qjs7OztBQU9sRCwwQ0FBUSxJQUFJLEVBQUUsRUFBQyxJQUFJLEVBQUUsUUFBUSxFQUFDLENBQUMsQ0FBQzs7O0FBR2hDLE9BQU8sQ0FBQyxFQUFFLENBQUMsb0JBQW9CLEVBQUUsVUFBQyxNQUFNLEVBQUUsT0FBTyxFQUFLO0FBQ3JELFFBQU8sQ0FBQyxHQUFHLENBQUMsa0NBQWtDLEVBQUUsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLENBQUMsQ0FBQztBQUM5RSxPQUFNLE1BQU0sQ0FBQztDQUNiLENBQUMsQ0FBQyIsImZpbGUiOiJib2lsZXJwbGF0ZS1zZXJ2ZXIuanMiLCJzb3VyY2VzQ29udGVudCI6WyJcbmltcG9ydCBib2lsZXJwbGF0ZSBmcm9tICcuLi8nO1xuaW1wb3J0IGV4ZWN1dGUgZnJvbSAnLi4vbGlicmFyeS91dGlsaXRpZXMvZXhlY3V0ZSc7XG5cbmFzeW5jIGZ1bmN0aW9uIG1haW4ob3B0aW9ucyA9IHt9KSB7XG5cdGNvbnN0IGFwcGxpY2F0aW9uID0gYXdhaXQgYm9pbGVycGxhdGUob3B0aW9ucyk7XG5cdHJldHVybiBhd2FpdCBhcHBsaWNhdGlvbi5zdGFydCgpO1xufVxuXG5leGVjdXRlKG1haW4sIHttb2RlOiAnc2VydmVyJ30pO1xuXG4vLyBDYXRjaCB1bmhhbmRsZWQgcmVqZWN0aW9ucyBnbG9iYWxseVxucHJvY2Vzcy5vbigndW5oYW5kbGVkUmVqZWN0aW9uJywgKHJlYXNvbiwgcHJvbWlzZSkgPT4ge1xuXHRjb25zb2xlLmxvZygnVW5oYW5kbGVkIFJlamVjdGlvbiBhdDogUHJvbWlzZSAnLCBwcm9taXNlLCAnIHJlYXNvbjogJywgcmVhc29uKTtcblx0dGhyb3cgcmVhc29uO1xufSk7XG4iXX0= |
{ | ||
"name": "boilerplate-server", | ||
"version": "0.11.6", | ||
"version": "0.11.7", | ||
"description": "Lean and mean server module intended to get you kicking on the edge of things real fast.", | ||
@@ -49,8 +49,5 @@ "main": "library/", | ||
"app-root-path": "^1.0.0", | ||
"atob": "^1.1.2", | ||
"babel-core": "^5.2.17", | ||
"bluebird": "^2.9.24", | ||
"commander": "^2.8.0", | ||
"find-root": "^0.1.1", | ||
"inquirer": "^0.8.5", | ||
"koa": "^0.19.1", | ||
@@ -63,10 +60,6 @@ "koa-basic-auth": "^1.1.2", | ||
"lodash": "^3.7.0", | ||
"lodash.merge": "^3.3.2", | ||
"minimist": "^1.1.1", | ||
"path-exists": "^2.1.0", | ||
"portscanner": "^1.0.0", | ||
"rc": "^1.0.1", | ||
"require-all": "^1.0.0", | ||
"require-json": "0.0.1", | ||
"resolve-path": "^1.2.2", | ||
"winston": "^1.0.0" | ||
@@ -73,0 +66,0 @@ }, |
import koa from 'koa'; | ||
import router from 'koa-router'; | ||
import merge from 'lodash.merge'; | ||
import {merge} from 'lodash'; | ||
@@ -5,0 +5,0 @@ import ports from '../../../library/utilities/ports'; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
288965
16
3399
- Removedatob@^1.1.2
- Removedcommander@^2.8.0
- Removedinquirer@^0.8.5
- Removedlodash.merge@^3.3.2
- Removedrc@^1.0.1
- Removedrequire-json@0.0.1
- Removedresolve-path@^1.2.2
- Removedansi-regex@1.1.1(transitive)
- Removedatob@1.1.3(transitive)
- Removedcli-width@1.1.1(transitive)
- Removeddeep-extend@0.6.0(transitive)
- Removedfigures@1.7.0(transitive)
- Removedhttp-errors@1.6.3(transitive)
- Removedinherits@2.0.3(transitive)
- Removedini@1.3.8(transitive)
- Removedinquirer@0.8.5(transitive)
- Removedlodash._arraycopy@3.0.0(transitive)
- Removedlodash._arrayeach@3.0.0(transitive)
- Removedlodash._basecopy@3.0.1(transitive)
- Removedlodash._basefor@3.0.3(transitive)
- Removedlodash._bindcallback@3.0.1(transitive)
- Removedlodash._createassigner@3.1.1(transitive)
- Removedlodash._getnative@3.9.1(transitive)
- Removedlodash._isiterateecall@3.0.9(transitive)
- Removedlodash.isarguments@3.1.0(transitive)
- Removedlodash.isarray@3.0.4(transitive)
- Removedlodash.isplainobject@3.2.0(transitive)
- Removedlodash.istypedarray@3.0.6(transitive)
- Removedlodash.keys@3.1.2(transitive)
- Removedlodash.keysin@3.0.8(transitive)
- Removedlodash.merge@3.3.2(transitive)
- Removedlodash.restparam@3.6.1(transitive)
- Removedlodash.toplainobject@3.0.0(transitive)
- Removedmute-stream@0.0.4(transitive)
- Removedrc@1.2.8(transitive)
- Removedreadline2@0.1.1(transitive)
- Removedrequire-json@0.0.1(transitive)
- Removedresolve-path@1.4.0(transitive)
- Removedrx@2.5.3(transitive)
- Removedsetprototypeof@1.1.0(transitive)
- Removedstrip-ansi@2.0.1(transitive)
- Removedstrip-json-comments@2.0.1(transitive)