@code-pushup/core 0.13.1 → 0.14.0

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.
Files changed (2) hide show
  1. package/index.js +5 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1383,7 +1383,7 @@ function scoreReport(report) {
1383
1383
  )?.score;
1384
1384
  if (score == null) {
1385
1385
  throw new Error(
1386
- `Group has invalid ref - audit with slug ${slug}-${ref.slug}-audit not found`
1386
+ `Group has invalid ref - audit with slug ${ref.slug} from plugin ${slug} not found`
1387
1387
  );
1388
1388
  }
1389
1389
  return score;
@@ -1504,28 +1504,28 @@ function sortPlugins(plugins) {
1504
1504
  }
1505
1505
 
1506
1506
  // packages/utils/src/lib/verbose-utils.ts
1507
- function getLogVerbose(verbose) {
1507
+ function getLogVerbose(verbose = false) {
1508
1508
  return (...args) => {
1509
1509
  if (verbose) {
1510
1510
  console.info(...args);
1511
1511
  }
1512
1512
  };
1513
1513
  }
1514
- function getExecVerbose(verbose) {
1514
+ function getExecVerbose(verbose = false) {
1515
1515
  return (fn) => {
1516
1516
  if (verbose) {
1517
1517
  fn();
1518
1518
  }
1519
1519
  };
1520
1520
  }
1521
- var verboseUtils = (verbose) => ({
1521
+ var verboseUtils = (verbose = false) => ({
1522
1522
  log: getLogVerbose(verbose),
1523
1523
  exec: getExecVerbose(verbose)
1524
1524
  });
1525
1525
 
1526
1526
  // packages/core/package.json
1527
1527
  var name = "@code-pushup/core";
1528
- var version = "0.13.1";
1528
+ var version = "0.14.0";
1529
1529
 
1530
1530
  // packages/core/src/lib/implementation/execute-plugin.ts
1531
1531
  import chalk4 from "chalk";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code-pushup/core",
3
- "version": "0.13.1",
3
+ "version": "0.14.0",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "@code-pushup/models": "*",