Compare commits

..

No commits in common. "c2cdd55f2dd9f2b4e8f5f72875a47e58cef54c5e" and "5aa5b1852a9926600351a7165016adb345a22637" have entirely different histories.

5 changed files with 9999 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@ -6,9 +6,7 @@ const words = require('./words.json');
const dictionary = require('./dictionary_old.json');
async function init() {
const notNameWords = words.filter((word) => word.charAt(0) === word.charAt(0).toLowerCase()); // don't include names for places, products, people, etc.
const definitions = Object.fromEntries(notNameWords.map((word) => {
const definitions = Object.fromEntries(words.map((word) => {
const normalizedWord = word.normalize('NFD').replace(/\p{Diacritic}/ug, '').toLowerCase().trim();
const definition = dictionary[normalizedWord];
const singular = normalizedWord.replace(/s$/, '');

View File

@ -73651,7 +73651,6 @@
"snubbed",
"snubbing",
"snubs",
"snuck",
"snuff",
"snuffbox",
"snuffboxes",

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "schat2-clive",
"version": "1.29.7",
"version": "1.29.6",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "schat2-clive",
"version": "1.29.7",
"version": "1.29.6",
"license": "ISC",
"dependencies": {
"better-sqlite3": "^8.3.0",

View File

@ -1,6 +1,6 @@
{
"name": "schat2-clive",
"version": "1.29.7",
"version": "1.29.6",
"description": "Game host for SChat 2-powered chat sites",
"main": "src/app.js",
"scripts": {