@conformetry/languages 0.0.14 → 0.0.16

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.16 (2026-10-13)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated conformetry-configuration to 0.0.17
6
+ - Updated conformetry-core to 0.0.16
7
+
8
+ ## 0.0.15 (2026-10-13)
9
+
10
+ ### 🧱 Updated Dependencies
11
+
12
+ - Updated conformetry-configuration to 0.0.16
13
+ - Updated conformetry-core to 0.0.15
14
+
1
15
  ## 0.0.14 (2026-10-12)
2
16
 
3
17
  ### 🧱 Updated Dependencies
package/README.md CHANGED
@@ -753,7 +753,7 @@ graph LR
753
753
  ### Project
754
754
 
755
755
  ![Lines of Code](https://img.shields.io/badge/Lines_of_Code-7501-22c55e?style=flat-square)
756
- ![Repository Size](https://img.shields.io/badge/Repository_Size-247.06_kB-6b7280?style=flat-square)
756
+ ![Repository Size](https://img.shields.io/badge/Repository_Size-247.34_kB-6b7280?style=flat-square)
757
757
  ![Folders](https://img.shields.io/badge/Folders-14-4a4a4a?style=flat-square)
758
758
  ![Source Files](https://img.shields.io/badge/Source_Files-93-3178c6?style=flat-square)
759
759
 
@@ -941,16 +941,16 @@ graph LR
941
941
  ### Markdown
942
942
 
943
943
  ![Markdown Files](https://img.shields.io/badge/Markdown_Files-2-083fa1?style=flat-square)
944
- ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-299-1f6feb?style=flat-square)
944
+ ![Markdown Lines](https://img.shields.io/badge/Markdown_Lines-313-1f6feb?style=flat-square)
945
945
  ![H1](https://img.shields.io/badge/H1-1-7c3aed?style=flat-square)
946
- ![H2](https://img.shields.io/badge/H2-17-8b5cf6?style=flat-square)
947
- ![H3](https://img.shields.io/badge/H3-24-a78bfa?style=flat-square)
946
+ ![H2](https://img.shields.io/badge/H2-19-8b5cf6?style=flat-square)
947
+ ![H3](https://img.shields.io/badge/H3-26-a78bfa?style=flat-square)
948
948
  ![H4](https://img.shields.io/badge/H4-0-c4b5fd?style=flat-square)
949
949
  ![H5](https://img.shields.io/badge/H5-0-ddd6fe?style=flat-square)
950
950
  ![H6](https://img.shields.io/badge/H6-0-ede9fe?style=flat-square)
951
- ![Paragraphs](https://img.shields.io/badge/Paragraphs-67-64748b?style=flat-square)
952
- ![Lists](https://img.shields.io/badge/Lists-18-16a34a?style=flat-square)
953
- ![List Items](https://img.shields.io/badge/List_Items-47-22c55e?style=flat-square)
951
+ ![Paragraphs](https://img.shields.io/badge/Paragraphs-71-64748b?style=flat-square)
952
+ ![Lists](https://img.shields.io/badge/Lists-20-16a34a?style=flat-square)
953
+ ![List Items](https://img.shields.io/badge/List_Items-51-22c55e?style=flat-square)
954
954
  ![Task List Items](https://img.shields.io/badge/Task_List_Items-0-4ade80?style=flat-square)
955
955
  ![Tables](https://img.shields.io/badge/Tables-2-0284c7?style=flat-square)
956
956
  ![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.15",
8
- "@conformetry/core": "0.0.14",
7
+ "@conformetry/configuration": "0.0.17",
8
+ "@conformetry/core": "0.0.16",
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.14"
69
+ "version": "0.0.16"
70
70
  }