code-languages 1.14.0 → 1.15.0

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 CHANGED
@@ -97,6 +97,7 @@ import { pascal } from "code-languages/pascal";
97
97
  import { perl } from "code-languages/perl";
98
98
  import { php } from "code-languages/php";
99
99
  import { powershell } from "code-languages/powershell";
100
+ import { protobuf } from "code-languages/protobuf";
100
101
  import { pug } from "code-languages/pug";
101
102
  import { python } from "code-languages/python";
102
103
  import { r } from "code-languages/r";
@@ -170,6 +171,7 @@ console.log(pascal.version);
170
171
  console.log(perl.version);
171
172
  console.log(php.version);
172
173
  console.log(powershell.extensions);
174
+ console.log(protobuf.version);
173
175
  console.log(pug.version);
174
176
  console.log(python.publishedDate);
175
177
  console.log(r.version);
@@ -251,6 +253,7 @@ import {
251
253
  perl,
252
254
  php,
253
255
  powershell,
256
+ protobuf,
254
257
  pug,
255
258
  rust,
256
259
  r,
@@ -324,6 +327,7 @@ console.log(localizeLanguage(pascal, "es").description);
324
327
  console.log(localizeLanguage(perl).description);
325
328
  console.log(localizeLanguage(php, "es").description);
326
329
  console.log(localizeLanguage(powershell).name);
330
+ console.log(localizeLanguage(protobuf, "es").description);
327
331
  console.log(localizeLanguage(pug, "es").description);
328
332
  console.log(go.logo);
329
333
  console.log(localizeLanguage(r, "es").description);
@@ -492,6 +496,7 @@ console.log(detectLanguages("include/config.h").map((language) => language.slug)
492
496
  | <img src="https://cdn.simpleicons.org/perl/39457E" alt="Perl logo" width="24" height="24"> | Perl | `perl` | `.pl`, `.pm`, `.pod`, `.t`, `.psgi` | `5.42.2` | `code-languages/perl` |
493
497
  | <img src="https://www.php.net/images/logos/new-php-logo.svg" alt="PHP logo" width="24" height="24"> | PHP | `php` | `.php`, `.phtml`, `.php3`, `.php4`, `.php5`, `.phps` | `8.5.6` | `code-languages/php` |
494
498
  | <img src="https://upload.wikimedia.org/wikipedia/commons/2/2f/PowerShell_5.0_icon.png" alt="PowerShell logo" width="24" height="24"> | PowerShell | `powershell` | `.ps1`, `.psm1`, `.psd1`, `.ps1xml` | `7.6.1` | `code-languages/powershell` |
499
+ | <img src="https://cdn.simpleicons.org/google/4285F4" alt="Protocol Buffers logo" width="24" height="24"> | Protocol Buffers | `protobuf` | `.proto` | `34.1` | `code-languages/protobuf` |
495
500
  | <img src="https://cdn.simpleicons.org/pug/A86454" alt="Pug logo" width="24" height="24"> | Pug | `pug` | `.pug`, `.jade` | `3.0.4` | `code-languages/pug` |
496
501
  | <img src="https://commons.wikimedia.org/wiki/Special:FilePath/Python-logo-notext.svg" alt="Python logo" width="24" height="24"> | Python | `python` | `.py`, `.pyw` | `3.14.4` | `code-languages/python` |
497
502
  | <img src="https://www.r-project.org/logo/Rlogo.svg" alt="R logo" width="24" height="24"> | R | `r` | `.r`, `.R`, `.rmd`, `.Rmd`, `.qmd`, `.Rprofile` | `4.6.0` | `code-languages/r` |
package/dist/api.cjs CHANGED
@@ -2068,6 +2068,44 @@ var init_powershell = __esm({
2068
2068
  }
2069
2069
  });
2070
2070
 
2071
+ // src/languages/protobuf.ts
2072
+ var protobuf_exports = {};
2073
+ __export(protobuf_exports, {
2074
+ protobuf: () => protobuf
2075
+ });
2076
+ var protobuf;
2077
+ var init_protobuf = __esm({
2078
+ "src/languages/protobuf.ts"() {
2079
+ protobuf = {
2080
+ slug: "protobuf",
2081
+ publishedDate: "2008-07-07",
2082
+ extensions: [".proto"],
2083
+ author: "Google",
2084
+ website: "https://protobuf.dev",
2085
+ paradigms: ["interface-definition", "schema", "declarative", "data-serialization"],
2086
+ tooling: {
2087
+ runtimes: ["Protocol Buffers Runtime", "gRPC"],
2088
+ packageManagers: ["Buf", "npm", "Maven", "Go modules", "NuGet", "PyPI"],
2089
+ ecosystems: ["gRPC", "APIs", "Microservices", "Data Serialization"]
2090
+ },
2091
+ version: "34.1",
2092
+ logo: "https://cdn.simpleicons.org/google/4285F4",
2093
+ i18n: {
2094
+ en: {
2095
+ name: "Protocol Buffers",
2096
+ description: "Google's language-neutral schema format for structured data serialization and service APIs.",
2097
+ longDescription: "Protocol Buffers is a language-neutral, platform-neutral mechanism for defining structured data schemas and generating strongly typed code in many programming languages. `.proto` files describe messages, fields, enums, services, packages, imports, options, and RPC contracts.\n\nIt is widely used with gRPC, microservices, distributed systems, APIs, telemetry, configuration, event streams, and storage formats that need compact binary serialization and stable cross-language contracts."
2098
+ },
2099
+ es: {
2100
+ name: "Protocol Buffers",
2101
+ description: "El formato de schemas neutral de Google para serializacion de datos estructurados y APIs de servicios.",
2102
+ longDescription: "Protocol Buffers es un mecanismo neutral en lenguaje y plataforma para definir schemas de datos estructurados y generar codigo tipado en muchos lenguajes de programacion. Los archivos `.proto` describen mensajes, campos, enums, servicios, paquetes, imports, opciones y contratos RPC.\n\nSe usa ampliamente con gRPC, microservicios, sistemas distribuidos, APIs, telemetria, configuracion, flujos de eventos y formatos de almacenamiento que necesitan serializacion binaria compacta y contratos estables entre lenguajes."
2103
+ }
2104
+ }
2105
+ };
2106
+ }
2107
+ });
2108
+
2071
2109
  // src/languages/pug.ts
2072
2110
  var pug_exports = {};
2073
2111
  __export(pug_exports, {
@@ -3013,6 +3051,7 @@ init_pascal();
3013
3051
  init_perl();
3014
3052
  init_php();
3015
3053
  init_powershell();
3054
+ init_protobuf();
3016
3055
  init_pug();
3017
3056
  init_python();
3018
3057
  init_r();
@@ -3094,6 +3133,7 @@ var languages = [
3094
3133
  perl,
3095
3134
  php,
3096
3135
  powershell,
3136
+ protobuf,
3097
3137
  pug,
3098
3138
  python,
3099
3139
  r,
@@ -3241,6 +3281,7 @@ var languageIndex = [
3241
3281
  { slug: "perl", extensions: [".pl", ".pm", ".pod", ".t", ".psgi"] },
3242
3282
  { slug: "php", extensions: [".php", ".phtml", ".php3", ".php4", ".php5", ".phps"] },
3243
3283
  { slug: "powershell", extensions: [".ps1", ".psm1", ".psd1", ".ps1xml"] },
3284
+ { slug: "protobuf", extensions: [".proto"] },
3244
3285
  { slug: "pug", extensions: [".pug", ".jade"] },
3245
3286
  { slug: "python", extensions: [".py", ".pyw"] },
3246
3287
  { slug: "r", extensions: [".r", ".R", ".rmd", ".Rmd", ".qmd", ".Rprofile"] },
@@ -3328,6 +3369,7 @@ var languageLoaders = {
3328
3369
  perl: () => Promise.resolve().then(() => (init_perl(), perl_exports)).then((module) => module.perl),
3329
3370
  php: () => Promise.resolve().then(() => (init_php(), php_exports)).then((module) => module.php),
3330
3371
  powershell: () => Promise.resolve().then(() => (init_powershell(), powershell_exports)).then((module) => module.powershell),
3372
+ protobuf: () => Promise.resolve().then(() => (init_protobuf(), protobuf_exports)).then((module) => module.protobuf),
3331
3373
  pug: () => Promise.resolve().then(() => (init_pug(), pug_exports)).then((module) => module.pug),
3332
3374
  python: () => Promise.resolve().then(() => (init_python(), python_exports)).then((module) => module.python),
3333
3375
  r: () => Promise.resolve().then(() => (init_r(), r_exports)).then((module) => module.r),