backtrace-service
Advanced tools
Comparing version 3.3.1 to 3.3.2
@@ -9,3 +9,3 @@ export declare class PackageUtils { | ||
*/ | ||
static get packageDir(): string | undefined; | ||
static get packageDir(): string; | ||
/** | ||
@@ -12,0 +12,0 @@ * Return a package name in the snapshot |
@@ -32,3 +32,3 @@ "use strict"; | ||
if (!packageName) { | ||
return undefined; | ||
throw new Error('Cannote get package name from the package path! Invalid package setup.'); | ||
} | ||
@@ -60,7 +60,3 @@ return path_1.default.join('/snapshot', packageName); | ||
get: function () { | ||
var packageDir = this.packageDir; | ||
if (!packageDir) { | ||
return undefined; | ||
} | ||
return path_1.default.join(packageDir, 'package.json'); | ||
return path_1.default.join(this.packageDir, 'package.json'); | ||
}, | ||
@@ -67,0 +63,0 @@ enumerable: false, |
{ | ||
"name": "backtrace-service", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "Common tools for Backtrace Node services", | ||
@@ -5,0 +5,0 @@ "author": "Backtrace", |
Sorry, the diff of this file is not supported yet
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
215112
3130