better debug

This commit is contained in:
adueck 2023-12-18 16:48:40 +04:00
parent 014de4007f
commit 2aaec630fe
6 changed files with 10 additions and 8 deletions

4
package-lock.json generated
View File

@ -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": {

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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),