Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More โ†’
Socket
Sign inDemoInstall
Socket

@tginternal/language-util

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tginternal/language-util - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

251

lib/generated/supportedFlags.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.supportedFlags = void 0;
exports.supportedFlags = [
'๐Ÿ‡ณ๐Ÿ‡ฆ',
'๐Ÿ‡ช๐Ÿ‡น',
'๐Ÿ‡ช๐Ÿ‡ฌ',
'๐Ÿ‡ฉ๐Ÿ‡ฟ',
'๐Ÿ‡ธ๐Ÿ‡ฉ',
'๐Ÿ‡ฎ๐Ÿ‡ถ',
'๐Ÿ‡พ๐Ÿ‡ช',
'๐Ÿ‡ฒ๐Ÿ‡ฆ',
'๐Ÿ‡ธ๐Ÿ‡พ',
'๐Ÿ‡ฏ๐Ÿ‡ด',
'๐Ÿ‡น๐Ÿ‡ณ',
'๐Ÿ‡ฆ๐Ÿ‡ช',
'๐Ÿ‡ฑ๐Ÿ‡พ',
'๐Ÿ‡ต๐Ÿ‡ธ',
'๐Ÿ‡ธ๐Ÿ‡ฆ',
'๐Ÿ‡ฑ๐Ÿ‡ง',
'๐Ÿ‡ธ๐Ÿ‡ด',
'๐Ÿ‡ด๐Ÿ‡ฒ',
'๐Ÿ‡ฒ๐Ÿ‡ท',
'๐Ÿ‡ฐ๐Ÿ‡ผ',
'๐Ÿ‡น๐Ÿ‡ฉ',
'๐Ÿ‡ถ๐Ÿ‡ฆ',
'๐Ÿ‡ฎ๐Ÿ‡ฑ',
'๐Ÿ‡ง๐Ÿ‡ญ',
'๐Ÿ‡ช๐Ÿ‡ญ',
'๐Ÿ‡ฐ๐Ÿ‡ฒ',
'๐Ÿ‡ช๐Ÿ‡ท',
'๐Ÿ‡ฉ๐Ÿ‡ฏ',
'๐Ÿ‡ธ๐Ÿ‡ธ',
'๐Ÿ‡ฆ๐Ÿ‡ฟ',
'๐Ÿ‡ง๐Ÿ‡พ',
'๐Ÿ‡ง๐Ÿ‡ฌ',
'๐Ÿ‡ง๐Ÿ‡ฉ',
'๐Ÿ‡ฎ๐Ÿ‡ณ',
'๐Ÿ‡ง๐Ÿ‡ฆ',
'๐Ÿ‡ฆ๐Ÿ‡ฉ',
'๐Ÿ‡ช๐Ÿ‡ธ',
'๐Ÿ‡ซ๐Ÿ‡ท',
'๐Ÿ‡ฎ๐Ÿ‡น',
'๐Ÿ‡จ๐Ÿ‡ฟ',
'๐Ÿ‡ฉ๐Ÿ‡ฐ',
'๐Ÿ‡ฌ๐Ÿ‡ฑ',
'๐Ÿ‡ฉ๐Ÿ‡ช',
'๐Ÿ‡ฆ๐Ÿ‡น',
'๐Ÿ‡จ๐Ÿ‡ญ',
'๐Ÿ‡ง๐Ÿ‡ช',
'๐Ÿ‡ฑ๐Ÿ‡บ',
'๐Ÿ‡ฑ๐Ÿ‡ฎ',
'๐Ÿ‡ฌ๐Ÿ‡ท',
'๐Ÿ‡จ๐Ÿ‡พ',
'๐Ÿ‡ฌ๐Ÿ‡ง',
'๐Ÿ‡บ๐Ÿ‡ธ',
'๐Ÿ‡ต๐Ÿ‡ฐ',
'๐Ÿ‡ณ๐Ÿ‡ฌ',
'๐Ÿ‡ต๐Ÿ‡ญ',
'๐Ÿ‡น๐Ÿ‡ฟ',
'๐Ÿ‡ฆ๐Ÿ‡บ',
'๐Ÿ‡ฐ๐Ÿ‡ช',
'๐Ÿ‡ฌ๐Ÿ‡ญ',
'๐Ÿ‡ฎ๐Ÿ‡ช',
'๐Ÿ‡ฒ๐Ÿ‡ฌ',
'๐Ÿ‡ฑ๐Ÿ‡ท',
'๐Ÿ‡ญ๐Ÿ‡ฐ',
'๐Ÿ‡ฏ๐Ÿ‡ฒ',
'๐Ÿ‡ง๐Ÿ‡ผ',
'๐Ÿ‡ฌ๐Ÿ‡ฒ',
'๐Ÿ‡ง๐Ÿ‡ง',
'๐Ÿ‡ง๐Ÿ‡ธ',
'๐Ÿ‡ง๐Ÿ‡ฟ',
'๐Ÿ‡ฆ๐Ÿ‡ฌ',
'๐Ÿ‡จ๐Ÿ‡ฆ',
'๐Ÿ‡ฟ๐Ÿ‡ฆ',
'๐Ÿ‡ฒ๐Ÿ‡ผ',
'๐Ÿ‡จ๐Ÿ‡ฒ',
'๐Ÿ‡ฟ๐Ÿ‡ผ',
'๐Ÿ‡ธ๐Ÿ‡ฌ',
'๐Ÿ‡ณ๐Ÿ‡ฟ',
'๐Ÿ‡ต๐Ÿ‡ฌ',
'๐Ÿ‡ฟ๐Ÿ‡ฒ',
'๐Ÿ‡ธ๐Ÿ‡ฑ',
'๐Ÿ‡ท๐Ÿ‡ผ',
'๐Ÿ‡บ๐Ÿ‡ฌ',
'๐Ÿ‡ต๐Ÿ‡ท',
'๐Ÿ‡ฒ๐Ÿ‡บ',
'๐Ÿ‡ธ๐Ÿ‡ฟ',
'๐Ÿ‡ธ๐Ÿ‡ง',
'๐Ÿ‡ฒ๐Ÿ‡น',
'๐Ÿ‡น๐Ÿ‡น',
'๐Ÿ‡ฉ๐Ÿ‡ฒ',
'๐Ÿ‡ซ๐Ÿ‡ฏ',
'๐Ÿ‡ฌ๐Ÿ‡พ',
'๐Ÿ‡ฑ๐Ÿ‡ธ',
'๐Ÿ‡ป๐Ÿ‡บ',
'๐Ÿ‡ฌ๐Ÿ‡บ',
'๐Ÿ‡ฑ๐Ÿ‡จ',
'๐Ÿ‡ฌ๐Ÿ‡ฉ',
'๐Ÿ‡ฌ๐Ÿ‡ฌ',
'๐Ÿ‡ฎ๐Ÿ‡ฒ',
'๐Ÿ‡ฐ๐Ÿ‡ฎ',
'๐Ÿ‡ป๐Ÿ‡จ',
'๐Ÿ‡ฒ๐Ÿ‡ญ',
'๐Ÿ‡ง๐Ÿ‡ฒ',
'๐Ÿ‡ซ๐Ÿ‡ฒ',
'๐Ÿ‡ฐ๐Ÿ‡ณ',
'๐Ÿ‡ฐ๐Ÿ‡พ',
'๐Ÿ‡ฆ๐Ÿ‡ธ',
'๐Ÿ‡ฌ๐Ÿ‡ฎ',
'๐Ÿ‡ฆ๐Ÿ‡ฎ',
'๐Ÿ‡ฏ๐Ÿ‡ช',
'๐Ÿ‡ป๐Ÿ‡ฎ',
'๐Ÿ‡น๐Ÿ‡จ',
'๐Ÿ‡ฒ๐Ÿ‡ต',
'๐Ÿ‡ป๐Ÿ‡ฌ',
'๐Ÿ‡ธ๐Ÿ‡จ',
'๐Ÿ‡ธ๐Ÿ‡ฝ',
'๐Ÿ‡น๐Ÿ‡ด',
'๐Ÿ‡ณ๐Ÿ‡ท',
'๐Ÿ‡จ๐Ÿ‡ฐ',
'๐Ÿ‡ง๐Ÿ‡ฎ',
'๐Ÿ‡ธ๐Ÿ‡ญ',
'๐Ÿ‡ผ๐Ÿ‡ธ',
'๐Ÿ‡ฎ๐Ÿ‡ด',
'๐Ÿ‡ฒ๐Ÿ‡ธ',
'๐Ÿ‡ซ๐Ÿ‡ฐ',
'๐Ÿ‡ต๐Ÿ‡ผ',
'๐Ÿ‡ณ๐Ÿ‡ซ',
'๐Ÿ‡จ๐Ÿ‡ฝ',
'๐Ÿ‡น๐Ÿ‡ฐ',
'๐Ÿ‡ณ๐Ÿ‡บ',
'๐Ÿ‡น๐Ÿ‡ป',
'๐Ÿ‡ฉ๐Ÿ‡ฌ',
'๐Ÿ‡บ๐Ÿ‡ฒ',
'๐Ÿ‡จ๐Ÿ‡จ',
'๐Ÿ‡ต๐Ÿ‡ณ',
'๐Ÿ‡ซ๐Ÿ‡ฎ',
'๐Ÿ‡ฒ๐Ÿ‡ด',
'๐Ÿ‡ฒ๐Ÿ‡พ',
'๐Ÿ‡ณ๐Ÿ‡ฑ',
'๐Ÿ‡ธ๐Ÿ‡ช',
'๐Ÿ‡ธ๐Ÿ‡ฎ',
'๐Ÿ‡ฒ๐Ÿ‡ฝ',
'๐Ÿ‡จ๐Ÿ‡ด',
'๐Ÿ‡ฆ๐Ÿ‡ท',
'๐Ÿ‡ป๐Ÿ‡ช',
'๐Ÿ‡ต๐Ÿ‡ช',
'๐Ÿ‡จ๐Ÿ‡ฑ',
'๐Ÿ‡ช๐Ÿ‡จ',
'๐Ÿ‡ฌ๐Ÿ‡น',
'๐Ÿ‡จ๐Ÿ‡บ',
'๐Ÿ‡ฉ๐Ÿ‡ด',
'๐Ÿ‡ญ๐Ÿ‡ณ',
'๐Ÿ‡ง๐Ÿ‡ด',
'๐Ÿ‡ธ๐Ÿ‡ป',
'๐Ÿ‡จ๐Ÿ‡ท',
'๐Ÿ‡ณ๐Ÿ‡ฎ',
'๐Ÿ‡บ๐Ÿ‡พ',
'๐Ÿ‡ต๐Ÿ‡ฆ',
'๐Ÿ‡ฌ๐Ÿ‡ถ',
'๐Ÿ‡ต๐Ÿ‡พ',
'๐Ÿ‡ช๐Ÿ‡ฆ',
'๐Ÿ‡ฎ๐Ÿ‡จ',
'๐Ÿ‡ง๐Ÿ‡ท',
'๐Ÿ‡ช๐Ÿ‡ช',
'๐Ÿ‡ฎ๐Ÿ‡ท',
'๐Ÿ‡ฆ๐Ÿ‡ซ',
'๐Ÿ‡จ๐Ÿ‡ฎ',
'๐Ÿ‡ฒ๐Ÿ‡ฑ',
'๐Ÿ‡ง๐Ÿ‡ซ',
'๐Ÿ‡ณ๐Ÿ‡ช',
'๐Ÿ‡ธ๐Ÿ‡ณ',
'๐Ÿ‡น๐Ÿ‡ฌ',
'๐Ÿ‡ง๐Ÿ‡ฏ',
'๐Ÿ‡จ๐Ÿ‡ฌ',
'๐Ÿ‡จ๐Ÿ‡ฉ',
'๐Ÿ‡ฌ๐Ÿ‡ณ',
'๐Ÿ‡จ๐Ÿ‡ซ',
'๐Ÿ‡ฌ๐Ÿ‡ฆ',
'๐Ÿ‡ท๐Ÿ‡ช',
'๐Ÿ‡ญ๐Ÿ‡น',
'๐Ÿ‡ฒ๐Ÿ‡ถ',
'๐Ÿ‡ฌ๐Ÿ‡ต',
'๐Ÿ‡ณ๐Ÿ‡จ',
'๐Ÿ‡ต๐Ÿ‡ซ',
'๐Ÿ‡ฌ๐Ÿ‡ซ',
'๐Ÿ‡พ๐Ÿ‡น',
'๐Ÿ‡ฒ๐Ÿ‡จ',
'๐Ÿ‡ฒ๐Ÿ‡ซ',
'๐Ÿ‡ผ๐Ÿ‡ซ',
'๐Ÿ‡ง๐Ÿ‡ฑ',
'๐Ÿ‡ต๐Ÿ‡ฒ',
'๐Ÿ‡ญ๐Ÿ‡ท',
'๐Ÿ‡ญ๐Ÿ‡บ',
'๐Ÿ‡ฆ๐Ÿ‡ฒ',
'๐Ÿ‡ฎ๐Ÿ‡ฉ',
'๐Ÿ‡ฎ๐Ÿ‡ธ',
'๐Ÿ‡ธ๐Ÿ‡ฒ',
'๐Ÿ‡ป๐Ÿ‡ฆ',
'๐Ÿ‡ฏ๐Ÿ‡ต',
'๐Ÿ‡ฌ๐Ÿ‡ช',
'๐Ÿ‡ฐ๐Ÿ‡ฟ',
'๐Ÿ‡ฐ๐Ÿ‡ญ',
'๐Ÿ‡ฐ๐Ÿ‡ท',
'๐Ÿ‡ฐ๐Ÿ‡ต',
'๐Ÿ‡ฐ๐Ÿ‡ฌ',
'๐Ÿ‡ฑ๐Ÿ‡ฆ',
'๐Ÿ‡ฑ๐Ÿ‡น',
'๐Ÿ‡ฑ๐Ÿ‡ป',
'๐Ÿ‡ฒ๐Ÿ‡ฐ',
'๐Ÿ‡ฒ๐Ÿ‡ณ',
'๐Ÿ‡ง๐Ÿ‡ณ',
'๐Ÿ‡ฒ๐Ÿ‡ฒ',
'๐Ÿ‡ณ๐Ÿ‡ด',
'๐Ÿ‡ธ๐Ÿ‡ฏ',
'๐Ÿ‡ณ๐Ÿ‡ต',
'๐Ÿ‡ธ๐Ÿ‡ท',
'๐Ÿ‡ฆ๐Ÿ‡ผ',
'๐Ÿ‡ง๐Ÿ‡ถ',
'๐Ÿ‡จ๐Ÿ‡ผ',
'๐Ÿ‡ต๐Ÿ‡ฑ',
'๐Ÿ‡ฆ๐Ÿ‡ด',
'๐Ÿ‡ต๐Ÿ‡น',
'๐Ÿ‡ฒ๐Ÿ‡ฟ',
'๐Ÿ‡ฌ๐Ÿ‡ผ',
'๐Ÿ‡น๐Ÿ‡ฑ',
'๐Ÿ‡จ๐Ÿ‡ป',
'๐Ÿ‡ธ๐Ÿ‡น',
'๐Ÿ‡ท๐Ÿ‡ด',
'๐Ÿ‡ฒ๐Ÿ‡ฉ',
'๐Ÿ‡ท๐Ÿ‡บ',
'๐Ÿ‡บ๐Ÿ‡ฆ',
'๐Ÿ‡ฑ๐Ÿ‡ฐ',
'๐Ÿ‡ธ๐Ÿ‡ฐ',
'๐Ÿ‡ฆ๐Ÿ‡ฑ',
'๐Ÿ‡ฝ๐Ÿ‡ฐ',
'๐Ÿ‡ท๐Ÿ‡ธ',
'๐Ÿ‡ฒ๐Ÿ‡ช',
'๐Ÿ‡ฆ๐Ÿ‡ฝ',
'๐Ÿ‡น๐Ÿ‡ญ',
'๐Ÿ‡น๐Ÿ‡ฒ',
'๐Ÿ‡น๐Ÿ‡ท',
'๐Ÿ‡บ๐Ÿ‡ฟ',
'๐Ÿ‡ป๐Ÿ‡ณ',
'๐Ÿ‡น๐Ÿ‡ผ',
'๐Ÿ‡จ๐Ÿ‡ณ',
'๐Ÿ‡ง๐Ÿ‡น',
'๐Ÿ‡ซ๐Ÿ‡ด',
'๐Ÿ‡น๐Ÿ‡ฏ',
'๐Ÿ',
];
exports.supportedFlags = ["๐Ÿ‡ณ๐Ÿ‡ฆ", "๐Ÿ‡ช๐Ÿ‡น", "๐Ÿ‡ช๐Ÿ‡ฌ", "๐Ÿ‡ฉ๐Ÿ‡ฟ", "๐Ÿ‡ธ๐Ÿ‡ฉ", "๐Ÿ‡ฎ๐Ÿ‡ถ", "๐Ÿ‡พ๐Ÿ‡ช", "๐Ÿ‡ฒ๐Ÿ‡ฆ", "๐Ÿ‡ธ๐Ÿ‡พ", "๐Ÿ‡ฏ๐Ÿ‡ด", "๐Ÿ‡น๐Ÿ‡ณ", "๐Ÿ‡ฆ๐Ÿ‡ช", "๐Ÿ‡ฑ๐Ÿ‡พ", "๐Ÿ‡ต๐Ÿ‡ธ", "๐Ÿ‡ธ๐Ÿ‡ฆ", "๐Ÿ‡ฑ๐Ÿ‡ง", "๐Ÿ‡ธ๐Ÿ‡ด", "๐Ÿ‡ด๐Ÿ‡ฒ", "๐Ÿ‡ฒ๐Ÿ‡ท", "๐Ÿ‡ฐ๐Ÿ‡ผ", "๐Ÿ‡น๐Ÿ‡ฉ", "๐Ÿ‡ถ๐Ÿ‡ฆ", "๐Ÿ‡ฎ๐Ÿ‡ฑ", "๐Ÿ‡ง๐Ÿ‡ญ", "๐Ÿ‡ช๐Ÿ‡ญ", "๐Ÿ‡ฐ๐Ÿ‡ฒ", "๐Ÿ‡ช๐Ÿ‡ท", "๐Ÿ‡ฉ๐Ÿ‡ฏ", "๐Ÿ‡ธ๐Ÿ‡ธ", "๐Ÿ‡ฆ๐Ÿ‡ฟ", "๐Ÿ‡ง๐Ÿ‡พ", "๐Ÿ‡ง๐Ÿ‡ฌ", "๐Ÿ‡ง๐Ÿ‡ฉ", "๐Ÿ‡ฎ๐Ÿ‡ณ", "๐Ÿ‡ง๐Ÿ‡ฆ", "๐Ÿ‡ฆ๐Ÿ‡ฉ", "๐Ÿ‡ช๐Ÿ‡ธ", "๐Ÿ‡ซ๐Ÿ‡ท", "๐Ÿ‡ฎ๐Ÿ‡น", "๐Ÿ‡จ๐Ÿ‡ฟ", "๐Ÿ‡ฉ๐Ÿ‡ฐ", "๐Ÿ‡ฌ๐Ÿ‡ฑ", "๐Ÿ‡ฉ๐Ÿ‡ช", "๐Ÿ‡ฆ๐Ÿ‡น", "๐Ÿ‡จ๐Ÿ‡ญ", "๐Ÿ‡ง๐Ÿ‡ช", "๐Ÿ‡ฑ๐Ÿ‡บ", "๐Ÿ‡ฑ๐Ÿ‡ฎ", "๐Ÿ‡ฌ๐Ÿ‡ท", "๐Ÿ‡จ๐Ÿ‡พ", "๐Ÿ‡ฌ๐Ÿ‡ง", "๐Ÿ‡บ๐Ÿ‡ธ", "๐Ÿ‡ต๐Ÿ‡ฐ", "๐Ÿ‡ณ๐Ÿ‡ฌ", "๐Ÿ‡ต๐Ÿ‡ญ", "๐Ÿ‡น๐Ÿ‡ฟ", "๐Ÿ‡ฆ๐Ÿ‡บ", "๐Ÿ‡ฐ๐Ÿ‡ช", "๐Ÿ‡ฌ๐Ÿ‡ญ", "๐Ÿ‡ฎ๐Ÿ‡ช", "๐Ÿ‡ฒ๐Ÿ‡ฌ", "๐Ÿ‡ฑ๐Ÿ‡ท", "๐Ÿ‡ญ๐Ÿ‡ฐ", "๐Ÿ‡ฏ๐Ÿ‡ฒ", "๐Ÿ‡ง๐Ÿ‡ผ", "๐Ÿ‡ฌ๐Ÿ‡ฒ", "๐Ÿ‡ง๐Ÿ‡ง", "๐Ÿ‡ง๐Ÿ‡ธ", "๐Ÿ‡ง๐Ÿ‡ฟ", "๐Ÿ‡ฆ๐Ÿ‡ฌ", "๐Ÿ‡จ๐Ÿ‡ฆ", "๐Ÿ‡ฟ๐Ÿ‡ฆ", "๐Ÿ‡ฒ๐Ÿ‡ผ", "๐Ÿ‡จ๐Ÿ‡ฒ", "๐Ÿ‡ฟ๐Ÿ‡ผ", "๐Ÿ‡ธ๐Ÿ‡ฌ", "๐Ÿ‡ณ๐Ÿ‡ฟ", "๐Ÿ‡ต๐Ÿ‡ฌ", "๐Ÿ‡ฟ๐Ÿ‡ฒ", "๐Ÿ‡ธ๐Ÿ‡ฑ", "๐Ÿ‡ท๐Ÿ‡ผ", "๐Ÿ‡บ๐Ÿ‡ฌ", "๐Ÿ‡ต๐Ÿ‡ท", "๐Ÿ‡ฒ๐Ÿ‡บ", "๐Ÿ‡ธ๐Ÿ‡ฟ", "๐Ÿ‡ธ๐Ÿ‡ง", "๐Ÿ‡ฒ๐Ÿ‡น", "๐Ÿ‡น๐Ÿ‡น", "๐Ÿ‡ฉ๐Ÿ‡ฒ", "๐Ÿ‡ซ๐Ÿ‡ฏ", "๐Ÿ‡ฌ๐Ÿ‡พ", "๐Ÿ‡ฑ๐Ÿ‡ธ", "๐Ÿ‡ป๐Ÿ‡บ", "๐Ÿ‡ฌ๐Ÿ‡บ", "๐Ÿ‡ฑ๐Ÿ‡จ", "๐Ÿ‡ฌ๐Ÿ‡ฉ", "๐Ÿ‡ฌ๐Ÿ‡ฌ", "๐Ÿ‡ฎ๐Ÿ‡ฒ", "๐Ÿ‡ฐ๐Ÿ‡ฎ", "๐Ÿ‡ป๐Ÿ‡จ", "๐Ÿ‡ฒ๐Ÿ‡ญ", "๐Ÿ‡ง๐Ÿ‡ฒ", "๐Ÿ‡ซ๐Ÿ‡ฒ", "๐Ÿ‡ฐ๐Ÿ‡ณ", "๐Ÿ‡ฐ๐Ÿ‡พ", "๐Ÿ‡ฆ๐Ÿ‡ธ", "๐Ÿ‡ฌ๐Ÿ‡ฎ", "๐Ÿ‡ฆ๐Ÿ‡ฎ", "๐Ÿ‡ฏ๐Ÿ‡ช", "๐Ÿ‡ป๐Ÿ‡ฎ", "๐Ÿ‡น๐Ÿ‡จ", "๐Ÿ‡ฒ๐Ÿ‡ต", "๐Ÿ‡ป๐Ÿ‡ฌ", "๐Ÿ‡ธ๐Ÿ‡จ", "๐Ÿ‡ธ๐Ÿ‡ฝ", "๐Ÿ‡น๐Ÿ‡ด", "๐Ÿ‡ณ๐Ÿ‡ท", "๐Ÿ‡จ๐Ÿ‡ฐ", "๐Ÿ‡ง๐Ÿ‡ฎ", "๐Ÿ‡ธ๐Ÿ‡ญ", "๐Ÿ‡ผ๐Ÿ‡ธ", "๐Ÿ‡ฎ๐Ÿ‡ด", "๐Ÿ‡ฒ๐Ÿ‡ธ", "๐Ÿ‡ซ๐Ÿ‡ฐ", "๐Ÿ‡ต๐Ÿ‡ผ", "๐Ÿ‡ณ๐Ÿ‡ซ", "๐Ÿ‡จ๐Ÿ‡ฝ", "๐Ÿ‡น๐Ÿ‡ฐ", "๐Ÿ‡ณ๐Ÿ‡บ", "๐Ÿ‡น๐Ÿ‡ป", "๐Ÿ‡ฉ๐Ÿ‡ฌ", "๐Ÿ‡บ๐Ÿ‡ฒ", "๐Ÿ‡จ๐Ÿ‡จ", "๐Ÿ‡ต๐Ÿ‡ณ", "๐Ÿ‡ซ๐Ÿ‡ฎ", "๐Ÿ‡ฒ๐Ÿ‡ด", "๐Ÿ‡ฒ๐Ÿ‡พ", "๐Ÿ‡ณ๐Ÿ‡ฑ", "๐Ÿ‡ธ๐Ÿ‡ช", "๐Ÿ‡ธ๐Ÿ‡ฎ", "๐Ÿ‡ฒ๐Ÿ‡ฝ", "๐Ÿ‡จ๐Ÿ‡ด", "๐Ÿ‡ฆ๐Ÿ‡ท", "๐Ÿ‡ป๐Ÿ‡ช", "๐Ÿ‡ต๐Ÿ‡ช", "๐Ÿ‡จ๐Ÿ‡ฑ", "๐Ÿ‡ช๐Ÿ‡จ", "๐Ÿ‡ฌ๐Ÿ‡น", "๐Ÿ‡จ๐Ÿ‡บ", "๐Ÿ‡ฉ๐Ÿ‡ด", "๐Ÿ‡ญ๐Ÿ‡ณ", "๐Ÿ‡ง๐Ÿ‡ด", "๐Ÿ‡ธ๐Ÿ‡ป", "๐Ÿ‡จ๐Ÿ‡ท", "๐Ÿ‡ณ๐Ÿ‡ฎ", "๐Ÿ‡บ๐Ÿ‡พ", "๐Ÿ‡ต๐Ÿ‡ฆ", "๐Ÿ‡ฌ๐Ÿ‡ถ", "๐Ÿ‡ต๐Ÿ‡พ", "๐Ÿ‡ช๐Ÿ‡ฆ", "๐Ÿ‡ฎ๐Ÿ‡จ", "๐Ÿ‡ง๐Ÿ‡ท", "๐Ÿ‡ช๐Ÿ‡ช", "๐Ÿ‡ฎ๐Ÿ‡ท", "๐Ÿ‡ฆ๐Ÿ‡ซ", "๐Ÿ‡จ๐Ÿ‡ฎ", "๐Ÿ‡ฒ๐Ÿ‡ฑ", "๐Ÿ‡ง๐Ÿ‡ซ", "๐Ÿ‡ณ๐Ÿ‡ช", "๐Ÿ‡ธ๐Ÿ‡ณ", "๐Ÿ‡น๐Ÿ‡ฌ", "๐Ÿ‡ง๐Ÿ‡ฏ", "๐Ÿ‡จ๐Ÿ‡ฌ", "๐Ÿ‡จ๐Ÿ‡ฉ", "๐Ÿ‡ฌ๐Ÿ‡ณ", "๐Ÿ‡จ๐Ÿ‡ซ", "๐Ÿ‡ฌ๐Ÿ‡ฆ", "๐Ÿ‡ท๐Ÿ‡ช", "๐Ÿ‡ญ๐Ÿ‡น", "๐Ÿ‡ฒ๐Ÿ‡ถ", "๐Ÿ‡ฌ๐Ÿ‡ต", "๐Ÿ‡ณ๐Ÿ‡จ", "๐Ÿ‡ต๐Ÿ‡ซ", "๐Ÿ‡ฌ๐Ÿ‡ซ", "๐Ÿ‡พ๐Ÿ‡น", "๐Ÿ‡ฒ๐Ÿ‡จ", "๐Ÿ‡ฒ๐Ÿ‡ซ", "๐Ÿ‡ผ๐Ÿ‡ซ", "๐Ÿ‡ง๐Ÿ‡ฑ", "๐Ÿ‡ต๐Ÿ‡ฒ", "๐Ÿ‡ญ๐Ÿ‡ท", "๐Ÿ‡ญ๐Ÿ‡บ", "๐Ÿ‡ฆ๐Ÿ‡ฒ", "๐Ÿ‡ฎ๐Ÿ‡ฉ", "๐Ÿ‡ฎ๐Ÿ‡ธ", "๐Ÿ‡ธ๐Ÿ‡ฒ", "๐Ÿ‡ป๐Ÿ‡ฆ", "๐Ÿ‡ฏ๐Ÿ‡ต", "๐Ÿ‡ฌ๐Ÿ‡ช", "๐Ÿ‡ฐ๐Ÿ‡ฟ", "๐Ÿ‡ฐ๐Ÿ‡ญ", "๐Ÿ‡ฐ๐Ÿ‡ท", "๐Ÿ‡ฐ๐Ÿ‡ต", "๐Ÿ‡ฐ๐Ÿ‡ฌ", "๐Ÿ‡ฑ๐Ÿ‡ฆ", "๐Ÿ‡ฑ๐Ÿ‡น", "๐Ÿ‡ฑ๐Ÿ‡ป", "๐Ÿ‡ฒ๐Ÿ‡ฐ", "๐Ÿ‡ฒ๐Ÿ‡ณ", "๐Ÿ‡ง๐Ÿ‡ณ", "๐Ÿ‡ฒ๐Ÿ‡ฒ", "๐Ÿ‡ณ๐Ÿ‡ด", "๐Ÿ‡ธ๐Ÿ‡ฏ", "๐Ÿ‡ณ๐Ÿ‡ต", "๐Ÿ‡ธ๐Ÿ‡ท", "๐Ÿ‡ฆ๐Ÿ‡ผ", "๐Ÿ‡ง๐Ÿ‡ถ", "๐Ÿ‡จ๐Ÿ‡ผ", "๐Ÿ‡ต๐Ÿ‡ฑ", "๐Ÿ‡ฆ๐Ÿ‡ด", "๐Ÿ‡ต๐Ÿ‡น", "๐Ÿ‡ฒ๐Ÿ‡ฟ", "๐Ÿ‡ฌ๐Ÿ‡ผ", "๐Ÿ‡น๐Ÿ‡ฑ", "๐Ÿ‡จ๐Ÿ‡ป", "๐Ÿ‡ธ๐Ÿ‡น", "๐Ÿ‡ท๐Ÿ‡ด", "๐Ÿ‡ฒ๐Ÿ‡ฉ", "๐Ÿ‡ท๐Ÿ‡บ", "๐Ÿ‡บ๐Ÿ‡ฆ", "๐Ÿ‡ฑ๐Ÿ‡ฐ", "๐Ÿ‡ธ๐Ÿ‡ฐ", "๐Ÿ‡ฆ๐Ÿ‡ฑ", "๐Ÿ‡ฝ๐Ÿ‡ฐ", "๐Ÿ‡ท๐Ÿ‡ธ", "๐Ÿ‡ฒ๐Ÿ‡ช", "๐Ÿ‡ฆ๐Ÿ‡ฝ", "๐Ÿ‡น๐Ÿ‡ญ", "๐Ÿ‡น๐Ÿ‡ฒ", "๐Ÿ‡น๐Ÿ‡ท", "๐Ÿ‡บ๐Ÿ‡ฟ", "๐Ÿ‡ป๐Ÿ‡ณ", "๐Ÿ‡น๐Ÿ‡ผ", "๐Ÿ‡จ๐Ÿ‡ณ", "๐Ÿ‡ง๐Ÿ‡น", "๐Ÿ‡ซ๐Ÿ‡ด", "๐Ÿ‡น๐Ÿ‡ฏ", "๐Ÿ"];
//# sourceMappingURL=supportedFlags.js.map

5

lib/suggesting.d.ts

@@ -8,3 +8,8 @@ import { languageInfo } from './generated/languageInfo';

};
export declare type SuggestResultWithPopulation = SuggestResult & {
population?: number;
};
export declare const suggest: (input: string, limit?: number) => SuggestResult[];
export declare const getItemWithPopulation: (languageId: string, value: typeof languageInfo[keyof typeof languageInfo]) => SuggestResultWithPopulation;
export declare const compare: (input: string) => (a: SuggestResultWithPopulation, b: SuggestResultWithPopulation) => number;
//# sourceMappingURL=suggesting.d.ts.map

@@ -33,3 +33,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.suggest = void 0;
exports.compare = exports.getItemWithPopulation = exports.suggest = void 0;
var latinize_1 = __importDefault(require("latinize"));

@@ -41,11 +41,24 @@ var languageInfo_1 = require("./generated/languageInfo");

var _b = __read(_a, 2), languageId = _b[0], value = _b[1];
return ({
languageId: languageId,
originalName: value.originalName,
englishName: value.englishName,
flags: value.flags,
});
return exports.getItemWithPopulation(languageId, value);
});
input = latinize_1.default(input).replace('_', '-').toLowerCase();
result.sort(function (a, b) {
result.sort(exports.compare(input));
return result.slice(0, limit).map(function (i) {
delete i.population;
return i;
});
};
exports.suggest = suggest;
var getItemWithPopulation = function (languageId, value) {
return {
languageId: languageId,
originalName: value.originalName,
englishName: value.englishName,
flags: value.flags,
population: value.population,
};
};
exports.getItemWithPopulation = getItemWithPopulation;
var compare = function (input) {
return function (a, b) {
var aNormalized = normalizeResult(a);

@@ -77,2 +90,9 @@ var bNormalized = normalizeResult(b);

}
//if both tags start with user input, let population win, since tags are short and result is then more relevant
if (aNormalized.languageId.indexOf(input) === 0 &&
bNormalized.languageId.indexOf(input) === 0 &&
bNormalized.population &&
aNormalized.population) {
return bNormalized.population - aNormalized.population;
}
var samePartDifferences = {

@@ -97,6 +117,5 @@ englishName: samePartLength(bNormalized.englishName, input) -

languageInfo_1.languageInfo[a.languageId].population);
});
return result.slice(0, limit);
};
};
exports.suggest = suggest;
exports.compare = compare;
var normalizeResult = function (result) {

@@ -103,0 +122,0 @@ return __assign(__assign({}, result), { originalName: latinize_1.default(result.originalName).toLowerCase(), englishName: latinize_1.default(result.englishName).toLowerCase(), languageId: result.languageId.toLowerCase() });

@@ -34,3 +34,13 @@ "use strict";

});
test('it orders by population', function () {
var suggestions = suggesting_1.suggest('it');
expect(suggestions[0].languageId).toEqual('it');
expect(suggestions[1].languageId).toEqual('it-IT');
});
test('it orders by population', function () {
var suggestions = suggesting_1.suggest('it');
expect(suggestions[0].languageId).toEqual('it');
expect(suggestions[1].languageId).toEqual('it-IT');
});
});
//# sourceMappingURL=suggesting.test.js.map
{
"name": "@tginternal/language-util",
"version": "1.0.4",
"version": "1.0.5",
"description": "Language data utility for Tolgee localization tool",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc