debugbear
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -30,3 +30,5 @@ import * as request from "request-promise"; | ||
}; | ||
// console.log(reqDetail); | ||
if (process.env.DEBUG) { | ||
console.log("Making API request", reqDetail); | ||
} | ||
@@ -33,0 +35,0 @@ try { |
@@ -59,2 +59,5 @@ "use strict"; | ||
}; | ||
if (process.env.DEBUG) { | ||
console.log("Making API request", reqDetail); | ||
} | ||
_b.label = 1; | ||
@@ -61,0 +64,0 @@ case 1: |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var runCli_1 = require("./runCli"); | ||
var analyzePage_1 = require("./analyzePage"); | ||
var makeApiClient_1 = require("./makeApiClient"); | ||
module.exports = makeApiClient_1.makeApiClient; | ||
module.exports.analyzePage = analyzePage_1.analyzePage; | ||
module.exports.analyzePage = function () { | ||
throw Error("analyzePage was removed in version 2 of the DebugBear API. Install version 0.1.12 or upgrade to v2: https://www.debugbear.com/docs/migrating-to-the-v2-api"); | ||
}; | ||
module.exports.__runCli = runCli_1.__runCli; |
import { __runCli } from "./runCli"; | ||
import { analyzePage } from "./analyzePage"; | ||
import { makeApiClient } from "./makeApiClient"; | ||
module.exports = makeApiClient; | ||
module.exports.analyzePage = analyzePage; | ||
module.exports.analyzePage = function() { | ||
throw Error( | ||
"analyzePage was removed in version 2 of the DebugBear API. Install version 0.1.12 or upgrade to v2: https://www.debugbear.com/docs/migrating-to-the-v2-api" | ||
); | ||
}; | ||
module.exports.__runCli = __runCli; |
{ | ||
"name": "debugbear", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "API/CLI for DebugBearAnalyze pages with DebugBear. Analyze pages on demand on demand or as part of your Continuous Integration process.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
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
42836
1009
7