@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 +14 -0
- package/README.md +7 -7
- package/dist/src/index.js +8 -15
- package/package.json +3 -3
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
|

|
|
756
|
-

|
|
757
757
|

|
|
758
758
|

|
|
759
759
|
|
|
@@ -941,16 +941,16 @@ graph LR
|
|
|
941
941
|
### Markdown
|
|
942
942
|
|
|
943
943
|

|
|
944
|
-

|
|
945
945
|

|
|
946
|
-

|
|
947
|
+

|
|
948
948
|

|
|
949
949
|

|
|
950
950
|

|
|
951
|
-

|
|
952
|
+

|
|
953
|
+

|
|
954
954
|

|
|
955
955
|

|
|
956
956
|

|
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.
|
|
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.
|
|
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
|
-
|
|
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
|
-
|
|
956
|
-
|
|
957
|
-
|
|
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.
|
|
8
|
-
"@conformetry/core": "0.0.
|
|
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.
|
|
69
|
+
"version": "0.0.16"
|
|
70
70
|
}
|