From e54be5da0207ec9b7fdd416d6acc5122e7528823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Wed, 27 Feb 2019 14:36:13 +0100 Subject: [PATCH 1/9] Simplify compiling and running --- .gitignore | 1 + Dockerfile | 1 + package.json | 3 ++- tsconfig.json | 8 ++++++++ 4 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore index 95b863a..45930ac 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ config.json node_modules +build \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index aee081a..bd5f651 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,5 +4,6 @@ WORKDIR /server COPY . /server RUN npm install +RUN mkdir build && npm build CMD [ "npm", "start" ] diff --git a/package.json b/package.json index 45d8334..db087bc 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Language bot for matrix", "main": "index.js", "scripts": { - "start": "nodemon --exitcrash --ignore *.sqlite -x ts-node index.ts" + "build": "tsc", + "start": "node build/index.js" }, "author": "Daniel", "license": "ISC", diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..2463c80 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "outDir": "build" + }, + "files": [ + "index.ts" + ] +} \ No newline at end of file From f4a1354eaa04ef8cd4771da675aa495f8e1b3ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Wed, 27 Feb 2019 14:42:43 +0100 Subject: [PATCH 2/9] Update nix-shell to node-10 --- shell.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index d8ae26e..127c52e 100644 --- a/shell.nix +++ b/shell.nix @@ -1,7 +1,7 @@ with import {}; stdenv.mkDerivation { name = "node"; - buildInputs = [ nodejs ]; + buildInputs = [ nodejs-10_x ]; shellHook = '' export PATH="$PWD/node_modules/.bin/:$PATH" ''; From 46019faa9d9544cdb85fe63bb0878fd4d9016454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Wed, 27 Feb 2019 14:44:13 +0100 Subject: [PATCH 3/9] fix dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bd5f651..1bd4c2d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,6 @@ WORKDIR /server COPY . /server RUN npm install -RUN mkdir build && npm build +RUN mkdir build && npm run build CMD [ "npm", "start" ] From 8e36cc67bbf9d6c448fd94600ce816f90e227bdd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Wed, 27 Feb 2019 13:49:49 +0000 Subject: [PATCH 4/9] Add .gitlab-ci.yml --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..b605724 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,9 @@ +image: node:10-slim + +stages: + - build + +build: + script: + - npm install + - npm build From 66ef8c5c4060fb48e80073cae6947c4f4597029a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Wed, 27 Feb 2019 13:51:11 +0000 Subject: [PATCH 5/9] Update .gitlab-ci.yml --- .gitlab-ci.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b605724..78fb830 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,9 +1,5 @@ image: node:10-slim -stages: - - build - build: - script: - npm install - npm build From 13d76e06f3cea408572d6c1733ee45341f8b61de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Wed, 27 Feb 2019 13:51:28 +0000 Subject: [PATCH 6/9] Update .gitlab-ci.yml --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 78fb830..0c47dd2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ image: node:10-slim build: + script: - npm install - npm build From 771b8dba3d2c45513f304aff4d062d41f6de14a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Thu, 28 Feb 2019 13:08:25 +0100 Subject: [PATCH 7/9] Add Inuktitut Syllabics --- x2i/i-keys.yaml | 367 ++++++++++++++++++++++++++++++++++++++++++++++++ x2i/index.js | 101 ------------- x2i/index.ts | 3 + 3 files changed, 370 insertions(+), 101 deletions(-) create mode 100644 x2i/i-keys.yaml delete mode 100644 x2i/index.js diff --git a/x2i/i-keys.yaml b/x2i/i-keys.yaml new file mode 100644 index 0000000..6322fdd --- /dev/null +++ b/x2i/i-keys.yaml @@ -0,0 +1,367 @@ +--- +- raw: + - "[iI]{2}" + - "ᐄ" +- raw: + - "[iI]{1}" + - "ᐃ" +- raw: + - "[uU]{2}" + - "ᐆ" +- raw: + - "[uU]{1}" + - "ᐅ" +- raw: + - "[aA]{2}" + - "ᐋ" +- raw: + - "[aA]{1}" + - "ᐊ" + + +- raw: + - "[pP][iI][iI]" + - "ᐲ" +- raw: + - "[pP][iI]" + - "ᐱ" +- raw: + - "[pP][uU][uU]" + - "ᐴ" +- raw: + - "[pP][uU]" + - "ᐳ" +- raw: + - "[pP][aA][aA]" + - "ᐹ" +- raw: + - "[pP][aA]" + - "ᐸ" +- raw: + - "[pP]" + - "ᑉ" + +- raw: + - "[tT][iI][iI]" + - "ᑏ" +- raw: + - "[tT][iI]" + - "ᑎ" +- raw: + - "[tT][uU][uU]" + - "ᑑ" +- raw: + - "[tT][uU]" + - "ᑐ" +- raw: + - "[tT][aA][aA]" + - "ᑖ" +- raw: + - "[tT][aA]" + - "ᑕ" +- raw: + - "[pP]" + - "ᑦ" + + +- raw: + - "[kK][iI][iI]" + - "ᑮ" +- raw: + - "[kK][iI]" + - "ᑭ" +- raw: + - "[kK][uU][uU]" + - "ᑰ" +- raw: + - "[kK][uU]" + - "ᑯ" +- raw: + - "[kK][aA][aA]" + - "ᑳ" +- raw: + - "[kK][aA]" + - "ᑲ" +- raw: + - "[kK]" + - "ᒃ" + +- raw: + - "[gG][iI][iI]" + - "ᒌ" +- raw: + - "[gG][iI]" + - "ᒋ" +- raw: + - "[gG][uU][uU]" + - "ᒎ" +- raw: + - "[gG][uU]" + - "ᒍ" +- raw: + - "[gG][aA][aA]" + - "ᒑ" +- raw: + - "[gG][aA]" + - "ᒐ" +- raw: + - "[gG]" + - "ᒡ" + +- raw: + - "[mM][iI][iI]" + - "ᒦ" +- raw: + - "[mM][iI]" + - "ᒥ" +- raw: + - "[mM][uU][uU]" + - "ᒨ" +- raw: + - "[mM][uU]" + - "ᒧ" +- raw: + - "[mM][aA][aA]" + - "ᒫ" +- raw: + - "[mM][aA]" + - "ᒪ" +- raw: + - "[mM]" + - "ᒻ" + +- raw: + - "[nN][iI][iI]" + - "ᓃ" +- raw: + - "[nN][iI]" + - "ᓂ" +- raw: + - "[nN][uU][uU]" + - "ᓅ" +- raw: + - "[nN][uU]" + - "ᓄ" +- raw: + - "[nN][aA][aA]" + - "ᓈ" +- raw: + - "[nN][aA]" + - "ᓇ" +- raw: + - "[nN][gG][iI][iI]" + - "ᖐ" +- raw: + - "[nN][gG][iI]" + - "ᖏ" +- raw: + - "[nN][gG][uU][uU]" + - "ᖒ" +- raw: + - "[nN][gG][uU]" + - "ᖑ" +- raw: + - "[nN][gG][aA][aA]" + - "ᖔ" +- raw: + - "[nN][gG][aA]" + - "ᖓ" +- raw: + - "[nN][gG]" + - "ᖕ" +- raw: + - "[nN][n][g][iI][iI]" + - "ᙲ" +- raw: + - "[nN][n][g][iI]" + - "ᙱ" +- raw: + - "[nN][n][g][uU][uU]" + - "ᙴ" +- raw: + - "[nN][n][g][uU]" + - "ᙳ" + - raw: + - "[nN][n][g][aA][aA]" + - "ᙶ" +- raw: + - "[nN][n][g][aA]" + - "ᙵ" +- raw: + - "[nN][n][g]" + - "ᖖ" +- raw: + - "[nN]" + - "ᓐ" + +- raw: + - "[sS][iI][iI]" + - "ᓰ" +- raw: + - "[sS][iI]" + - "ᓯ" +- raw: + - "[sS][uU][uU]" + - "ᓲ" +- raw: + - "[sS][uU]" + - "ᓱ" +- raw: + - "[sS][aA][aA]" + - "ᓵ" +- raw: + - "[sS][aA]" + - "ᓴ" +- raw: + - "[sS]" + - "ᔅ" + +- raw: + - "[lL][iI][iI]" + - "ᓖ" +- raw: + - "[lL][iI]" + - "ᓕ" +- raw: + - "[lL][uU][uU]" + - "ᓘ" +- raw: + - "[lL][uU]" + - "ᓗ" +- raw: + - "[lL][aA][aA]" + - "ᓛ" +- raw: + - "[lL][aA]" + - "ᓚ" +- raw: + - "[lL]" + - "ᓪ" + +- raw: + - "[jJyY][iI][iI]" + - "ᔩ" +- raw: + - "[jJyY][iI]" + - "ᔨ" +- raw: + - "[jJyY][uU][uU]" + - "ᔫ" +- raw: + - "[jJyY][uU]" + - "ᔪ" +- raw: + - "[jJyY][aA][aA]" + - "ᔮ" +- raw: + - "[jJyY][aA]" + - "ᔭ" +- raw: + - "[jJyY]" + - "ᔾ" + +- raw: + - "[vV][iI][iI]" + - "ᕖ" +- raw: + - "[vV][iI]" + - "ᕕ" +- raw: + - "[vV][uU][uU]" + - "ᕘ" +- raw: + - "[vV][uU]" + - "ᕗ" +- raw: + - "[vV][aA][aA]" + - "ᕚ" +- raw: + - "[vV][aA]" + - "ᕙ" +- raw: + - "[vV]" + - "ᕝ" + +- raw: + - "[rR][iI][iI]" + - "ᕇ" +- raw: + - "[rR][iI]" + - "ᕆ" +- raw: + - "[rR][uU][uU]" + - "ᕉ" +- raw: + - "[rR][uU]" + - "ᕈ" +- raw: + - "[rR][aA][aA]" + - "ᕌ" +- raw: + - "[rR][aA]" + - "ᕋ" +- raw: + - "[rR]" + - "ᕐ" + +- raw: + - "[qQ][iI][iI]" + - "ᖀ" +- raw: + - "[qQ][iI]" + - "ᕿ" +- raw: + - "[qQ][uU][uU]" + - "ᖂ" +- raw: + - "[qQ][uU]" + - "ᖁ" +- raw: + - "[qQ][aA][aA]" + - "ᖄ" +- raw: + - "[qQ][aA]" + - "ᖃ" +- raw: + - "[qQ][qQ][iI][iI]" + - "ᖅᑮ" +- raw: + - "[qQ][qQ][iI]" + - "ᖅᑭ" +- raw: + - "[qQ][qQ][uU][uU]" + - "ᖅᑰ" +- raw: + - "[qQ][qQ][uU]" + - "ᖅᑯ" +- raw: + - "[qQ][qQ][aA][aA]" + - "ᖅᑳ" +- raw: + - "[qQ][aA][aA]" + - "ᖅᑲ" +- raw: + - "[qQ]" + - "ᖅ" + +- raw: + - "[łŁ&][iI][iI]" + - "ᖡ" +- raw: + - "[łŁ&][iI]" + - "ᖠ" +- raw: + - "[łŁ&][uU][uU]" + - "ᖣ" +- raw: + - "[łŁ&][uU]" + - "ᖢ" +- raw: + - "[łŁ&][aA][aA]" + - "ᖥ" +- raw: + - "[łŁ&][aA]" + - "ᖤ" +- raw: + - "[łŁ&]" + - "ᖦ" \ No newline at end of file diff --git a/x2i/index.js b/x2i/index.js deleted file mode 100644 index f22c733..0000000 --- a/x2i/index.js +++ /dev/null @@ -1,101 +0,0 @@ -"use strict"; -exports.__esModule = true; -var fs = require("fs"); -var yaml = require("js-yaml"); -var OuterXRegExp = require("xregexp"); -var regex = OuterXRegExp("(?:(^|[`\\p{White_Space}])) # must be preceded by whitespace or surrounded by code brackets\n ([A-Za-z]*) # key, to lower (2)\n ([/[]) # bracket left (3)\n (\\S|\\S.*?\\S) # body (4)\n ([/\\]]) # bracket right (5)\n (?=$|[`\\p{White_Space}\\pP]) # must be followed by a white space or punctuation", "gmx"); -var defaultMatchAction = function (left, match, right) { return left + match + right; }; -var matchType = { - p: { - join: function (_, match) { return "*" + match; }, - keys: readKeys("./x2i/apie-keys.yaml") - }, - x: { - keys: readKeys("./x2i/x2i-keys.yaml") - }, - z: { - keys: readKeys("./x2i/z2i-keys.yaml") - } -}; -/** - * Read translation keys from file. Escapes strings first. - * - * @param fpath File to key definitions. (yaml, utf8) - * @returns Compiled keys. - */ -function readKeys(fpath) { - return yaml - .safeLoad(fs.readFileSync(fpath, "utf8")) - .map(compileKey) - .filter(Boolean); -} -/** - * Compiles a plain object into a regexp thing. - * - * @param entry Regex and replacement pair, or delimited match object. - */ -function compileKey(entry) { - if (Array.isArray(entry)) { - var key = entry[0], val = entry[1]; - return [OuterXRegExp(OuterXRegExp.escape(key)), val, "all"]; - } - // don't escape key - if ("raw" in entry) { - var _a = entry.raw, key = _a[0], val = _a[1]; - return [OuterXRegExp(key), val, "all"]; - } - // is a dict - try { - var _b = entry.delimiters, left = _b[0], right = _b[1], translations_1 = entry.translations; - return [ - OuterXRegExp(OuterXRegExp.escape(left) + "(?.*?)" + OuterXRegExp.escape(right)), - function (m) { return OuterXRegExp.replaceEach(m.inside, translations_1.map(compileKey)); }, - "all" - ]; - } - catch (e) { - console.log(entry + " is not an array or a proper object, ignoring"); - } -} -/** - * Convert four-tuple of Strings into a specified "official" representation - * - * @param key What kind of conversion key is appropriate - * @param left Left bracket - * @param match Body - * @param right Right bracket - * @returns Converted item, if any. - */ -function force(key, left, match, right) { - var lowerKey = key.toLowerCase(); - if (!(lowerKey in matchType)) - return; - var _a = matchType[lowerKey], keys = _a.keys, join = _a.join; - if (keys) { - var action = join || defaultMatchAction; - // need to use `as (RegExp | string)[][]` because the provided typings are too generic - return action(left, OuterXRegExp.replaceEach(match, keys), right); - } -} -exports.force = force; -/** - * Grab all x2i strings in message string. - * - * @param content Full message that may or may not contain x2i strings - * @returns Converted representations - */ -function x2i(content) { - var results = []; - OuterXRegExp.forEach(content, regex, function (match) { - var parts = match.slice(2, 6); - if (parts.length === 4) { - var k = parts[0], l = parts[1], m = parts[2], r = parts[3]; - var converted = force(k, l, m, r); // eg x, [, text, ] - if (converted) { - results.push(converted); - } - } - }); - return results.join(" "); -} -exports["default"] = x2i; diff --git a/x2i/index.ts b/x2i/index.ts index 73717fd..580e9ee 100644 --- a/x2i/index.ts +++ b/x2i/index.ts @@ -47,6 +47,9 @@ const matchType: { [key: string]: IMatchInstructions } = { z: { keys: readKeys("./x2i/z2i-keys.yaml"), }, + i: { + keys: readKeys("./x2i/i-keys.yaml"), + }, }; /** From 8ba54948b4e526231f8239ca055c663c3c996da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Thu, 28 Feb 2019 13:56:17 +0100 Subject: [PATCH 8/9] Reorder i keys --- x2i/i-keys.yaml | 646 ++++++++++++++++++++++++------------------------ 1 file changed, 319 insertions(+), 327 deletions(-) diff --git a/x2i/i-keys.yaml b/x2i/i-keys.yaml index 6322fdd..19bc2e5 100644 --- a/x2i/i-keys.yaml +++ b/x2i/i-keys.yaml @@ -1,367 +1,359 @@ --- -- raw: - - "[iI]{2}" - - "ᐄ" -- raw: - - "[iI]{1}" - - "ᐃ" -- raw: - - "[uU]{2}" - - "ᐆ" -- raw: - - "[uU]{1}" - - "ᐅ" -- raw: - - "[aA]{2}" - - "ᐋ" -- raw: - - "[aA]{1}" - - "ᐊ" - - -- raw: - - "[pP][iI][iI]" - - "ᐲ" -- raw: - - "[pP][iI]" - - "ᐱ" -- raw: - - "[pP][uU][uU]" - - "ᐴ" -- raw: - - "[pP][uU]" - - "ᐳ" -- raw: - - "[pP][aA][aA]" - - "ᐹ" -- raw: - - "[pP][aA]" - - "ᐸ" -- raw: - - "[pP]" - - "ᑉ" - -- raw: - - "[tT][iI][iI]" - - "ᑏ" -- raw: - - "[tT][iI]" - - "ᑎ" -- raw: - - "[tT][uU][uU]" - - "ᑑ" -- raw: - - "[tT][uU]" - - "ᑐ" -- raw: - - "[tT][aA][aA]" - - "ᑖ" -- raw: - - "[tT][aA]" - - "ᑕ" -- raw: - - "[pP]" - - "ᑦ" - - -- raw: - - "[kK][iI][iI]" - - "ᑮ" -- raw: - - "[kK][iI]" - - "ᑭ" -- raw: - - "[kK][uU][uU]" - - "ᑰ" -- raw: - - "[kK][uU]" - - "ᑯ" -- raw: - - "[kK][aA][aA]" - - "ᑳ" -- raw: - - "[kK][aA]" - - "ᑲ" -- raw: - - "[kK]" - - "ᒃ" - -- raw: - - "[gG][iI][iI]" - - "ᒌ" -- raw: - - "[gG][iI]" - - "ᒋ" -- raw: - - "[gG][uU][uU]" - - "ᒎ" -- raw: - - "[gG][uU]" - - "ᒍ" -- raw: - - "[gG][aA][aA]" - - "ᒑ" -- raw: - - "[gG][aA]" - - "ᒐ" -- raw: - - "[gG]" - - "ᒡ" - -- raw: - - "[mM][iI][iI]" - - "ᒦ" -- raw: - - "[mM][iI]" - - "ᒥ" -- raw: - - "[mM][uU][uU]" - - "ᒨ" -- raw: - - "[mM][uU]" - - "ᒧ" -- raw: - - "[mM][aA][aA]" - - "ᒫ" -- raw: - - "[mM][aA]" - - "ᒪ" -- raw: - - "[mM]" - - "ᒻ" - -- raw: - - "[nN][iI][iI]" - - "ᓃ" -- raw: - - "[nN][iI]" - - "ᓂ" -- raw: - - "[nN][uU][uU]" - - "ᓅ" -- raw: - - "[nN][uU]" - - "ᓄ" -- raw: - - "[nN][aA][aA]" - - "ᓈ" -- raw: - - "[nN][aA]" - - "ᓇ" -- raw: - - "[nN][gG][iI][iI]" - - "ᖐ" -- raw: - - "[nN][gG][iI]" - - "ᖏ" -- raw: - - "[nN][gG][uU][uU]" - - "ᖒ" -- raw: - - "[nN][gG][uU]" - - "ᖑ" -- raw: - - "[nN][gG][aA][aA]" - - "ᖔ" -- raw: - - "[nN][gG][aA]" - - "ᖓ" -- raw: - - "[nN][gG]" - - "ᖕ" - raw: - "[nN][n][g][iI][iI]" - "ᙲ" -- raw: - - "[nN][n][g][iI]" - - "ᙱ" - raw: - "[nN][n][g][uU][uU]" - "ᙴ" - raw: - - "[nN][n][g][uU]" - - "ᙳ" - - raw: - "[nN][n][g][aA][aA]" - "ᙶ" + +- raw: + - "[nN][gG][iI][iI]" + - "ᖐ" +- raw: + - "[nN][gG][uU][uU]" + - "ᖒ" +- raw: + - "[nN][gG][aA][aA]" + - "ᖔ" +- raw: + - "[nN][n][g][iI]" + - "ᙱ" +- raw: + - "[nN][n][g][uU]" + - "ᙳ" - raw: - "[nN][n][g][aA]" - "ᙵ" -- raw: - - "[nN][n][g]" - - "ᖖ" -- raw: - - "[nN]" - - "ᓐ" - -- raw: - - "[sS][iI][iI]" - - "ᓰ" -- raw: - - "[sS][iI]" - - "ᓯ" -- raw: - - "[sS][uU][uU]" - - "ᓲ" -- raw: - - "[sS][uU]" - - "ᓱ" -- raw: - - "[sS][aA][aA]" - - "ᓵ" -- raw: - - "[sS][aA]" - - "ᓴ" -- raw: - - "[sS]" - - "ᔅ" - -- raw: - - "[lL][iI][iI]" - - "ᓖ" -- raw: - - "[lL][iI]" - - "ᓕ" -- raw: - - "[lL][uU][uU]" - - "ᓘ" -- raw: - - "[lL][uU]" - - "ᓗ" -- raw: - - "[lL][aA][aA]" - - "ᓛ" -- raw: - - "[lL][aA]" - - "ᓚ" -- raw: - - "[lL]" - - "ᓪ" - -- raw: - - "[jJyY][iI][iI]" - - "ᔩ" -- raw: - - "[jJyY][iI]" - - "ᔨ" -- raw: - - "[jJyY][uU][uU]" - - "ᔫ" -- raw: - - "[jJyY][uU]" - - "ᔪ" -- raw: - - "[jJyY][aA][aA]" - - "ᔮ" -- raw: - - "[jJyY][aA]" - - "ᔭ" -- raw: - - "[jJyY]" - - "ᔾ" - -- raw: - - "[vV][iI][iI]" - - "ᕖ" -- raw: - - "[vV][iI]" - - "ᕕ" -- raw: - - "[vV][uU][uU]" - - "ᕘ" -- raw: - - "[vV][uU]" - - "ᕗ" -- raw: - - "[vV][aA][aA]" - - "ᕚ" -- raw: - - "[vV][aA]" - - "ᕙ" -- raw: - - "[vV]" - - "ᕝ" - -- raw: - - "[rR][iI][iI]" - - "ᕇ" -- raw: - - "[rR][iI]" - - "ᕆ" -- raw: - - "[rR][uU][uU]" - - "ᕉ" -- raw: - - "[rR][uU]" - - "ᕈ" -- raw: - - "[rR][aA][aA]" - - "ᕌ" -- raw: - - "[rR][aA]" - - "ᕋ" -- raw: - - "[rR]" - - "ᕐ" - -- raw: - - "[qQ][iI][iI]" - - "ᖀ" -- raw: - - "[qQ][iI]" - - "ᕿ" -- raw: - - "[qQ][uU][uU]" - - "ᖂ" -- raw: - - "[qQ][uU]" - - "ᖁ" -- raw: - - "[qQ][aA][aA]" - - "ᖄ" -- raw: - - "[qQ][aA]" - - "ᖃ" - raw: - "[qQ][qQ][iI][iI]" - "ᖅᑮ" -- raw: - - "[qQ][qQ][iI]" - - "ᖅᑭ" - raw: - "[qQ][qQ][uU][uU]" - "ᖅᑰ" -- raw: - - "[qQ][qQ][uU]" - - "ᖅᑯ" - raw: - "[qQ][qQ][aA][aA]" - "ᖅᑳ" + +- raw: + - "[nN][n][g]" + - "ᖖ" +- raw: + - "[pP][iI][iI]" + - "ᐲ" +- raw: + - "[pP][uU][uU]" + - "ᐴ" +- raw: + - "[pP][aA][aA]" + - "ᐹ" +- raw: + - "[tT][iI][iI]" + - "ᑏ" +- raw: + - "[tT][uU][uU]" + - "ᑑ" +- raw: + - "[tT][aA][aA]" + - "ᑖ" +- raw: + - "[kK][iI][iI]" + - "ᑮ" +- raw: + - "[kK][uU][uU]" + - "ᑰ" +- raw: + - "[kK][aA][aA]" + - "ᑳ" +- raw: + - "[gG][iI][iI]" + - "ᒌ" +- raw: + - "[gG][uU][uU]" + - "ᒎ" +- raw: + - "[gG][aA][aA]" + - "ᒑ" +- raw: + - "[mM][iI][iI]" + - "ᒦ" +- raw: + - "[mM][uU][uU]" + - "ᒨ" +- raw: + - "[mM][aA][aA]" + - "ᒫ" +- raw: + - "[nN][iI][iI]" + - "ᓃ" +- raw: + - "[nN][uU][uU]" + - "ᓅ" +- raw: + - "[nN][aA][aA]" + - "ᓈ" +- raw: + - "[nN][gG][iI]" + - "ᖏ" +- raw: + - "[nN][gG][uU]" + - "ᖑ" +- raw: + - "[nN][gG][aA]" + - "ᖓ" +- raw: + - "[sS][iI][iI]" + - "ᓰ" +- raw: + - "[sS][uU][uU]" + - "ᓲ" +- raw: + - "[sS][aA][aA]" + - "ᓵ" +- raw: + - "[lL][iI][iI]" + - "ᓖ" +- raw: + - "[lL][uU][uU]" + - "ᓘ" +- raw: + - "[lL][aA][aA]" + - "ᓛ" +- raw: + - "[jJyY][iI][iI]" + - "ᔩ" +- raw: + - "[jJyY][uU][uU]" + - "ᔫ" +- raw: + - "[jJyY][aA][aA]" + - "ᔮ" +- raw: + - "[vV][iI][iI]" + - "ᕖ" +- raw: + - "[vV][uU][uU]" + - "ᕘ" +- raw: + - "[vV][aA][aA]" + - "ᕚ" +- raw: + - "[rR][iI][iI]" + - "ᕇ" +- raw: + - "[rR][uU][uU]" + - "ᕉ" +- raw: + - "[rR][aA][aA]" + - "ᕌ" +- raw: + - "[qQ][iI][iI]" + - "ᖀ" +- raw: + - "[qQ][uU][uU]" + - "ᖂ" +- raw: + - "[qQ][aA][aA]" + - "ᖄ" +- raw: + - "[qQ][qQ][iI]" + - "ᖅᑭ" +- raw: + - "[qQ][qQ][uU]" + - "ᖅᑯ" - raw: - "[qQ][aA][aA]" - "ᖅᑲ" -- raw: - - "[qQ]" - - "ᖅ" - - raw: - "[łŁ&][iI][iI]" - "ᖡ" -- raw: - - "[łŁ&][iI]" - - "ᖠ" - raw: - "[łŁ&][uU][uU]" - "ᖣ" +- raw: + - "[łŁ&][aA][aA]" + - "ᖥ" + +- raw: + - "[iI][iI]" + - "ᐄ" +- raw: + - "[uU][uU]" + - "ᐆ" +- raw: + - "[aA][aA]" + - "ᐋ" +- raw: + - "[pP][iI]" + - "ᐱ" +- raw: + - "[pP][uU]" + - "ᐳ" +- raw: + - "[pP][aA]" + - "ᐸ" +- raw: + - "[tT][iI]" + - "ᑎ" +- raw: + - "[tT][uU]" + - "ᑐ" +- raw: + - "[tT][aA]" + - "ᑕ" +- raw: + - "[kK][iI]" + - "ᑭ" +- raw: + - "[kK][uU]" + - "ᑯ" +- raw: + - "[kK][aA]" + - "ᑲ" +- raw: + - "[gG][iI]" + - "ᒋ" +- raw: + - "[gG][uU]" + - "ᒍ" +- raw: + - "[gG][aA]" + - "ᒐ" +- raw: + - "[mM][iI]" + - "ᒥ" +- raw: + - "[mM][uU]" + - "ᒧ" +- raw: + - "[mM][aA]" + - "ᒪ" +- raw: + - "[nN][iI]" + - "ᓂ" +- raw: + - "[nN][uU]" + - "ᓄ" +- raw: + - "[nN][aA]" + - "ᓇ" +- raw: + - "[nN][gG]" + - "ᖕ" +- raw: + - "[sS][iI]" + - "ᓯ" +- raw: + - "[sS][uU]" + - "ᓱ" +- raw: + - "[sS][aA]" + - "ᓴ" +- raw: + - "[lL][iI]" + - "ᓕ" +- raw: + - "[lL][uU]" + - "ᓗ" +- raw: + - "[lL][aA]" + - "ᓚ" +- raw: + - "[jJyY][iI]" + - "ᔨ" +- raw: + - "[jJyY][uU]" + - "ᔪ" +- raw: + - "[jJyY][aA]" + - "ᔭ" +- raw: + - "[vV][iI]" + - "ᕕ" +- raw: + - "[vV][uU]" + - "ᕗ" +- raw: + - "[vV][aA]" + - "ᕙ" +- raw: + - "[rR][iI]" + - "ᕆ" +- raw: + - "[rR][uU]" + - "ᕈ" +- raw: + - "[rR][aA]" + - "ᕋ" +- raw: + - "[qQ][iI]" + - "ᕿ" +- raw: + - "[qQ][uU]" + - "ᖁ" +- raw: + - "[qQ][aA]" + - "ᖃ" +- raw: + - "[łŁ&][iI]" + - "ᖠ" - raw: - "[łŁ&][uU]" - "ᖢ" -- raw: - - "[łŁ&][aA][aA]" - - "ᖥ" - raw: - "[łŁ&][aA]" - "ᖤ" + +- raw: + - "[iI]" + - "ᐃ" +- raw: + - "[uU]" + - "ᐅ" +- raw: + - "[aA]" + - "ᐊ" +- raw: + - "[pP]" + - "ᑉ" +- raw: + - "[pP]" + - "ᑉ" +- raw: + - "[tT]" + - "ᑦ" +- raw: + - "[kK]" + - "ᒃ" +- raw: + - "[gG]" + - "ᒡ" +- raw: + - "[mM]" + - "ᒻ" +- raw: + - "[nN]" + - "ᓐ" +- raw: + - "[sS]" + - "ᔅ" +- raw: + - "[lL]" + - "ᓪ" +- raw: + - "[jJyY]" + - "ᔾ" +- raw: + - "[vV]" + - "ᕝ" +- raw: + - "[rR]" + - "ᕐ" +- raw: + - "[qQ]" + - "ᖅ" - raw: - "[łŁ&]" - "ᖦ" \ No newline at end of file From 7a7b9606cd2cc5c9912e81623143db8852657571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20L=C3=B8vbr=C3=B8tte=20Olsen?= Date: Thu, 28 Feb 2019 13:57:30 +0100 Subject: [PATCH 9/9] version bump --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 5408922..04a08f2 100644 --- a/index.ts +++ b/index.ts @@ -1,4 +1,4 @@ -const version = "1.1.3.1"; +const version = "2.0.0"; import x2i from "./x2i"; import { existsSync } from "fs";