@scrabble-solver/word-lists 2.15.6 → 2.15.8

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.
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.turkish = exports.spanish = exports.romanian = exports.polish = exports.persian = exports.french = exports.german = exports.english = void 0;
27
37
  exports.english = __importStar(require("./english"));
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getWordList = void 0;
4
4
  const types_1 = require("@scrabble-solver/types");
5
5
  const lib_1 = require("../lib");
6
- const FILE_URL = 'https://raw.githubusercontent.com/kamilmielnik/scrabble-dictionaries/master/turkish/turkish.txt';
6
+ const FILE_URL = 'https://raw.githubusercontent.com/kamilmielnik/scrabble-dictionaries/master/turkish/kelimelik.txt';
7
7
  const getWordList = async () => {
8
8
  return (0, lib_1.getTxtWordList)(FILE_URL, types_1.Locale.TR_TR);
9
9
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scrabble-solver/word-lists",
3
- "version": "2.15.6",
3
+ "version": "2.15.8",
4
4
  "description": "Scrabble Solver 2 - Word lists",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  "clean": "rimraf build/"
24
24
  },
25
25
  "dependencies": {
26
- "@scrabble-solver/types": "^2.15.6",
26
+ "@scrabble-solver/types": "^2.15.8",
27
27
  "cheerio": "^1.0.0",
28
28
  "follow-redirects": "^1.15.9",
29
29
  "latinize": "^1.0.0",
@@ -32,7 +32,7 @@
32
32
  "devDependencies": {
33
33
  "@types/follow-redirects": "^1.14.4",
34
34
  "@types/latinize": "^0.2.18",
35
- "@types/unzipper": "^0.10.10"
35
+ "@types/unzipper": "^0.10.11"
36
36
  },
37
- "gitHead": "5667158791e9edc65ae1e818302b230cf4ce1724"
37
+ "gitHead": "da3ecd2d83f48bcc6aa7d43a6dc937d103e1312d"
38
38
  }
@@ -2,7 +2,7 @@ import { Locale } from '@scrabble-solver/types';
2
2
 
3
3
  import { getTxtWordList } from '../lib';
4
4
 
5
- const FILE_URL = 'https://raw.githubusercontent.com/kamilmielnik/scrabble-dictionaries/master/turkish/turkish.txt';
5
+ const FILE_URL = 'https://raw.githubusercontent.com/kamilmielnik/scrabble-dictionaries/master/turkish/kelimelik.txt';
6
6
 
7
7
  export const getWordList = async (): Promise<string[]> => {
8
8
  return getTxtWordList(FILE_URL, Locale.TR_TR);