@soos-io/api-client
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -10,3 +10,2 @@ import { IntegrationType } from "../enums"; | ||
scriptVersion: string; | ||
verbose: boolean; | ||
} | ||
@@ -24,4 +23,4 @@ declare abstract class ArgumentParserBase { | ||
protected ensureRequiredArguments(args: any): void; | ||
protected checkDeprecatedArguments(args: any): void; | ||
protected checkDeprecatedArguments(_args: any): void; | ||
} | ||
export { ArgumentParserBase, ICommonArguments }; |
@@ -8,3 +8,2 @@ "use strict"; | ||
const utilities_1 = require("../utilities"); | ||
const logging_1 = require("../logging"); | ||
const getIntegrateUrl = (scanType) => `${constants_1.SOOS_CONSTANTS.Urls.App.Home}integrate/${scanType == enums_2.ScanType.CSA ? "containers" : (scanType ?? enums_2.ScanType.SCA).toLowerCase()}`; | ||
@@ -59,8 +58,2 @@ class ArgumentParserBase { | ||
}); | ||
this.argumentParser.add_argument("--verbose", { | ||
help: "DEPRECATED - Change logLevel to DEBUG. This parameter has no effect.", | ||
action: "store_true", | ||
default: false, | ||
required: false, | ||
}); | ||
} | ||
@@ -93,8 +86,5 @@ addEnumArgument(parser, argName, enumObject, options = {}, allowMultipleValues = false) { | ||
} | ||
checkDeprecatedArguments(args) { | ||
if (args.verbose) { | ||
logging_1.soosLogger.warn("verbose is deprecated and has no effect. Set the log level to DEBUG for the same effect."); | ||
} | ||
checkDeprecatedArguments(_args) { | ||
} | ||
} | ||
exports.ArgumentParserBase = ArgumentParserBase; |
{ | ||
"name": "@soos-io/api-client", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "This is the SOOS API Client for registered clients leveraging the various integrations to the SOOS platform.", | ||
@@ -65,4 +65,4 @@ "main": "dist/index.js", | ||
"@types/argparse": "^2.0.16", | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^20.16.5", | ||
"@types/jest": "^29.5.13", | ||
"@types/node": "^20.16.10", | ||
"jest": "^29.1.2", | ||
@@ -69,0 +69,0 @@ "prettier": "^3.3.3", |
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
323202
3139