Comparing version 0.0.22 to 0.0.23
@@ -0,1 +1,2 @@ | ||
/*eslint no-console: 0 */ | ||
'use strict' | ||
@@ -68,3 +69,6 @@ | ||
stop (err) { | ||
if (err) this.log.error('\n', err.stack) | ||
if (err) { | ||
console.trace(err) | ||
this.log.error('\n', err.stack || '') | ||
} | ||
this.emit('trails:stop') | ||
@@ -76,3 +80,3 @@ | ||
const unloadPromises = Object.keys(this.packs).map(packName => { | ||
const unloadPromises = Object.keys(this.packs || { }).map(packName => { | ||
const pack = this.packs[packName] | ||
@@ -79,0 +83,0 @@ return pack.unload() |
@@ -21,4 +21,7 @@ /*eslint no-console: 0 */ | ||
}) | ||
process.on('uncaughtException', err => app.stop(err)) | ||
process.on('uncaughtException', err => { | ||
console.error('uncaughtException', err) | ||
console.trace() | ||
app.stop(err) | ||
}) | ||
app.bound = true | ||
@@ -25,0 +28,0 @@ } |
{ | ||
"name": "trails", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"description": "Modern MVC Web Framework for Node.js", | ||
@@ -58,5 +58,3 @@ "keywords": [ | ||
"homepage": "http://trailsjs.io", | ||
"dependencies": { | ||
"i18next": "^2.0.14" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -63,0 +61,0 @@ "eslint": "next", |
@@ -7,2 +7,3 @@ [![Trails.js][trails-image]][trails-url] | ||
[![Dependency Status][daviddm-image]][daviddm-url] | ||
[![Code Climate][codeclimate-image]][codeclimate-url] | ||
[![Follow @trailsjs on Twitter][twitter-image]][twitter-url] | ||
@@ -124,2 +125,4 @@ | ||
[daviddm-url]: https://david-dm.org/trailsjs/trails | ||
[codeclimate-image]: https://img.shields.io/codeclimate/github/trailsjs/trails.svg?style=flat-square | ||
[codeclimate-url]: https://codeclimate.com/github/trailsjs/trails | ||
[gitter-image]: http://img.shields.io/badge/+%20GITTER-JOIN%20CHAT%20%E2%86%92-1DCE73.svg?style=flat-square | ||
@@ -126,0 +129,0 @@ [gitter-url]: https://gitter.im/trailsjs/trails |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
39458
0
698
131
0
- Removedi18next@^2.0.14
- Removedi18next@2.5.1(transitive)