@atlaspack/reporter-cli 2.12.1-dev.3450 → 2.12.1-dev.3478

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": "@atlaspack/reporter-cli",
3
- "version": "2.12.1-dev.3450+58845ef87",
3
+ "version": "2.12.1-dev.3478+5fd2da535",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -13,7 +13,7 @@
13
13
  "source": "src/CLIReporter.js",
14
14
  "engines": {
15
15
  "node": ">= 16.0.0",
16
- "parcel": "^2.12.1-dev.3450+58845ef87"
16
+ "parcel": "^2.12.1-dev.3478+5fd2da535"
17
17
  },
18
18
  "targets": {
19
19
  "main": {
@@ -27,19 +27,19 @@
27
27
  }
28
28
  },
29
29
  "dependencies": {
30
- "@atlaspack/plugin": "2.12.1-dev.3450+58845ef87",
31
- "@atlaspack/types": "2.12.1-dev.3450+58845ef87",
32
- "@atlaspack/utils": "2.12.1-dev.3450+58845ef87",
30
+ "@atlaspack/plugin": "2.12.1-dev.3478+5fd2da535",
31
+ "@atlaspack/types": "2.12.1-dev.3478+5fd2da535",
32
+ "@atlaspack/utils": "2.12.1-dev.3478+5fd2da535",
33
33
  "chalk": "^4.1.0",
34
34
  "term-size": "^2.2.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@atlaspack/feature-flags": "2.12.1-dev.3450+58845ef87",
37
+ "@atlaspack/feature-flags": "2.12.1-dev.3478+5fd2da535",
38
38
  "filesize": "^6.1.0",
39
39
  "nullthrows": "^1.1.1",
40
40
  "ora": "^5.2.0",
41
41
  "string-width": "^4.2.0",
42
42
  "wrap-ansi": "^7.0.0"
43
43
  },
44
- "gitHead": "58845ef87446fcedb7d7d8876440c64184645cbb"
44
+ "gitHead": "5fd2da535ecbe096d57e03aec15e80bb1d7601f7"
45
45
  }
@@ -188,7 +188,7 @@ export async function _report(
188
188
  case 'warn':
189
189
  if (
190
190
  event.diagnostics.some(
191
- diagnostic => !seenWarnings.has(diagnostic.message),
191
+ (diagnostic) => !seenWarnings.has(diagnostic.message),
192
192
  )
193
193
  ) {
194
194
  await writeDiagnostic(options, event.diagnostics, 'yellow', true);
@@ -31,7 +31,7 @@ export default async function bundleReport(
31
31
  assetCount > 0
32
32
  ? await generateBuildMetrics(bundleList, fs, projectRoot)
33
33
  : {
34
- bundles: bundleList.map(b => {
34
+ bundles: bundleList.map((b) => {
35
35
  return {
36
36
  filePath: nullthrows(b.filePath),
37
37
  size: b.stats.size,
@@ -57,9 +57,9 @@ describe('CLIReporter', () => {
57
57
  stderrOutput = '';
58
58
 
59
59
  let mockStdout = new PassThrough();
60
- mockStdout.on('data', d => (stdoutOutput += stripAnsi(d.toString())));
60
+ mockStdout.on('data', (d) => (stdoutOutput += stripAnsi(d.toString())));
61
61
  let mockStderr = new PassThrough();
62
- mockStderr.on('data', d => (stderrOutput += stripAnsi(d.toString())));
62
+ mockStderr.on('data', (d) => (stderrOutput += stripAnsi(d.toString())));
63
63
  _setStdio(mockStdout, mockStderr);
64
64
 
65
65
  await _report(