@codometer/measurement 0.0.13 → 0.0.15

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/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## 0.0.15 (2026-10-13)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated codometer-configuration to 0.0.15
6
+ - Updated codometer-languages to 0.0.15
7
+ - Updated codometer-core to 0.0.15
8
+
9
+ ## 0.0.14 (2026-10-12)
10
+
11
+ ### 🧱 Updated Dependencies
12
+
13
+ - Updated codometer-configuration to 0.0.14
14
+ - Updated codometer-languages to 0.0.14
15
+ - Updated codometer-core to 0.0.14
16
+
1
17
  ## 0.0.13 (2026-10-12)
2
18
 
3
19
  ### 🧱 Updated Dependencies
package/README.md CHANGED
@@ -346,13 +346,13 @@ None.
346
346
  ### Project
347
347
 
348
348
  ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-6275-22c55e?style=flat-square)
349
- ![Repository Size](https://img.shields.io/badge/Repository_Size-206.41_kB-6b7280?style=flat-square)
349
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-206.76_kB-6b7280?style=flat-square)
350
350
  ![Folders](https://img.shields.io/badge/Folders-9-4a4a4a?style=flat-square)
351
351
  ![Source Files](https://img.shields.io/badge/Source_Files-53-3178c6?style=flat-square)
352
352
 
353
353
  ### Measured Targets
354
354
 
355
- ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-8.93_kB_gzip-6b7280?style=flat-square)
355
+ ![Compiled JavaScript Size](https://img.shields.io/badge/Compiled_JavaScript_Size-8.91_kB_gzip-6b7280?style=flat-square)
356
356
 
357
357
  ### TypeScript
358
358
 
@@ -534,16 +534,16 @@ None.
534
534
  ### Markdown
535
535
 
536
536
  ![Markdown Files](https://img.shields.io/badge/Markdown_Files-2-083fa1?style=flat-square)
537
- ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-297-1f6feb?style=flat-square)
537
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-313-1f6feb?style=flat-square)
538
538
  ![H1](https://img.shields.io/badge/H1-1-7c3aed?style=flat-square)
539
- ![H2](https://img.shields.io/badge/H2-16-8b5cf6?style=flat-square)
540
- ![H3](https://img.shields.io/badge/H3-22-a78bfa?style=flat-square)
539
+ ![H2](https://img.shields.io/badge/H2-18-8b5cf6?style=flat-square)
540
+ ![H3](https://img.shields.io/badge/H3-24-a78bfa?style=flat-square)
541
541
  ![H4](https://img.shields.io/badge/H4-0-c4b5fd?style=flat-square)
542
542
  ![H5](https://img.shields.io/badge/H5-0-ddd6fe?style=flat-square)
543
543
  ![H6](https://img.shields.io/badge/H6-0-ede9fe?style=flat-square)
544
- ![Paragraphs](https://img.shields.io/badge/Paragraphs-73-64748b?style=flat-square)
545
- ![Lists](https://img.shields.io/badge/Lists-16-16a34a?style=flat-square)
546
- ![List Items](https://img.shields.io/badge/List_Items-53-22c55e?style=flat-square)
544
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-79-64748b?style=flat-square)
545
+ ![Lists](https://img.shields.io/badge/Lists-18-16a34a?style=flat-square)
546
+ ![List Items](https://img.shields.io/badge/List_Items-59-22c55e?style=flat-square)
547
547
  ![Task List Items](https://img.shields.io/badge/Task_List_Items-0-4ade80?style=flat-square)
548
548
  ![Tables](https://img.shields.io/badge/Tables-2-0284c7?style=flat-square)
549
549
  ![Table Rows](https://img.shields.io/badge/Table_Rows-10-0ea5e9?style=flat-square)
package/dist/src/index.js CHANGED
@@ -7,12 +7,12 @@ import { ConfigurationModule as p, DEFAULT_INPUT_NAME as m, REPOSITORY_ROOT_MARK
7
7
  import { LanguagesModule as te, LanguagesService as h } from "@codometer/languages";
8
8
  import { brotliCompressSync as ne, constants as re, gzipSync as g } from "node:zlib";
9
9
  //#endregion
10
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorateMetadata.js
10
+ //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateMetadata.js
11
11
  function __decorateMetadata(e, t) {
12
12
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
13
13
  }
14
14
  //#endregion
15
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorate.js
15
+ //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
16
16
  function __decorate(e, t, n, r) {
17
17
  var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
18
18
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
@@ -143,11 +143,7 @@ var y = /^(\p{Extended_Pictographic}️?(?:‍\p{Extended_Pictographic}️?)*)\s
143
143
  });
144
144
  }
145
145
  static logToStandardError() {
146
- if (x.rootLogger !== void 0) {
147
- process.emitWarning("LoggerService.logToStandardError() was called after the first log line, so log lines still go to standard output and anything piping that stream will read them as data. Call it as the first statement of the application's bootstrap.");
148
- return;
149
- }
150
- x.writesToStandardError = !0;
146
+ x.rootLogger === void 0 ? x.writesToStandardError = !0 : process.emitWarning("LoggerService.logToStandardError() was called after the first log line, so log lines still go to standard output and anything piping that stream will read them as data. Call it as the first statement of the application's bootstrap.");
151
147
  }
152
148
  assertConventionalMessage(e) {
153
149
  if (x.isProduction || this.shouldSkipConventionalMessageValidation(e.context)) return;
@@ -374,11 +370,7 @@ var I, L = I = class DiscoveryService {
374
370
  directory: "",
375
371
  filePath: a.resolve(e.workingDirectory, n)
376
372
  });
377
- if (r === void 0) {
378
- this.logger.warn("🙈 Skipped missing ignore file", void 0, { path: n });
379
- continue;
380
- }
381
- t.push(r);
373
+ r === void 0 ? this.logger.warn("🙈 Skipped missing ignore file", void 0, { path: n }) : t.push(r);
382
374
  }
383
375
  return t;
384
376
  }
@@ -647,11 +639,7 @@ K = __decorate([n(), __decorateMetadata("design:paramtypes", [])], K);
647
639
  var q = class MetricIndexService {
648
640
  constructor() {}
649
641
  addMetric(e) {
650
- if (e.index.metrics.has(e.metricPath)) {
651
- e.index.ambiguous.add(e.metricPath);
652
- return;
653
- }
654
- e.index.metrics.set(e.metricPath, e.value), e.instances !== void 0 && e.index.instances.set(e.metricPath, e.instances);
642
+ e.index.metrics.has(e.metricPath) ? e.index.ambiguous.add(e.metricPath) : (e.index.metrics.set(e.metricPath, e.value), e.instances !== void 0 && e.index.instances.set(e.metricPath, e.instances));
655
643
  }
656
644
  buildTargetIndex(e) {
657
645
  let t = {
@@ -701,13 +689,7 @@ var q = class MetricIndexService {
701
689
  }
702
690
  index(e) {
703
691
  let t = [], n = /* @__PURE__ */ new Map();
704
- for (let r of e) {
705
- if (n.has(r.name)) {
706
- t.push(this.describeDuplicate(r.name));
707
- continue;
708
- }
709
- n.set(r.name, this.buildTargetIndex(r));
710
- }
692
+ for (let r of e) n.has(r.name) ? t.push(this.describeDuplicate(r.name)) : n.set(r.name, this.buildTargetIndex(r));
711
693
  return {
712
694
  duplicates: t,
713
695
  indexes: n
package/package.json CHANGED
@@ -4,9 +4,9 @@
4
4
  "url": "https://github.com/organizzolini/codebase/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@codometer/configuration": "0.0.13",
8
- "@codometer/core": "0.0.13",
9
- "@codometer/languages": "0.0.13",
7
+ "@codometer/configuration": "0.0.15",
8
+ "@codometer/core": "0.0.15",
9
+ "@codometer/languages": "0.0.15",
10
10
  "@nestjs/common": "^11.1.21 || ^12.0.1",
11
11
  "ignore": "7.0.12",
12
12
  "pino": "^10.3.1",
@@ -63,5 +63,5 @@
63
63
  "strict": true
64
64
  },
65
65
  "types": "./dist/src/index.d.ts",
66
- "version": "0.0.13"
66
+ "version": "0.0.15"
67
67
  }