From 2aaec630feb20c9980abfa7cadf25f94b2fc9ef8 Mon Sep 17 00:00:00 2001 From: adueck Date: Mon, 18 Dec 2023 16:48:40 +0400 Subject: [PATCH] better debug --- package-lock.json | 4 ++-- package.json | 2 +- src/components/package-lock.json | 4 ++-- src/components/package.json | 2 +- src/lib/package.json | 2 +- src/lib/src/verb-info.ts | 4 +++- 6 files changed, 10 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index f0a0154..3689be6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "pashto-inflector", - "version": "7.0.4", + "version": "7.0.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "pashto-inflector", - "version": "7.0.4", + "version": "7.0.6", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index a0f52fa..6db6be3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pashto-inflector", - "version": "7.0.4", + "version": "7.0.6", "author": "lingdocs.com", "description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations", "homepage": "https://verbs.lingdocs.com", diff --git a/src/components/package-lock.json b/src/components/package-lock.json index bcb1db3..3c2029c 100644 --- a/src/components/package-lock.json +++ b/src/components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@lingdocs/ps-react", - "version": "7.0.4", + "version": "7.0.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@lingdocs/ps-react", - "version": "7.0.4", + "version": "7.0.6", "license": "MIT", "dependencies": { "@formkit/auto-animate": "^1.0.0-beta.3", diff --git a/src/components/package.json b/src/components/package.json index 5f07188..41038cc 100644 --- a/src/components/package.json +++ b/src/components/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/ps-react", - "version": "7.0.4", + "version": "7.0.6", "description": "Pashto inflector library module with React components", "main": "dist/components/library.js", "module": "dist/components/library.js", diff --git a/src/lib/package.json b/src/lib/package.json index 1343aeb..ba4de2a 100644 --- a/src/lib/package.json +++ b/src/lib/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/inflect", - "version": "7.0.4", + "version": "7.0.6", "description": "Pashto inflector library", "main": "dist/index.js", "types": "dist/lib/library.d.ts", diff --git a/src/lib/src/verb-info.ts b/src/lib/src/verb-info.ts index ab27c15..6877d1b 100644 --- a/src/lib/src/verb-info.ts +++ b/src/lib/src/verb-info.ts @@ -1142,7 +1142,9 @@ function getDynamicAuxVerb(entry: T.DictionaryEntryNoFVars): { const auxWordResult = dynamicAuxVerbs.find((a) => a.entry.p === auxWord); /* istanbul ignore next */ if (!auxWordResult) { - throw new Error(`unknown auxilary verb ${auxWord} for dynamic compound`); + throw new Error( + `${entry.p} - ${entry.ts} unknown auxilary verb ${auxWord} for dynamic compound` + ); } return { entry: removeFVarients(auxWordResult.entry),