Compare commits

..

2 Commits

Author SHA1 Message Date
adueck a91ae1b1f3 fix inflections display 2024-08-21 17:07:24 -04:00
adueck 50fe74aacd oops 2024-08-21 16:57:00 -04:00
8 changed files with 25 additions and 25 deletions

View File

@ -9,7 +9,7 @@
"version": "1.0.0",
"license": "ISC",
"dependencies": {
"@lingdocs/inflect": "7.6.5",
"@lingdocs/inflect": "7.7.1",
"base64url": "^3.0.1",
"bcryptjs": "^2.4.3",
"connect-redis": "^6.0.0",
@ -535,9 +535,9 @@
}
},
"node_modules/@lingdocs/inflect": {
"version": "7.6.5",
"resolved": "https://npm.lingdocs.com/@lingdocs/inflect/-/inflect-7.6.5.tgz",
"integrity": "sha512-z3MqiH0XdfMM4eBNcsmp/oczRVnTA+GL8SdIn62DIznyiQj0oJeK31iJGTKc9fni3rL7cvZwTBDA0eH8912+WA==",
"version": "7.7.1",
"resolved": "https://npm.lingdocs.com/@lingdocs/inflect/-/inflect-7.7.1.tgz",
"integrity": "sha512-/mGBVTQKJTBZrX4xN6KfZQh1rpzqwJ7itbDLQQYoNQgJj3S0rPd1P/M1t97KtzDzanmntEdelK2sh4rHo02SHg==",
"license": "GPL-3.0",
"dependencies": {
"fp-ts": "^2.16.0",
@ -3734,9 +3734,9 @@
}
},
"@lingdocs/inflect": {
"version": "7.6.5",
"resolved": "https://npm.lingdocs.com/@lingdocs/inflect/-/inflect-7.6.5.tgz",
"integrity": "sha512-z3MqiH0XdfMM4eBNcsmp/oczRVnTA+GL8SdIn62DIznyiQj0oJeK31iJGTKc9fni3rL7cvZwTBDA0eH8912+WA==",
"version": "7.7.1",
"resolved": "https://npm.lingdocs.com/@lingdocs/inflect/-/inflect-7.7.1.tgz",
"integrity": "sha512-/mGBVTQKJTBZrX4xN6KfZQh1rpzqwJ7itbDLQQYoNQgJj3S0rPd1P/M1t97KtzDzanmntEdelK2sh4rHo02SHg==",
"requires": {
"fp-ts": "^2.16.0",
"lokijs": "^1.5.12",

View File

@ -12,7 +12,7 @@
"author": "lingdocs.com",
"license": "ISC",
"dependencies": {
"@lingdocs/inflect": "7.6.5",
"@lingdocs/inflect": "7.7.1",
"base64url": "^3.0.1",
"bcryptjs": "^2.4.3",
"connect-redis": "^6.0.0",

View File

@ -7,7 +7,7 @@
"name": "functions",
"dependencies": {
"@aws-sdk/client-s3": "^3.474.0",
"@lingdocs/inflect": "7.6.5",
"@lingdocs/inflect": "7.7.1",
"@types/cors": "^2.8.10",
"@types/google-spreadsheet": "^3.0.2",
"@types/react": "^18.0.21",
@ -2222,9 +2222,9 @@
}
},
"node_modules/@lingdocs/inflect": {
"version": "7.6.5",
"resolved": "https://npm.lingdocs.com/@lingdocs/inflect/-/inflect-7.6.5.tgz",
"integrity": "sha512-z3MqiH0XdfMM4eBNcsmp/oczRVnTA+GL8SdIn62DIznyiQj0oJeK31iJGTKc9fni3rL7cvZwTBDA0eH8912+WA==",
"version": "7.7.1",
"resolved": "https://npm.lingdocs.com/@lingdocs/inflect/-/inflect-7.7.1.tgz",
"integrity": "sha512-/mGBVTQKJTBZrX4xN6KfZQh1rpzqwJ7itbDLQQYoNQgJj3S0rPd1P/M1t97KtzDzanmntEdelK2sh4rHo02SHg==",
"license": "GPL-3.0",
"dependencies": {
"fp-ts": "^2.16.0",
@ -10159,9 +10159,9 @@
}
},
"@lingdocs/inflect": {
"version": "7.6.5",
"resolved": "https://npm.lingdocs.com/@lingdocs/inflect/-/inflect-7.6.5.tgz",
"integrity": "sha512-z3MqiH0XdfMM4eBNcsmp/oczRVnTA+GL8SdIn62DIznyiQj0oJeK31iJGTKc9fni3rL7cvZwTBDA0eH8912+WA==",
"version": "7.7.1",
"resolved": "https://npm.lingdocs.com/@lingdocs/inflect/-/inflect-7.7.1.tgz",
"integrity": "sha512-/mGBVTQKJTBZrX4xN6KfZQh1rpzqwJ7itbDLQQYoNQgJj3S0rPd1P/M1t97KtzDzanmntEdelK2sh4rHo02SHg==",
"requires": {
"fp-ts": "^2.16.0",
"lokijs": "^1.5.12",

View File

@ -15,7 +15,7 @@
"main": "lib/functions/src/index.js",
"dependencies": {
"@aws-sdk/client-s3": "^3.474.0",
"@lingdocs/inflect": "7.6.5",
"@lingdocs/inflect": "7.7.1",
"@types/cors": "^2.8.10",
"@types/google-spreadsheet": "^3.0.2",
"@types/react": "^18.0.21",

View File

@ -23,7 +23,7 @@
"node": "20"
},
"dependencies": {
"@lingdocs/ps-react": "7.6.5",
"@lingdocs/ps-react": "7.7.1",
"lokijs": "^1.5.12",
"nano": "^9.0.5",
"passport-github2": "^0.1.12",

View File

@ -10,7 +10,7 @@
"license": "MIT",
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.2",
"@lingdocs/ps-react": "7.6.5",
"@lingdocs/ps-react": "7.7.1",
"bootstrap": "4.6.1",
"classnames": "^2.2.6",
"cron": "^1.8.2",
@ -3143,9 +3143,9 @@
}
},
"node_modules/@lingdocs/ps-react": {
"version": "7.6.5",
"resolved": "https://npm.lingdocs.com/@lingdocs/ps-react/-/ps-react-7.6.5.tgz",
"integrity": "sha512-ryH8Atg1DE+VcwMgb+HK84j0KgST2vSra384wfJCnk8sft+LixAbvNdrOG65huXtu7QW0IiLxu09eG0bwKgMYA==",
"version": "7.7.1",
"resolved": "https://npm.lingdocs.com/@lingdocs/ps-react/-/ps-react-7.7.1.tgz",
"integrity": "sha512-wNhyI/qitsxQJD3T8p+nhHhPVnvLICveCVxNxWm5WsLnI7/W57jwh4xjP4VkAr5yjFzvu7OR6jdwQ993Mn3dKQ==",
"license": "GPL-3.0",
"dependencies": {
"@formkit/auto-animate": "^1.0.0-beta.3",

View File

@ -11,7 +11,7 @@
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.2",
"@lingdocs/ps-react": "7.6.5",
"@lingdocs/ps-react": "7.7.1",
"bootstrap": "4.6.1",
"classnames": "^2.2.6",
"cron": "^1.8.2",

View File

@ -24,7 +24,7 @@ export default function EntryInflections({
if (inf === "error") {
return <h4>Error inflecting word!</h4>;
}
if (!inf || !inf.inflections) {
if (!inf) {
return null;
}
return (