Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

boilerplate-server

Package Overview
Dependencies
Maintainers
3
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boilerplate-server - npm Package Compare versions

Comparing version 0.12.1 to 0.12.2

foo.log

8

application/hooks/engine/engine.js

@@ -50,6 +50,6 @@ 'use strict';

if (application.router) {
application.log.debug('[application]', `Kicking off router ...`);
application.log.debug(`Kicking off router ...`);
fuel.use(application.router.routes());
fuel.use(application.router.allowedMethods());
application.log.debug('[application]', `Kicked off router ...`);
application.log.debug(`Kicked off router ...`);
}

@@ -122,3 +122,3 @@

application.log.debug(`[application:subapplication] Mounting ${ mountable.name } on ${ path }`);
application.log.debug(`Mounting ${ mountable.name } on ${ path }`);

@@ -212,2 +212,2 @@ if (path === '/') {

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NvdXJjZS9hcHBsaWNhdGlvbi9ob29rcy9lbmdpbmUvZW5naW5lLmpzIl0sIm5hbWVzIjpbImVuZ2luZUJsdWVwcmludCIsIm5hbWVTcGFjZSIsIldlYWtNYXAiLCJFbmdpbmUiLCJjb25zdHJ1Y3RvciIsImFwcGxpY2F0aW9uIiwiZnVlbCIsImV4cGVyaW1lbnRhbCIsImVudiIsInNldCIsIm1vdW50cyIsInN0YXJ0IiwiaG9zdCIsInBvcnQiLCJnZXQiLCJzZXJ2ZXIiLCJjb25maWd1cmF0aW9uIiwiZW52aXJvbm1lbnQiLCJyb3V0ZXIiLCJsb2ciLCJkZWJ1ZyIsInVzZSIsInJvdXRlcyIsImFsbG93ZWRNZXRob2RzIiwicnVudGltZSIsInRlc3QiLCJhdXRvUG9ydCIsIkVycm9yIiwid2FybiIsImZpbmQiLCJzdWJzIiwiZm9yRWFjaCIsInN1YiIsIm5hbWUiLCJtb3VudGFibGUiLCJjb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GUuY29uZmlndXJhdGlvbi5jbGllbnQgPSB7Li4ubW91bnRhYmxlLmNvbmZpZ3VyYXRpb24uY2xpZW50LCAuLi5hcHBsaWNhdGlvbi5jb25maWd1cmF0aW9uLnNlcnZlcn07XG5cblx0XHRcdGFwcGxpY2F0aW9uLmxvZy5kZWJ1ZyhgQ2hhbmdpbmcgY29uZmlndXJhdGlvbiBvZiBzdWJhcHBsaWNhdGlvbnMgJHttb3VudGFibGUubmFtZX1gKTtcblx0XHRcdGFwcGxpY2F0aW9uLmxvZy5zaWxseShgJHttb3VudGFibGUubmFtZX0uY29uZmlndXJhdGlvbi5zZXJ2ZXI6ICR7SlNPTi5zdHJpbmdpZnkobW91bnRhYmxlLmNvbmZpZ3VyYXRpb24uc2VydmVyKX1gKTtcblx0XHRcdGFwcGxpY2F0aW9uLmxvZy5zaWxseShgJHttb3VudGFibGUubmFtZX0uY29uZmlndXJhdGlvbi5jbGllbnQ6ICR7SlNPTi5zdHJpbmdpZnkobW91bnRhYmxlLmNvbmZpZ3VyYXRpb24uY2xpZW50KX1gKTtcblxuXHRcdFx0cmV0dXJuIGFwcGxpY2F0aW9uO1xuXHRcdH1cblxuXHRcdHVzZSguLi5hcmdzKSB7XG5cdFx0XHRjb25zdCB7ZnVlbCwgYXBwbGljYXRpb259ID0gbmFtZVNwYWNlLmdldCh0aGlzKTtcblx0XHRcdGZ1ZWwudXNlKC4uLmFyZ3MpO1xuXHRcdFx0cmV0dXJuIGFwcGxpY2F0aW9uO1xuXHRcdH1cblx0fTtcbn1cblxuZnVuY3Rpb24gZW5naW5lRmFjdG9yeSguLi5hcmdzKSB7XG5cdHJldHVybiBuZXcgKGVuZ2luZUJsdWVwcmludCgpKSguLi5hcmdzKTtcbn1cblxuZXhwb3J0IGRlZmF1bHQgZW5naW5lRmFjdG9yeTtcbiJdfQ==

@@ -24,3 +24,3 @@ 'use strict';

start: function start(application) {
const logger = (0, _logger2.default)(`[${ application.name }]`, this.configuration);
const logger = (0, _logger2.default)('', this.configuration);

@@ -37,2 +37,2 @@ application.log.silly('Draining boot logger queue...');

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NvdXJjZS9hcHBsaWNhdGlvbi9ob29rcy9sb2cvaW5kZXguanMiXSwibmFtZXMiOlsiYWZ0ZXIiLCJjb25maWd1cmUiLCJhcHBsaWNhdGlvbiIsImNvbmZpZ3VyYXRpb24iLCJkZWZhdWx0cyIsIm5hbWUiLCJsZXZlbCIsInJ1bnRpbWUiLCJhcGkiLCJsb2dsZXZlbCIsInN0YXJ0IiwibG9nZ2VyIiwibG9nIiwic2lsbHkiLCJkcmFpbiIsImRlcGxveSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7QUFBQTs7Ozs7O2tCQUVlO0FBQ2RBLFFBQU8sQ0FBQyw4QkFBRCxDQURPOztBQUdkQyxVQUhjLHFCQUdKQyxXQUhJLEVBR1M7QUFDdEIsT0FBS0MsYUFBTCxnQkFBeUIsS0FBS0EsYUFBOUIsRUFBZ0QsS0FBS0MsUUFBckQsRUFBa0VGLFlBQVlDLGFBQVosQ0FBMEIsS0FBS0UsSUFBL0IsQ0FBbEU7QUFDQSxPQUFLRixhQUFMLENBQW1CRyxLQUFuQixHQUEyQkosWUFBWUssT0FBWixDQUFvQkMsR0FBcEIsQ0FBd0JDLFFBQXhCLElBQW9DLEtBQUtOLGFBQUwsQ0FBbUJHLEtBQWxGO0FBQ0EsU0FBTyxJQUFQO0FBQ0EsRUFQYTtBQVNkSSxNQVRjLGlCQVNSUixXQVRRLEVBU0s7QUFDbEIsUUFBTVMsU0FBUyxzQkFBYSxLQUFHVCxZQUFZRyxJQUFLLElBQWpDLEVBQXFDLEtBQUtGLGFBQTFDLENBQWY7O0FBRUFELGNBQVlVLEdBQVosQ0FBZ0JDLEtBQWhCLENBQXNCLCtCQUF0QjtBQUNBWCxjQUFZVSxHQUFaLENBQWdCRSxLQUF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1,2 +0,2 @@

'use strict';
"use strict";

@@ -12,6 +12,6 @@ Object.defineProperty(exports, "__esModule", {

let delta = new Date() - start;
application.log.debug('[application:request]', `${ start } - ${ this.method } ${ this.url } - ${ this.response.status } ${ this.response.message } - ${ delta }ms`);
application.log.debug(`${ start } - ${ this.method } ${ this.url } - ${ this.response.status } ${ this.response.message } - ${ delta }ms`);
};
}
module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NvdXJjZS9hcHBsaWNhdGlvbi9taWRkbGV3YXJlcy9sb2cuanMiXSwibmFtZXMiOlsic3RhcnRMb2dNaWRkbGV3YXJlIiwiYXBwbGljYXRpb24iLCJsb2dNaWRkbGV3YXJlIiwibmV4dCIsInN0YXJ0IiwiRGF0ZSIsImRlbHRhIiwibG9nIiwiZGVidWciLCJtZXRob2QiLCJ1cmwiLCJyZXNwb25zZSIsInN0YXR1cyIsIm1lc3NhZ2UiXSwibWFwcGluZ3MiOiI7Ozs7O2tCQUF3QkEsa0I7QUFBVCxTQUFTQSxrQkFBVCxDQUE4QkMsV0FBOUIsRUFBNEM7QUFDMUQsUUFBTyxVQUFXQyxhQUFYLENBQTJCQyxJQUEzQixFQUFrQztBQUN4QyxNQUFJQyxRQUFRLElBQUlDLElBQUosRUFBWjtBQUNBLFFBQU1GLElBQU47QUFDQSxNQUFJRyxRQUFRLElBQUlELElBQUosS0FBYUQsS0FBekI7QUFDQUgsY0FBWU0sR0FBWixDQUFnQkMsS0FBaEIsQ0FBdUIsdUJBQXZCLEVBQWlELElBQUVKLEtBQU0sUUFBSyxLQUFLSyxNQUFPLE1BQUcsS0FBS0MsR0FBSSxRQUFLLEtBQUtDLFFBQUwsQ0FBY0MsTUFBTyxNQUFHLEtBQUtELFFBQUwsQ0FBY0UsT0FBUSxRQUFLUCxLQUFNLEtBQXBKO0FBQ0EsRUFMRDtBQU1BIiwiZmlsZSI6ImxvZy5qcyIsInNvdX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xRQUFRLElBQUlELElBQUosS0FBYUQsS0FBekI7QUFDQUgsY0FBWU0sR0FBWixDQUFnQkMsS0FBaEIsQ0FBdUIsSUFBRUosS0FBTSxRQUFLLEtBQUtLLE1BQU8sTUFBRyxLQUFLQyxHQUFJLFFBQUssS0FBS0MsUUFBTCxDQUFjQyxNQUFPLE1BQUcsS0FBS0QsUUFBTCxDQUFjRSxPQUFRLFFBQUtQLEtBQU0sS0FBMUg7QUFDQSxFQUxEO0FBTUEiLCJmaWxlIjoibG9nLmpzIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gc3RhcnRMb2dNaWRkbGV3YXJlICggYXBwbGljYXRpb24gKSB7XG5cdHJldHVybiBmdW5jdGlvbiAqIGxvZ01pZGRsZXdhcmUgKCBuZXh0ICkge1xuXHRcdGxldCBzdGFydCA9IG5ldyBEYXRlKCk7XG5cdFx0eWllbGQgbmV4dDtcblx0XHRsZXQgZGVsdGEgPSBuZXcgRGF0ZSgpIC0gc3RhcnQ7XG5cdFx0YXBwbGljYXRpb24ubG9nLmRlYnVnKGAke3N0YXJ0fSAtICR7dGhpcy5tZXRob2R9ICR7dGhpcy51cmx9IC0gJHt0aGlzLnJlc3BvbnNlLnN0YXR1c30gJHt0aGlzLnJlc3BvbnNlLm1lc3NhZ2V9IC0gJHtkZWx0YX1tc2ApO1xuXHR9O1xufVxuIl19

@@ -33,6 +33,6 @@ 'use strict';

if (this.status === 200) {
application.log.debug(`[application:request] Matched ${ this.params.path } on ${ root }`);
application.log.debug(`Matched ${ this.params.path } on ${ root }`);
break;
} else {
application.log.debug(`[application:request] No match for ${ this.params.path } on ${ root }`);
application.log.debug(`No match for ${ this.params.path } on ${ root }`);
}

@@ -43,2 +43,2 @@ }

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NvdXJjZS9hcHBsaWNhdGlvbi9yb3V0ZXM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x2ZShwcm9jZXNzLmN3ZCgpLCBhcHBsaWNhdGlvbi5jb25maWd1cmF0aW9uLnBhdGhzLnN0YXRpYyksIC4uLnJvb3RzXTtcblx0cm9vdHMgPSByb290cy5tYXAoKGl0ZW0pID0+IHJlc29sdmUoYXBwbGljYXRpb24ucnVudGltZS5jd2QsIGl0ZW0pKTtcblx0cm9vdHMucHVzaChyb290KTtcblxuXHRyZXR1cm4gZnVuY3Rpb24gKiBzdGF0aWNSb3V0ZSAoKSB7XG5cdFx0dGhpcy5hc3NlcnQodGhpcy5wYXJhbXMucGF0aCwgNDA0KTtcblxuXHRcdGZvciAobGV0IHJvb3Qgb2Ygcm9vdHMpIHtcblx0XHRcdHlpZWxkIHNlbmQodGhpcywgdGhpcy5wYXJhbXMucGF0aCwge3Jvb3R9KTtcblxuXHRcdFx0aWYgKHRoaXMuc3RhdHVzID09PSAyMDApIHtcblx0XHRcdFx0YXBwbGljYXRpb24ubG9nLmRlYnVnKGBNYXRjaGVkICR7dGhpcy5wYXJhbXMucGF0aH0gb24gJHtyb290fWApO1xuXHRcdFx0XHRicmVhaztcblx0XHRcdH0gZWxzZSB7XG5cdFx0XHRcdGFwcGxpY2F0aW9uLmxvZy5kZWJ1ZyhgTm8gbWF0Y2ggZm9yICR7dGhpcy5wYXJhbXMucGF0aH0gb24gJHtyb290fWApO1xuXHRcdFx0fVxuXHRcdH1cblx0fTtcbn1cbiJdfQ==

@@ -10,4 +10,4 @@ 'use strict';

level: level,
colorize: true,
timestamp: true,
colorize: process.stdout.isTTY,
timestamp: !process.stdout.isTTY,
showLevel: true,

@@ -30,2 +30,2 @@ colors: {

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NvdXJjZS9jb25maWd1cmF0aW9uL2xvZy5qcyJdLCJuYW1lcyI6WyJsZXZlbCIsInByb2Nlc3MiLCJlbnYiLCJCT0lMRVJQTEFURVNFUlZFUl9MT0dfTEVW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Wc6ICdibHVlJyxcblx0XHRpbmZvOiAnZ3JlZW4nLFxuXHRcdGRhdGE6ICdncmV5Jyxcblx0XHRoZWxwOiAnY3lhbicsXG5cdFx0d2FybjogJ3llbGxvdycsXG5cdFx0ZXJyb3I6ICdyZWQnXG5cdH1cbn07XG5cbmV4cG9ydCBkZWZhdWx0IGxvZztcbiJdfQ==
{
"name": "boilerplate-server",
"version": "0.12.1",
"version": "0.12.2",
"description": "Lean and mean server module intended to get you kicking on the edge of things real fast.",

@@ -5,0 +5,0 @@ "main": "library/",

@@ -24,6 +24,6 @@ import koa from 'koa';

if (application.router) {
application.log.debug('[application]', `Kicking off router ...`);
application.log.debug(`Kicking off router ...`);
fuel.use(application.router.routes());
fuel.use(application.router.allowedMethods());
application.log.debug('[application]', `Kicked off router ...`);
application.log.debug(`Kicked off router ...`);
}

@@ -81,3 +81,3 @@

application.log.debug(`[application:subapplication] Mounting ${mountable.name} on ${path}`);
application.log.debug(`Mounting ${mountable.name} on ${path}`);

@@ -84,0 +84,0 @@ if (path === '/') {

@@ -13,3 +13,3 @@ import startLogger from './logger';

start(application) {
const logger = startLogger(`[${application.name}]`, this.configuration);
const logger = startLogger('', this.configuration);

@@ -16,0 +16,0 @@ application.log.silly('Draining boot logger queue...');

@@ -6,4 +6,4 @@ export default function startLogMiddleware ( application ) {

let delta = new Date() - start;
application.log.debug( '[application:request]', `${start} - ${this.method} ${this.url} - ${this.response.status} ${this.response.message} - ${delta}ms` );
application.log.debug(`${start} - ${this.method} ${this.url} - ${this.response.status} ${this.response.message} - ${delta}ms`);
};
}

@@ -19,6 +19,6 @@ import {resolve} from 'path';

if (this.status === 200) {
application.log.debug(`[application:request] Matched ${this.params.path} on ${root}`);
application.log.debug(`Matched ${this.params.path} on ${root}`);
break;
} else {
application.log.debug(`[application:request] No match for ${this.params.path} on ${root}`);
application.log.debug(`No match for ${this.params.path} on ${root}`);
}

@@ -25,0 +25,0 @@ }

@@ -9,4 +9,4 @@ const level = process.env.BOILERPLATESERVER_LOG_LEVEL ||

level,
colorize: true,
timestamp: true,
colorize: process.stdout.isTTY,
timestamp: !process.stdout.isTTY,
showLevel: true,

@@ -13,0 +13,0 @@ colors: {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc