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 +5 -0
- package/dist/api.cjs +42 -0
- package/dist/api.cjs.map +1 -1
- package/dist/api.d.cts +27 -0
- package/dist/api.d.ts +27 -0
- package/dist/api.js +42 -0
- package/dist/api.js.map +1 -1
- package/dist/detect.cjs +30 -0
- package/dist/detect.cjs.map +1 -1
- package/dist/detect.js +30 -0
- package/dist/detect.js.map +1 -1
- package/dist/index.cjs +43 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +27 -0
- package/dist/index.d.ts +27 -0
- package/dist/index.js +44 -1
- package/dist/index.js.map +1 -1
- package/dist/languages/protobuf.cjs +34 -0
- package/dist/languages/protobuf.cjs.map +1 -0
- package/dist/languages/protobuf.d.cts +29 -0
- package/dist/languages/protobuf.d.ts +29 -0
- package/dist/languages/protobuf.js +32 -0
- package/dist/languages/protobuf.js.map +1 -0
- package/package.json +6 -1
package/dist/index.d.cts
CHANGED
|
@@ -57,6 +57,7 @@ export { pascal } from './languages/pascal.cjs';
|
|
|
57
57
|
export { perl } from './languages/perl.cjs';
|
|
58
58
|
export { php } from './languages/php.cjs';
|
|
59
59
|
export { powershell } from './languages/powershell.cjs';
|
|
60
|
+
export { protobuf } from './languages/protobuf.cjs';
|
|
60
61
|
export { pug } from './languages/pug.cjs';
|
|
61
62
|
export { python } from './languages/python.cjs';
|
|
62
63
|
export { r } from './languages/r.cjs';
|
|
@@ -1740,6 +1741,32 @@ declare const languages: readonly [{
|
|
|
1740
1741
|
longDescription: string;
|
|
1741
1742
|
};
|
|
1742
1743
|
};
|
|
1744
|
+
}, {
|
|
1745
|
+
slug: string;
|
|
1746
|
+
publishedDate: string;
|
|
1747
|
+
extensions: string[];
|
|
1748
|
+
author: string;
|
|
1749
|
+
website: string;
|
|
1750
|
+
paradigms: string[];
|
|
1751
|
+
tooling: {
|
|
1752
|
+
runtimes: string[];
|
|
1753
|
+
packageManagers: string[];
|
|
1754
|
+
ecosystems: string[];
|
|
1755
|
+
};
|
|
1756
|
+
version: string;
|
|
1757
|
+
logo: string;
|
|
1758
|
+
i18n: {
|
|
1759
|
+
en: {
|
|
1760
|
+
name: string;
|
|
1761
|
+
description: string;
|
|
1762
|
+
longDescription: string;
|
|
1763
|
+
};
|
|
1764
|
+
es: {
|
|
1765
|
+
name: string;
|
|
1766
|
+
description: string;
|
|
1767
|
+
longDescription: string;
|
|
1768
|
+
};
|
|
1769
|
+
};
|
|
1743
1770
|
}, {
|
|
1744
1771
|
slug: string;
|
|
1745
1772
|
publishedDate: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -57,6 +57,7 @@ export { pascal } from './languages/pascal.js';
|
|
|
57
57
|
export { perl } from './languages/perl.js';
|
|
58
58
|
export { php } from './languages/php.js';
|
|
59
59
|
export { powershell } from './languages/powershell.js';
|
|
60
|
+
export { protobuf } from './languages/protobuf.js';
|
|
60
61
|
export { pug } from './languages/pug.js';
|
|
61
62
|
export { python } from './languages/python.js';
|
|
62
63
|
export { r } from './languages/r.js';
|
|
@@ -1740,6 +1741,32 @@ declare const languages: readonly [{
|
|
|
1740
1741
|
longDescription: string;
|
|
1741
1742
|
};
|
|
1742
1743
|
};
|
|
1744
|
+
}, {
|
|
1745
|
+
slug: string;
|
|
1746
|
+
publishedDate: string;
|
|
1747
|
+
extensions: string[];
|
|
1748
|
+
author: string;
|
|
1749
|
+
website: string;
|
|
1750
|
+
paradigms: string[];
|
|
1751
|
+
tooling: {
|
|
1752
|
+
runtimes: string[];
|
|
1753
|
+
packageManagers: string[];
|
|
1754
|
+
ecosystems: string[];
|
|
1755
|
+
};
|
|
1756
|
+
version: string;
|
|
1757
|
+
logo: string;
|
|
1758
|
+
i18n: {
|
|
1759
|
+
en: {
|
|
1760
|
+
name: string;
|
|
1761
|
+
description: string;
|
|
1762
|
+
longDescription: string;
|
|
1763
|
+
};
|
|
1764
|
+
es: {
|
|
1765
|
+
name: string;
|
|
1766
|
+
description: string;
|
|
1767
|
+
longDescription: string;
|
|
1768
|
+
};
|
|
1769
|
+
};
|
|
1743
1770
|
}, {
|
|
1744
1771
|
slug: string;
|
|
1745
1772
|
publishedDate: string;
|
package/dist/index.js
CHANGED
|
@@ -2066,6 +2066,44 @@ var init_powershell = __esm({
|
|
|
2066
2066
|
}
|
|
2067
2067
|
});
|
|
2068
2068
|
|
|
2069
|
+
// src/languages/protobuf.ts
|
|
2070
|
+
var protobuf_exports = {};
|
|
2071
|
+
__export(protobuf_exports, {
|
|
2072
|
+
protobuf: () => protobuf
|
|
2073
|
+
});
|
|
2074
|
+
var protobuf;
|
|
2075
|
+
var init_protobuf = __esm({
|
|
2076
|
+
"src/languages/protobuf.ts"() {
|
|
2077
|
+
protobuf = {
|
|
2078
|
+
slug: "protobuf",
|
|
2079
|
+
publishedDate: "2008-07-07",
|
|
2080
|
+
extensions: [".proto"],
|
|
2081
|
+
author: "Google",
|
|
2082
|
+
website: "https://protobuf.dev",
|
|
2083
|
+
paradigms: ["interface-definition", "schema", "declarative", "data-serialization"],
|
|
2084
|
+
tooling: {
|
|
2085
|
+
runtimes: ["Protocol Buffers Runtime", "gRPC"],
|
|
2086
|
+
packageManagers: ["Buf", "npm", "Maven", "Go modules", "NuGet", "PyPI"],
|
|
2087
|
+
ecosystems: ["gRPC", "APIs", "Microservices", "Data Serialization"]
|
|
2088
|
+
},
|
|
2089
|
+
version: "34.1",
|
|
2090
|
+
logo: "https://cdn.simpleicons.org/google/4285F4",
|
|
2091
|
+
i18n: {
|
|
2092
|
+
en: {
|
|
2093
|
+
name: "Protocol Buffers",
|
|
2094
|
+
description: "Google's language-neutral schema format for structured data serialization and service APIs.",
|
|
2095
|
+
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."
|
|
2096
|
+
},
|
|
2097
|
+
es: {
|
|
2098
|
+
name: "Protocol Buffers",
|
|
2099
|
+
description: "El formato de schemas neutral de Google para serializacion de datos estructurados y APIs de servicios.",
|
|
2100
|
+
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."
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2103
|
+
};
|
|
2104
|
+
}
|
|
2105
|
+
});
|
|
2106
|
+
|
|
2069
2107
|
// src/languages/pug.ts
|
|
2070
2108
|
var pug_exports = {};
|
|
2071
2109
|
__export(pug_exports, {
|
|
@@ -3011,6 +3049,7 @@ init_pascal();
|
|
|
3011
3049
|
init_perl();
|
|
3012
3050
|
init_php();
|
|
3013
3051
|
init_powershell();
|
|
3052
|
+
init_protobuf();
|
|
3014
3053
|
init_pug();
|
|
3015
3054
|
init_python();
|
|
3016
3055
|
init_r();
|
|
@@ -3092,6 +3131,7 @@ var languages = [
|
|
|
3092
3131
|
perl,
|
|
3093
3132
|
php,
|
|
3094
3133
|
powershell,
|
|
3134
|
+
protobuf,
|
|
3095
3135
|
pug,
|
|
3096
3136
|
python,
|
|
3097
3137
|
r,
|
|
@@ -3239,6 +3279,7 @@ var languageIndex = [
|
|
|
3239
3279
|
{ slug: "perl", extensions: [".pl", ".pm", ".pod", ".t", ".psgi"] },
|
|
3240
3280
|
{ slug: "php", extensions: [".php", ".phtml", ".php3", ".php4", ".php5", ".phps"] },
|
|
3241
3281
|
{ slug: "powershell", extensions: [".ps1", ".psm1", ".psd1", ".ps1xml"] },
|
|
3282
|
+
{ slug: "protobuf", extensions: [".proto"] },
|
|
3242
3283
|
{ slug: "pug", extensions: [".pug", ".jade"] },
|
|
3243
3284
|
{ slug: "python", extensions: [".py", ".pyw"] },
|
|
3244
3285
|
{ slug: "r", extensions: [".r", ".R", ".rmd", ".Rmd", ".qmd", ".Rprofile"] },
|
|
@@ -3326,6 +3367,7 @@ var languageLoaders = {
|
|
|
3326
3367
|
perl: () => Promise.resolve().then(() => (init_perl(), perl_exports)).then((module) => module.perl),
|
|
3327
3368
|
php: () => Promise.resolve().then(() => (init_php(), php_exports)).then((module) => module.php),
|
|
3328
3369
|
powershell: () => Promise.resolve().then(() => (init_powershell(), powershell_exports)).then((module) => module.powershell),
|
|
3370
|
+
protobuf: () => Promise.resolve().then(() => (init_protobuf(), protobuf_exports)).then((module) => module.protobuf),
|
|
3329
3371
|
pug: () => Promise.resolve().then(() => (init_pug(), pug_exports)).then((module) => module.pug),
|
|
3330
3372
|
python: () => Promise.resolve().then(() => (init_python(), python_exports)).then((module) => module.python),
|
|
3331
3373
|
r: () => Promise.resolve().then(() => (init_r(), r_exports)).then((module) => module.r),
|
|
@@ -3501,6 +3543,7 @@ init_pascal();
|
|
|
3501
3543
|
init_perl();
|
|
3502
3544
|
init_php();
|
|
3503
3545
|
init_powershell();
|
|
3546
|
+
init_protobuf();
|
|
3504
3547
|
init_pug();
|
|
3505
3548
|
init_python();
|
|
3506
3549
|
init_r();
|
|
@@ -3526,6 +3569,6 @@ init_yaml();
|
|
|
3526
3569
|
init_zig();
|
|
3527
3570
|
init_zsh();
|
|
3528
3571
|
|
|
3529
|
-
export { abap, actionscript, api, asp, assembly, astro, bash, batch, c, cmake, cobol, coffeescript, cpp, crystal, csharp, css, cuda, dart, detectLanguage, detectLanguages, dockerfile, elixir, elm, erlang, fortran, fsharp, git, glsl, go, gradle, graphql, groovy, haskell, hcl, html, ini, java, javascript, json, julia, jupyterNotebook, kotlin, languages, less, lisp, localizeLanguage, lua, makefile, markdown, matlab, meson, metal, nginx, nix, objectiveC, ocaml, pascal, perl, php, powershell, pug, python, r, razor, ruby, rust, scala, scss, solidity, sql, svelte, svg, svn, swift, toml, typescript, visualBasic, vue, webassembly, xaml, xml, yaml, zig, zsh };
|
|
3572
|
+
export { abap, actionscript, api, asp, assembly, astro, bash, batch, c, cmake, cobol, coffeescript, cpp, crystal, csharp, css, cuda, dart, detectLanguage, detectLanguages, dockerfile, elixir, elm, erlang, fortran, fsharp, git, glsl, go, gradle, graphql, groovy, haskell, hcl, html, ini, java, javascript, json, julia, jupyterNotebook, kotlin, languages, less, lisp, localizeLanguage, lua, makefile, markdown, matlab, meson, metal, nginx, nix, objectiveC, ocaml, pascal, perl, php, powershell, protobuf, pug, python, r, razor, ruby, rust, scala, scss, solidity, sql, svelte, svg, svn, swift, toml, typescript, visualBasic, vue, webassembly, xaml, xml, yaml, zig, zsh };
|
|
3530
3573
|
//# sourceMappingURL=index.js.map
|
|
3531
3574
|
//# sourceMappingURL=index.js.map
|