code-languages 1.28.0 → 1.29.1
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.
- package/README.md +16 -5
- package/dist/api.cjs +696 -5
- package/dist/api.d.cts +2 -2
- package/dist/api.d.ts +2 -2
- package/dist/api.js +696 -5
- package/dist/detect-slugs.cjs +11 -0
- package/dist/detect-slugs.d.cts +1 -1
- package/dist/detect-slugs.d.ts +1 -1
- package/dist/detect-slugs.js +11 -0
- package/dist/detect.cjs +564 -5
- package/dist/detect.d.cts +1 -1
- package/dist/detect.d.ts +1 -1
- package/dist/detect.js +564 -5
- package/dist/i18n.d.cts +1 -1
- package/dist/i18n.d.ts +1 -1
- package/dist/index.cjs +719 -28
- package/dist/index.d.cts +625 -110
- package/dist/index.d.ts +625 -110
- package/dist/index.js +719 -28
- package/dist/{language-registry-nZ-y7PIh.d.cts → language-registry-CehUh46c.d.cts} +34 -1
- package/dist/{language-registry-nZ-y7PIh.d.ts → language-registry-CehUh46c.d.ts} +34 -1
- package/dist/languages/cairo.cjs +53 -0
- package/dist/languages/cairo.d.cts +50 -0
- package/dist/languages/cairo.d.ts +50 -0
- package/dist/languages/cairo.js +51 -0
- package/dist/languages/fish.cjs +1 -1
- package/dist/languages/fish.js +1 -1
- package/dist/languages/flux.cjs +52 -0
- package/dist/languages/flux.d.cts +49 -0
- package/dist/languages/flux.d.ts +49 -0
- package/dist/languages/flux.js +50 -0
- package/dist/languages/grain.cjs +53 -0
- package/dist/languages/grain.d.cts +50 -0
- package/dist/languages/grain.d.ts +50 -0
- package/dist/languages/grain.js +51 -0
- package/dist/languages/hare.cjs +53 -0
- package/dist/languages/hare.d.cts +50 -0
- package/dist/languages/hare.d.ts +50 -0
- package/dist/languages/hare.js +51 -0
- package/dist/languages/hy.cjs +53 -0
- package/dist/languages/hy.d.cts +50 -0
- package/dist/languages/hy.d.ts +50 -0
- package/dist/languages/hy.js +51 -0
- package/dist/languages/kcl.cjs +53 -0
- package/dist/languages/kcl.d.cts +50 -0
- package/dist/languages/kcl.d.ts +50 -0
- package/dist/languages/kcl.js +51 -0
- package/dist/languages/move.cjs +53 -0
- package/dist/languages/move.d.cts +50 -0
- package/dist/languages/move.d.ts +50 -0
- package/dist/languages/move.js +51 -0
- package/dist/languages/nickel.cjs +52 -0
- package/dist/languages/nickel.d.cts +49 -0
- package/dist/languages/nickel.d.ts +49 -0
- package/dist/languages/nickel.js +50 -0
- package/dist/languages/nushell.cjs +1 -1
- package/dist/languages/nushell.js +1 -1
- package/dist/languages/pkl.cjs +53 -0
- package/dist/languages/pkl.d.cts +50 -0
- package/dist/languages/pkl.d.ts +50 -0
- package/dist/languages/pkl.js +51 -0
- package/dist/languages/svelte.cjs +1 -1
- package/dist/languages/svelte.js +1 -1
- package/dist/languages/twig.cjs +1 -1
- package/dist/languages/twig.js +1 -1
- package/dist/languages/unison.cjs +53 -0
- package/dist/languages/unison.d.cts +50 -0
- package/dist/languages/unison.d.ts +50 -0
- package/dist/languages/unison.js +51 -0
- package/dist/languages/yara.cjs +53 -0
- package/dist/languages/yara.d.cts +50 -0
- package/dist/languages/yara.d.ts +50 -0
- package/dist/languages/yara.js +51 -0
- package/dist/languages/zsh.cjs +1 -1
- package/dist/languages/zsh.js +1 -1
- package/dist/{types-DHJuiiUR.d.cts → types-B0_wjl_Q.d.cts} +2 -2
- package/dist/{types-DHJuiiUR.d.ts → types-B0_wjl_Q.d.ts} +2 -2
- package/package.json +3 -2
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const yara: {
|
|
2
|
+
slug: string;
|
|
3
|
+
publishedDate: string;
|
|
4
|
+
extensions: string[];
|
|
5
|
+
author: string;
|
|
6
|
+
website: string;
|
|
7
|
+
paradigms: string[];
|
|
8
|
+
tooling: {
|
|
9
|
+
runtimes: string[];
|
|
10
|
+
packageManagers: string[];
|
|
11
|
+
ecosystems: string[];
|
|
12
|
+
};
|
|
13
|
+
version: string;
|
|
14
|
+
logo: string;
|
|
15
|
+
color: "#C62D42";
|
|
16
|
+
i18n: {
|
|
17
|
+
en: {
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
longDescription: string;
|
|
21
|
+
};
|
|
22
|
+
es: {
|
|
23
|
+
name: string;
|
|
24
|
+
description: string;
|
|
25
|
+
longDescription: string;
|
|
26
|
+
};
|
|
27
|
+
it: {
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
longDescription: string;
|
|
31
|
+
};
|
|
32
|
+
fr: {
|
|
33
|
+
name: string;
|
|
34
|
+
description: string;
|
|
35
|
+
longDescription: string;
|
|
36
|
+
};
|
|
37
|
+
de: {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
longDescription: string;
|
|
41
|
+
};
|
|
42
|
+
pt: {
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
longDescription: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export { yara };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare const yara: {
|
|
2
|
+
slug: string;
|
|
3
|
+
publishedDate: string;
|
|
4
|
+
extensions: string[];
|
|
5
|
+
author: string;
|
|
6
|
+
website: string;
|
|
7
|
+
paradigms: string[];
|
|
8
|
+
tooling: {
|
|
9
|
+
runtimes: string[];
|
|
10
|
+
packageManagers: string[];
|
|
11
|
+
ecosystems: string[];
|
|
12
|
+
};
|
|
13
|
+
version: string;
|
|
14
|
+
logo: string;
|
|
15
|
+
color: "#C62D42";
|
|
16
|
+
i18n: {
|
|
17
|
+
en: {
|
|
18
|
+
name: string;
|
|
19
|
+
description: string;
|
|
20
|
+
longDescription: string;
|
|
21
|
+
};
|
|
22
|
+
es: {
|
|
23
|
+
name: string;
|
|
24
|
+
description: string;
|
|
25
|
+
longDescription: string;
|
|
26
|
+
};
|
|
27
|
+
it: {
|
|
28
|
+
name: string;
|
|
29
|
+
description: string;
|
|
30
|
+
longDescription: string;
|
|
31
|
+
};
|
|
32
|
+
fr: {
|
|
33
|
+
name: string;
|
|
34
|
+
description: string;
|
|
35
|
+
longDescription: string;
|
|
36
|
+
};
|
|
37
|
+
de: {
|
|
38
|
+
name: string;
|
|
39
|
+
description: string;
|
|
40
|
+
longDescription: string;
|
|
41
|
+
};
|
|
42
|
+
pt: {
|
|
43
|
+
name: string;
|
|
44
|
+
description: string;
|
|
45
|
+
longDescription: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export { yara };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// src/languages/yara.ts
|
|
2
|
+
var yara = {
|
|
3
|
+
slug: "yara",
|
|
4
|
+
publishedDate: "2008-05-01",
|
|
5
|
+
extensions: [".yar", ".yara"],
|
|
6
|
+
author: "Victor M. Alvarez",
|
|
7
|
+
website: "https://virustotal.github.io/yara/",
|
|
8
|
+
paradigms: ["declarative", "pattern-matching"],
|
|
9
|
+
tooling: {
|
|
10
|
+
runtimes: ["yara", "yara-python", "libyara"],
|
|
11
|
+
packageManagers: ["pip (yara-python)"],
|
|
12
|
+
ecosystems: ["Security", "Malware Analysis", "Threat Intelligence", "Forensics"]
|
|
13
|
+
},
|
|
14
|
+
version: "4.5.2",
|
|
15
|
+
logo: "https://avatars.githubusercontent.com/u/6306898?v=4",
|
|
16
|
+
color: "#C62D42",
|
|
17
|
+
i18n: {
|
|
18
|
+
en: {
|
|
19
|
+
name: "YARA",
|
|
20
|
+
description: "A pattern-matching language for identifying and classifying malware samples based on textual and binary patterns, widely used in threat intelligence.",
|
|
21
|
+
longDescription: "YARA (Yet Another Recursive Acronym) is a tool and rule language designed by Victor M. Alvarez at VirusTotal for identifying and classifying malware based on patterns found in files and processes. A YARA rule combines textual strings, byte patterns, and Boolean logic to describe families of malware.\n\nYARA rules are used extensively in antivirus products, security operations centers, incident response, and threat hunting. Each rule has a set of strings \u2014 hexadecimal sequences, text strings, or regular expressions \u2014 and a condition that must be satisfied for the rule to match. YARA runs as a standalone tool, as a Python library (yara-python), and is integrated into platforms like VirusTotal, MISP, Cuckoo Sandbox, and many SIEM systems."
|
|
22
|
+
},
|
|
23
|
+
es: {
|
|
24
|
+
name: "YARA",
|
|
25
|
+
description: "Lenguaje de coincidencia de patrones para identificar muestras de malware por patrones textuales y binarios, ampliamente usado en inteligencia de amenazas.",
|
|
26
|
+
longDescription: "YARA es una herramienta y lenguaje de reglas dise\xF1ado por Victor M. Alvarez en VirusTotal para identificar y clasificar malware bas\xE1ndose en patrones encontrados en archivos y procesos. Una regla YARA combina cadenas de texto, patrones de bytes y l\xF3gica booleana para describir familias de malware.\n\nLas reglas YARA se usan ampliamente en antivirus, centros de operaciones de seguridad, respuesta a incidentes y b\xFAsqueda de amenazas. Cada regla tiene un conjunto de cadenas \u2014 secuencias hexadecimales, texto o expresiones regulares \u2014 y una condici\xF3n que debe cumplirse."
|
|
27
|
+
},
|
|
28
|
+
it: {
|
|
29
|
+
name: "YARA",
|
|
30
|
+
description: "Linguaggio di pattern matching per identificare campioni di malware su pattern testuali e binari, ampiamente usato nell'intelligence sulle minacce.",
|
|
31
|
+
longDescription: "YARA \xE8 uno strumento e un linguaggio di regole progettato da Victor M. Alvarez presso VirusTotal per identificare e classificare malware basandosi su pattern trovati in file e processi. Una regola YARA combina stringhe testuali, pattern di byte e logica booleana per descrivere famiglie di malware.\n\nLe regole YARA sono ampiamente utilizzate in antivirus, SOC, risposta agli incidenti e threat hunting. Ogni regola ha un insieme di stringhe \u2014 sequenze esadecimali, testo o espressioni regolari \u2014 e una condizione che deve essere soddisfatta."
|
|
32
|
+
},
|
|
33
|
+
fr: {
|
|
34
|
+
name: "YARA",
|
|
35
|
+
description: "Langage de correspondance de motifs pour identifier des \xE9chantillons de malware par motifs textuels et binaires, utilis\xE9 en renseignement sur les menaces.",
|
|
36
|
+
longDescription: "YARA est un outil et un langage de r\xE8gles con\xE7u par Victor M. Alvarez chez VirusTotal pour identifier et classifier les malwares en fonction de motifs trouv\xE9s dans des fichiers et des processus. Une r\xE8gle YARA combine des cha\xEEnes textuelles, des motifs d'octets et une logique bool\xE9enne pour d\xE9crire des familles de malwares.\n\nLes r\xE8gles YARA sont largement utilis\xE9es dans les antivirus, les SOC, la r\xE9ponse aux incidents et la chasse aux menaces. Chaque r\xE8gle contient un ensemble de cha\xEEnes et une condition qui doit \xEAtre satisfaite."
|
|
37
|
+
},
|
|
38
|
+
de: {
|
|
39
|
+
name: "YARA",
|
|
40
|
+
description: "Pattern-Matching-Sprache zur Identifizierung von Malware-Proben anhand textueller und bin\xE4rer Muster, weit verbreitet in der Bedrohungsanalyse.",
|
|
41
|
+
longDescription: "YARA ist ein Tool und eine Regelsprache, die von Victor M. Alvarez bei VirusTotal entwickelt wurde, um Malware anhand von Mustern in Dateien und Prozessen zu identifizieren und zu klassifizieren. Eine YARA-Regel kombiniert Textstrings, Byte-Muster und boolesche Logik, um Malware-Familien zu beschreiben.\n\nYARA-Regeln werden in Antivirenprodukten, Security Operations Centers, Incident Response und Threat Hunting eingesetzt. Jede Regel hat Strings \u2014 hexadezimale Sequenzen, Textstrings oder regul\xE4re Ausdr\xFCcke \u2014 und eine Bedingung."
|
|
42
|
+
},
|
|
43
|
+
pt: {
|
|
44
|
+
name: "YARA",
|
|
45
|
+
description: "Linguagem de correspond\xEAncia de padr\xF5es para identificar amostras de malware por padr\xF5es textuais e bin\xE1rios, amplamente usada em intelig\xEAncia de amea\xE7as.",
|
|
46
|
+
longDescription: "YARA \xE9 uma ferramenta e linguagem de regras projetada por Victor M. Alvarez na VirusTotal para identificar e classificar malware com base em padr\xF5es encontrados em arquivos e processos. Uma regra YARA combina strings de texto, padr\xF5es de bytes e l\xF3gica booleana para descrever fam\xEDlias de malware.\n\nAs regras YARA s\xE3o amplamente usadas em antiv\xEDrus, centros de opera\xE7\xF5es de seguran\xE7a, resposta a incidentes e ca\xE7a a amea\xE7as. Cada regra tem um conjunto de strings \u2014 sequ\xEAncias hexadecimais, texto ou express\xF5es regulares \u2014 e uma condi\xE7\xE3o que deve ser satisfeita."
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export { yara };
|
package/dist/languages/zsh.cjs
CHANGED
|
@@ -13,7 +13,7 @@ var zsh = {
|
|
|
13
13
|
packageManagers: ["Homebrew", "APT", "DNF", "Pacman"],
|
|
14
14
|
ecosystems: ["Unix", "Linux", "macOS", "DevOps"]
|
|
15
15
|
},
|
|
16
|
-
version: "5.9",
|
|
16
|
+
version: "5.9.1",
|
|
17
17
|
logo: "https://commons.wikimedia.org/wiki/Special:Redirect/file/Z_Shell_Logo_Color_Horizontal.svg",
|
|
18
18
|
color: "#89E051",
|
|
19
19
|
i18n: {
|
package/dist/languages/zsh.js
CHANGED
|
@@ -11,7 +11,7 @@ var zsh = {
|
|
|
11
11
|
packageManagers: ["Homebrew", "APT", "DNF", "Pacman"],
|
|
12
12
|
ecosystems: ["Unix", "Linux", "macOS", "DevOps"]
|
|
13
13
|
},
|
|
14
|
-
version: "5.9",
|
|
14
|
+
version: "5.9.1",
|
|
15
15
|
logo: "https://commons.wikimedia.org/wiki/Special:Redirect/file/Z_Shell_Logo_Color_Horizontal.svg",
|
|
16
16
|
color: "#89E051",
|
|
17
17
|
i18n: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type BaseLocale =
|
|
1
|
+
type BaseLocale = 'en' | 'es' | 'it' | 'fr' | 'de' | 'pt';
|
|
2
2
|
type Locale = BaseLocale | `${BaseLocale}-${string}` | (string & {});
|
|
3
3
|
interface LanguageContent {
|
|
4
4
|
/** Display name. e.g. "TypeScript" */
|
|
@@ -43,7 +43,7 @@ interface Language {
|
|
|
43
43
|
/** Localized display content. English is required as the fallback locale. */
|
|
44
44
|
i18n: LanguageTranslations;
|
|
45
45
|
}
|
|
46
|
-
type LocalizedLanguage = Omit<Language,
|
|
46
|
+
type LocalizedLanguage = Omit<Language, 'i18n'> & LanguageContent & {
|
|
47
47
|
/** Locale requested by the caller. */
|
|
48
48
|
locale: Locale;
|
|
49
49
|
/** Translation locale actually used after exact, base-language, and English fallback resolution. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type BaseLocale =
|
|
1
|
+
type BaseLocale = 'en' | 'es' | 'it' | 'fr' | 'de' | 'pt';
|
|
2
2
|
type Locale = BaseLocale | `${BaseLocale}-${string}` | (string & {});
|
|
3
3
|
interface LanguageContent {
|
|
4
4
|
/** Display name. e.g. "TypeScript" */
|
|
@@ -43,7 +43,7 @@ interface Language {
|
|
|
43
43
|
/** Localized display content. English is required as the fallback locale. */
|
|
44
44
|
i18n: LanguageTranslations;
|
|
45
45
|
}
|
|
46
|
-
type LocalizedLanguage = Omit<Language,
|
|
46
|
+
type LocalizedLanguage = Omit<Language, 'i18n'> & LanguageContent & {
|
|
47
47
|
/** Locale requested by the caller. */
|
|
48
48
|
locale: Locale;
|
|
49
49
|
/** Translation locale actually used after exact, base-language, and English fallback resolution. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "code-languages",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.29.1",
|
|
4
4
|
"description": "Structured metadata for programming languages.",
|
|
5
5
|
"homepage": "https://github.com/ElJijuna/code-languages#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -986,7 +986,7 @@
|
|
|
986
986
|
"website:test": "node scripts/ensure-website-data-dir.mjs && vitest run --reporter=json --outputFile=docs/data/unit-results.json && node scripts/summarize-website-tests.mjs"
|
|
987
987
|
},
|
|
988
988
|
"devDependencies": {
|
|
989
|
-
"@biomejs/biome": "^
|
|
989
|
+
"@biomejs/biome": "^2.4.16",
|
|
990
990
|
"@commitlint/cli": "^19.6.1",
|
|
991
991
|
"@commitlint/config-conventional": "^19.6.0",
|
|
992
992
|
"@semantic-release/changelog": "^6.0.3",
|
|
@@ -997,6 +997,7 @@
|
|
|
997
997
|
"@semantic-release/release-notes-generator": "^14.1.1",
|
|
998
998
|
"husky": "^9.1.7",
|
|
999
999
|
"semantic-release": "^24.2.0",
|
|
1000
|
+
"super-configs": "^1.5.0",
|
|
1000
1001
|
"tsup": "^8.3.5",
|
|
1001
1002
|
"typescript": "^5.7.2",
|
|
1002
1003
|
"vitest": "^2.1.8"
|