anymock-openapi
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -29,4 +29,15 @@ "use strict"; | ||
}; | ||
console.log(name + "@" + version); | ||
var mounted = false; | ||
var verbose = (function () { | ||
var _a; | ||
try { | ||
if (((_a = process.env) === null || _a === void 0 ? void 0 : _a.ANYMOCK_VERBOSE) === 'false') { | ||
return false; | ||
} | ||
return true; | ||
} | ||
catch (error) { | ||
return true; | ||
} | ||
})(); | ||
var AnymockOpenapi = /** @class */ (function () { | ||
@@ -41,3 +52,3 @@ function AnymockOpenapi(anymockConfig, requestPipe) { | ||
this.scene = new scene_1.default(this); | ||
if (!mounted) { | ||
if (verbose && !mounted) { | ||
console.log(name + "@" + version); | ||
@@ -44,0 +55,0 @@ mounted = true; |
{ | ||
"name": "anymock-openapi", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"main": "lib/index.js", | ||
@@ -5,0 +5,0 @@ "types": "./lib/index.d.ts", |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
44046
643
2