@adeu/core 1.19.0 → 1.19.1
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/dist/index.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/engine.ts +1 -2
package/dist/index.cjs
CHANGED
|
@@ -3085,9 +3085,8 @@ var RedlineEngine = class {
|
|
|
3085
3085
|
let raw_sub_edits = [];
|
|
3086
3086
|
try {
|
|
3087
3087
|
raw_sub_edits = generate_edits_from_text(target_str, new_str);
|
|
3088
|
-
console.log("_word_diff_sub_edits RAW_SUB_EDITS:", JSON.stringify(raw_sub_edits, null, 2));
|
|
3089
3088
|
} catch (e) {
|
|
3090
|
-
console.
|
|
3089
|
+
console.error("generate_edits_from_text failed, falling back to wholesale edit", e);
|
|
3091
3090
|
raw_sub_edits = [];
|
|
3092
3091
|
}
|
|
3093
3092
|
if (!raw_sub_edits || raw_sub_edits.length === 0) {
|