@aikidosec/safe-chain 1.4.7 → 1.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aikidosec/safe-chain",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "scripts": {
5
5
  "test": "node --test --experimental-test-module-mocks 'src/**/*.spec.js'",
6
6
  "test:watch": "node --test --watch --experimental-test-module-mocks 'src/**/*.spec.js'",
@@ -209,7 +209,7 @@ export function getMalwareListBaseUrl() {
209
209
  const cliValue = cliArguments.getMalwareListBaseUrl();
210
210
  if (cliValue) {
211
211
  const url = removeTrailingSlashes(cliValue);
212
- ui.writeInformation(`Fetching malware lists from ${url} as defined by CLI argument --safe-chain-malware-list-base-url`);
212
+ ui.writeVerbose(`Fetching malware lists from ${url} as defined by CLI argument --safe-chain-malware-list-base-url`);
213
213
  return url;
214
214
  }
215
215
 
@@ -217,7 +217,7 @@ export function getMalwareListBaseUrl() {
217
217
  const envValue = environmentVariables.getMalwareListBaseUrl();
218
218
  if (envValue) {
219
219
  const url = removeTrailingSlashes(envValue);
220
- ui.writeInformation(`Fetching malware lists from ${url} as defined by environment variable SAFE_CHAIN_MALWARE_LIST_BASE_URL`);
220
+ ui.writeVerbose(`Fetching malware lists from ${url} as defined by environment variable SAFE_CHAIN_MALWARE_LIST_BASE_URL`);
221
221
  return url;
222
222
  }
223
223
 
@@ -225,14 +225,12 @@ export function getMalwareListBaseUrl() {
225
225
  const configValue = configFile.getMalwareListBaseUrl();
226
226
  if (configValue) {
227
227
  const url = removeTrailingSlashes(configValue);
228
- ui.writeInformation(`Fetching malware lists from ${url} as defined by config file (malwareListBaseUrl)`);
228
+ ui.writeVerbose(`Fetching malware lists from ${url} as defined by config file (malwareListBaseUrl)`);
229
229
  return url;
230
230
  }
231
231
 
232
232
  // Default
233
- const url = removeTrailingSlashes("https://malware-list.aikido.dev");
234
- ui.writeInformation(`Fetching malware lists from ${url} (default)`);
235
- return url;
233
+ return removeTrailingSlashes("https://malware-list.aikido.dev");
236
234
  }
237
235
 
238
236
  /**