js.documents 14.4.0 → 14.4.2
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.
|
@@ -103,7 +103,6 @@ function levenshteinDistance(a, b) {
|
|
|
103
103
|
}
|
|
104
104
|
function textSimilarity(a, b) {
|
|
105
105
|
const maxLength = Math.max(a.length, b.length);
|
|
106
|
-
if (maxLength === 0) return 1;
|
|
107
106
|
return 1 - levenshteinDistance(a, b) / maxLength;
|
|
108
107
|
}
|
|
109
108
|
function dropFuzzyRedrawnPasses(items) {
|
|
@@ -102,7 +102,6 @@ function levenshteinDistance(a, b) {
|
|
|
102
102
|
}
|
|
103
103
|
function textSimilarity(a, b) {
|
|
104
104
|
const maxLength = Math.max(a.length, b.length);
|
|
105
|
-
if (maxLength === 0) return 1;
|
|
106
105
|
return 1 - levenshteinDistance(a, b) / maxLength;
|
|
107
106
|
}
|
|
108
107
|
function dropFuzzyRedrawnPasses(items) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "js.documents",
|
|
3
|
-
"version": "14.4.
|
|
3
|
+
"version": "14.4.2",
|
|
4
4
|
"description": "Bidirectional docx/pptx <-> PDF conversion and a read+write editable OOXML document model, built on ooxml.js and Zod 4 codecs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"fflate": "0.8.3",
|
|
86
86
|
"markdown-codec": "11.1.3",
|
|
87
87
|
"odf.js": "11.1.3",
|
|
88
|
-
"ooxml.js": "12.2.
|
|
88
|
+
"ooxml.js": "12.2.7",
|
|
89
89
|
"pdf-codec": "5.2.11",
|
|
90
90
|
"ppt-codec": "2.2.3",
|
|
91
91
|
"rtf-codec": "8.1.3",
|