@conformetry/languages 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,17 @@
1
+ ## 0.0.15 (2026-10-13)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated conformetry-configuration to 0.0.16
6
+ - Updated conformetry-core to 0.0.15
7
+
8
+ ## 0.0.14 (2026-10-12)
9
+
10
+ ### 🧱 Updated Dependencies
11
+
12
+ - Updated conformetry-configuration to 0.0.15
13
+ - Updated conformetry-core to 0.0.14
14
+
1
15
  ## 0.0.13 (2026-10-12)
2
16
 
3
17
  ### 🧱 Updated Dependencies
package/README.md CHANGED
@@ -733,7 +733,7 @@ graph LR
733
733
  ### Project
734
734
 
735
735
  ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-7501-22c55e?style=flat-square)
736
- ![Repository Size](https://img.shields.io/badge/Repository_Size-246.92_kB-6b7280?style=flat-square)
736
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-247.20_kB-6b7280?style=flat-square)
737
737
  ![Folders](https://img.shields.io/badge/Folders-14-4a4a4a?style=flat-square)
738
738
  ![Source Files](https://img.shields.io/badge/Source_Files-93-3178c6?style=flat-square)
739
739
 
@@ -921,16 +921,16 @@ graph LR
921
921
  ### Markdown
922
922
 
923
923
  ![Markdown Files](https://img.shields.io/badge/Markdown_Files-2-083fa1?style=flat-square)
924
- ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-292-1f6feb?style=flat-square)
924
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-306-1f6feb?style=flat-square)
925
925
  ![H1](https://img.shields.io/badge/H1-1-7c3aed?style=flat-square)
926
- ![H2](https://img.shields.io/badge/H2-16-8b5cf6?style=flat-square)
927
- ![H3](https://img.shields.io/badge/H3-23-a78bfa?style=flat-square)
926
+ ![H2](https://img.shields.io/badge/H2-18-8b5cf6?style=flat-square)
927
+ ![H3](https://img.shields.io/badge/H3-25-a78bfa?style=flat-square)
928
928
  ![H4](https://img.shields.io/badge/H4-0-c4b5fd?style=flat-square)
929
929
  ![H5](https://img.shields.io/badge/H5-0-ddd6fe?style=flat-square)
930
930
  ![H6](https://img.shields.io/badge/H6-0-ede9fe?style=flat-square)
931
- ![Paragraphs](https://img.shields.io/badge/Paragraphs-65-64748b?style=flat-square)
932
- ![Lists](https://img.shields.io/badge/Lists-17-16a34a?style=flat-square)
933
- ![List Items](https://img.shields.io/badge/List_Items-45-22c55e?style=flat-square)
931
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-69-64748b?style=flat-square)
932
+ ![Lists](https://img.shields.io/badge/Lists-19-16a34a?style=flat-square)
933
+ ![List Items](https://img.shields.io/badge/List_Items-49-22c55e?style=flat-square)
934
934
  ![Task List Items](https://img.shields.io/badge/Task_List_Items-0-4ade80?style=flat-square)
935
935
  ![Tables](https://img.shields.io/badge/Tables-2-0284c7?style=flat-square)
936
936
  ![Table Rows](https://img.shields.io/badge/Table_Rows-10-0ea5e9?style=flat-square)
package/dist/src/index.js CHANGED
@@ -26,12 +26,12 @@ var ce = [
26
26
  "placeholder"
27
27
  ];
28
28
  //#endregion
29
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorateMetadata.js
29
+ //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorateMetadata.js
30
30
  function __decorateMetadata(e, t) {
31
31
  if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(e, t);
32
32
  }
33
33
  //#endregion
34
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/decorate.js
34
+ //#region \0@oxc-project+runtime@0.153.0/helpers/esm/decorate.js
35
35
  function __decorate(e, t, n, r) {
36
36
  var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
37
37
  if (typeof Reflect == "object" && typeof Reflect.decorate == "function") a = Reflect.decorate(e, t, n, r);
@@ -937,11 +937,7 @@ var xe = {
937
937
  let t = this.extractComments(e.instanceSourceFile), n = this.extractComments(e.templateSourceFile), r = [], i = 0;
938
938
  for (let e of n) {
939
939
  let n = Se.test(e.text), a = t.slice(i).findIndex((t) => n || t.text === e.text);
940
- if (a === -1) {
941
- r.push(e);
942
- continue;
943
- }
944
- i += a + 1;
940
+ a === -1 ? r.push(e) : i += a + 1;
945
941
  }
946
942
  return {
947
943
  missingComments: r,
@@ -951,14 +947,11 @@ var xe = {
951
947
  extractComments(e) {
952
948
  let t = /* @__PURE__ */ new Map(), visit = (n) => {
953
949
  let r = n.getChildren(e);
954
- if (r.length === 0) {
955
- for (let r of ae(e.text, n.getFullStart()) ?? []) t.set(r.pos, {
956
- position: r.pos,
957
- text: e.text.slice(r.pos, r.end).trim()
958
- });
959
- return;
960
- }
961
- for (let e of r) visit(e);
950
+ if (r.length === 0) for (let r of ae(e.text, n.getFullStart()) ?? []) t.set(r.pos, {
951
+ position: r.pos,
952
+ text: e.text.slice(r.pos, r.end).trim()
953
+ });
954
+ else for (let e of r) visit(e);
962
955
  };
963
956
  return visit(e), [...t.values()].toSorted((e, t) => e.position - t.position);
964
957
  }
package/package.json CHANGED
@@ -4,8 +4,8 @@
4
4
  "url": "https://github.com/organizzolini/codebase/issues"
5
5
  },
6
6
  "dependencies": {
7
- "@conformetry/configuration": "0.0.14",
8
- "@conformetry/core": "0.0.13",
7
+ "@conformetry/configuration": "0.0.16",
8
+ "@conformetry/core": "0.0.15",
9
9
  "@nestjs/common": "^11.1.21 || ^12.0.1",
10
10
  "jsonc-parser": "^3.3.1",
11
11
  "mdast-util-to-string": "^4.0.0",
@@ -66,5 +66,5 @@
66
66
  "strict": true
67
67
  },
68
68
  "types": "./dist/src/index.d.ts",
69
- "version": "0.0.13"
69
+ "version": "0.0.15"
70
70
  }