@nuxtjs/youch
Advanced tools
Comparing version 4.2.2 to 4.2.3
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "4.2.2", | ||
"version": "4.2.3", | ||
"description": "Pretty error reporting for Node.js 🚀 (Modified for Nuxt.js & SSR Bundles)", | ||
@@ -9,0 +9,0 @@ "main": "src/Youch/index.js", |
@@ -24,6 +24,10 @@ 'use strict' | ||
constructor (error, request, readSource, baseURL, addCol) { | ||
this.error = error | ||
this.request = request | ||
this.readSource = typeof readSource === 'function' ? readSource : this._readSource | ||
this.baseURL = baseURL || '/' | ||
this.addCol = addCol === undefined ? true : Boolean(addCol) | ||
this.codeContext = 5 | ||
this._filterHeaders = ['cookie', 'connection'] | ||
this.error = error | ||
this.request = request | ||
this._filterFrames = [ | ||
@@ -34,5 +38,2 @@ /regenerator-runtime/, | ||
] | ||
this.readSource = typeof readSource === 'function' ? readSource : this._readSource | ||
this.baseURL = baseURL || '/' | ||
this.addCol = addCol | ||
} | ||
@@ -39,0 +40,0 @@ |
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
95889