code-languages 1.12.3 → 1.13.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 +18 -3
- package/dist/api.cjs +127 -1
- package/dist/api.cjs.map +1 -1
- package/dist/api.d.cts +81 -0
- package/dist/api.d.ts +81 -0
- package/dist/api.js +127 -1
- package/dist/api.js.map +1 -1
- package/dist/detect.cjs +91 -1
- package/dist/detect.cjs.map +1 -1
- package/dist/detect.js +91 -1
- package/dist/detect.js.map +1 -1
- package/dist/index.cjs +130 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +81 -0
- package/dist/index.d.ts +81 -0
- package/dist/index.js +131 -2
- package/dist/index.js.map +1 -1
- package/dist/languages/hcl.cjs +34 -0
- package/dist/languages/hcl.cjs.map +1 -0
- package/dist/languages/hcl.d.cts +29 -0
- package/dist/languages/hcl.d.ts +29 -0
- package/dist/languages/hcl.js +32 -0
- package/dist/languages/hcl.js.map +1 -0
- package/dist/languages/nginx.cjs +1 -1
- package/dist/languages/nginx.cjs.map +1 -1
- package/dist/languages/nginx.js +1 -1
- package/dist/languages/nginx.js.map +1 -1
- package/dist/languages/razor.cjs +34 -0
- package/dist/languages/razor.cjs.map +1 -0
- package/dist/languages/razor.d.cts +29 -0
- package/dist/languages/razor.d.ts +29 -0
- package/dist/languages/razor.js +32 -0
- package/dist/languages/razor.js.map +1 -0
- package/dist/languages/solidity.cjs +34 -0
- package/dist/languages/solidity.cjs.map +1 -0
- package/dist/languages/solidity.d.cts +29 -0
- package/dist/languages/solidity.d.ts +29 -0
- package/dist/languages/solidity.js +32 -0
- package/dist/languages/solidity.js.map +1 -0
- package/package.json +16 -1
package/README.md
CHANGED
|
@@ -72,10 +72,11 @@ import { gradle } from "code-languages/gradle";
|
|
|
72
72
|
import { glsl } from "code-languages/glsl";
|
|
73
73
|
import { graphql } from "code-languages/graphql";
|
|
74
74
|
import { groovy } from "code-languages/groovy";
|
|
75
|
+
import { hcl } from "code-languages/hcl";
|
|
76
|
+
import { html } from "code-languages/html";
|
|
75
77
|
import { ini } from "code-languages/ini";
|
|
76
78
|
import { javascript } from "code-languages/javascript";
|
|
77
79
|
import { java } from "code-languages/java";
|
|
78
|
-
import { html } from "code-languages/html";
|
|
79
80
|
import { julia } from "code-languages/julia";
|
|
80
81
|
import { kotlin } from "code-languages/kotlin";
|
|
81
82
|
import { less } from "code-languages/less";
|
|
@@ -96,9 +97,11 @@ import { powershell } from "code-languages/powershell";
|
|
|
96
97
|
import { pug } from "code-languages/pug";
|
|
97
98
|
import { python } from "code-languages/python";
|
|
98
99
|
import { r } from "code-languages/r";
|
|
100
|
+
import { razor } from "code-languages/razor";
|
|
99
101
|
import { ruby } from "code-languages/ruby";
|
|
100
102
|
import { scala } from "code-languages/scala";
|
|
101
103
|
import { scss } from "code-languages/scss";
|
|
104
|
+
import { solidity } from "code-languages/solidity";
|
|
102
105
|
import { json } from "code-languages/json";
|
|
103
106
|
import { sql } from "code-languages/sql";
|
|
104
107
|
import { svg } from "code-languages/svg";
|
|
@@ -140,10 +143,11 @@ console.log(gradle.extensions);
|
|
|
140
143
|
console.log(glsl.extensions);
|
|
141
144
|
console.log(graphql.version);
|
|
142
145
|
console.log(groovy.version);
|
|
146
|
+
console.log(hcl.extensions);
|
|
147
|
+
console.log(html.extensions);
|
|
143
148
|
console.log(ini.extensions);
|
|
144
149
|
console.log(javascript.website);
|
|
145
150
|
console.log(java.version);
|
|
146
|
-
console.log(html.extensions);
|
|
147
151
|
console.log(julia.version);
|
|
148
152
|
console.log(kotlin.version);
|
|
149
153
|
console.log(less.extensions);
|
|
@@ -164,9 +168,11 @@ console.log(powershell.extensions);
|
|
|
164
168
|
console.log(pug.version);
|
|
165
169
|
console.log(python.publishedDate);
|
|
166
170
|
console.log(r.version);
|
|
171
|
+
console.log(razor.extensions);
|
|
167
172
|
console.log(ruby.website);
|
|
168
173
|
console.log(scala.version);
|
|
169
174
|
console.log(scss.extensions);
|
|
175
|
+
console.log(solidity.version);
|
|
170
176
|
console.log(json.i18n.en.description);
|
|
171
177
|
console.log(sql.i18n.en.name);
|
|
172
178
|
console.log(svg.extensions);
|
|
@@ -213,6 +219,7 @@ import {
|
|
|
213
219
|
glsl,
|
|
214
220
|
graphql,
|
|
215
221
|
groovy,
|
|
222
|
+
hcl,
|
|
216
223
|
html,
|
|
217
224
|
ini,
|
|
218
225
|
java,
|
|
@@ -238,9 +245,11 @@ import {
|
|
|
238
245
|
pug,
|
|
239
246
|
rust,
|
|
240
247
|
r,
|
|
248
|
+
razor,
|
|
241
249
|
ruby,
|
|
242
250
|
scala,
|
|
243
251
|
scss,
|
|
252
|
+
solidity,
|
|
244
253
|
sql,
|
|
245
254
|
svg,
|
|
246
255
|
svn,
|
|
@@ -282,6 +291,7 @@ console.log(localizeLanguage(fsharp, "es").description);
|
|
|
282
291
|
console.log(localizeLanguage(glsl, "es").description);
|
|
283
292
|
console.log(localizeLanguage(graphql, "es").description);
|
|
284
293
|
console.log(localizeLanguage(groovy).description);
|
|
294
|
+
console.log(localizeLanguage(hcl, "es").description);
|
|
285
295
|
console.log(localizeLanguage(ini, "es").description);
|
|
286
296
|
console.log(localizeLanguage(java).name);
|
|
287
297
|
console.log(html.website);
|
|
@@ -305,9 +315,11 @@ console.log(localizeLanguage(powershell).name);
|
|
|
305
315
|
console.log(localizeLanguage(pug, "es").description);
|
|
306
316
|
console.log(go.logo);
|
|
307
317
|
console.log(localizeLanguage(r, "es").description);
|
|
318
|
+
console.log(localizeLanguage(razor, "es").description);
|
|
308
319
|
console.log(localizeLanguage(ruby, "es").description);
|
|
309
320
|
console.log(localizeLanguage(scala, "es").description);
|
|
310
321
|
console.log(localizeLanguage(scss).name);
|
|
322
|
+
console.log(localizeLanguage(solidity, "es").description);
|
|
311
323
|
console.log(json.website);
|
|
312
324
|
console.log(sql.extensions);
|
|
313
325
|
console.log(localizeLanguage(svg, "es").description);
|
|
@@ -441,6 +453,7 @@ console.log(detectLanguages("include/config.h").map((language) => language.slug)
|
|
|
441
453
|
| <img src="https://cdn.simpleicons.org/opengl/5586A4" alt="GLSL logo" width="24" height="24"> | GLSL | `glsl` | `.glsl`, `.vert`, `.frag`, `.geom`, `.tesc`, `.tese`, `.comp`, `.vs`, `.fs` | `4.60` | `code-languages/glsl` |
|
|
442
454
|
| <img src="https://upload.wikimedia.org/wikipedia/commons/1/17/GraphQL_Logo.svg" alt="GraphQL logo" width="24" height="24"> | GraphQL | `graphql` | `.graphql`, `.gql`, `.graphqls` | `September 2025` | `code-languages/graphql` |
|
|
443
455
|
| <img src="https://upload.wikimedia.org/wikipedia/commons/3/36/Groovy-logo.svg" alt="Groovy logo" width="24" height="24"> | Groovy | `groovy` | `.groovy`, `.gvy`, `.gy`, `.gsh` | `5.0.5` | `code-languages/groovy` |
|
|
456
|
+
| <img src="https://cdn.simpleicons.org/hashicorp/844FBA" alt="HCL logo" width="24" height="24"> | HCL | `hcl` | `.hcl`, `.tf`, `.tfvars`, `.pkr.hcl`, `.nomad` | `2.24.0` | `code-languages/hcl` |
|
|
444
457
|
| <img src="https://www.w3.org/html/logo/downloads/HTML5_Badge.svg" alt="HTML logo" width="24" height="24"> | HTML | `html` | `.html`, `.htm` | `Living Standard` | `code-languages/html` |
|
|
445
458
|
| <img src="https://commons.wikimedia.org/wiki/Special:FilePath/Configure.svg" alt="INI logo" width="24" height="24"> | INI | `ini` | `.ini` | `Informal format` | `code-languages/ini` |
|
|
446
459
|
| <img src="https://www.vectorlogo.zone/logos/java/java-icon.svg" alt="Java logo" width="24" height="24"> | Java | `java` | `.java` | `26` | `code-languages/java` |
|
|
@@ -456,7 +469,7 @@ console.log(detectLanguages("include/config.h").map((language) => language.slug)
|
|
|
456
469
|
| <img src="https://upload.wikimedia.org/wikipedia/commons/4/48/Markdown-mark.svg" alt="Markdown logo" width="24" height="24"> | Markdown | `markdown` | `.md`, `.markdown`, `.mdown`, `.mkd` | `CommonMark 0.31.2` | `code-languages/markdown` |
|
|
457
470
|
| <img src="https://raw.githubusercontent.com/mesonbuild/meson/master/graphics/meson_logo.svg" alt="Meson logo" width="24" height="24"> | Meson | `meson` | `meson.build`, `meson_options.txt`, `meson.options`, `.wrap` | `1.11.1` | `code-languages/meson` |
|
|
458
471
|
| <img src="https://developer.apple.com/assets/elements/icons/metal/metal-256x256_2x.png" alt="Metal logo" width="24" height="24"> | Metal | `metal` | `.metal` | `Metal 4` | `code-languages/metal` |
|
|
459
|
-
| <img src="https://upload.wikimedia.org/wikipedia/commons/c/c5/Nginx_logo.svg" alt="nginx logo" width="24" height="24"> | nginx | `nginx` | `nginx.conf`, `.nginx`, `.conf` | `1.30.
|
|
472
|
+
| <img src="https://upload.wikimedia.org/wikipedia/commons/c/c5/Nginx_logo.svg" alt="nginx logo" width="24" height="24"> | nginx | `nginx` | `nginx.conf`, `.nginx`, `.conf` | `1.30.1` | `code-languages/nginx` |
|
|
460
473
|
| <img src="https://cdn.simpleicons.org/nixos/5277C3" alt="Nix logo" width="24" height="24"> | Nix | `nix` | `.nix` | `2.28` | `code-languages/nix` |
|
|
461
474
|
| <img src="https://upload.wikimedia.org/wikipedia/commons/1/1b/Apple_logo_grey.svg" alt="Objective-C logo" width="24" height="24"> | Objective-C | `objective-c` | `.m`, `.mm` | `2.0` | `code-languages/objective-c` |
|
|
462
475
|
| <img src="https://cdn.simpleicons.org/lazarus/000000" alt="Pascal logo" width="24" height="24"> | Pascal | `pascal` | `.pas`, `.pp`, `.inc`, `.lpr`, `.dpr`, `.dfm` | `3.2.2` | `code-languages/pascal` |
|
|
@@ -466,10 +479,12 @@ console.log(detectLanguages("include/config.h").map((language) => language.slug)
|
|
|
466
479
|
| <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` |
|
|
467
480
|
| <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` |
|
|
468
481
|
| <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` |
|
|
482
|
+
| <img src="https://cdn.simpleicons.org/dotnet/512BD4" alt="Razor logo" width="24" height="24"> | Razor | `razor` | `.cshtml`, `.razor` | `10.0.8` | `code-languages/razor` |
|
|
469
483
|
| <img src="https://www.ruby-lang.org/images/header-ruby-logo.png" alt="Ruby logo" width="24" height="24"> | Ruby | `ruby` | `.rb`, `.rbw`, `.rake`, `.gemspec`, `Gemfile`, `Rakefile`, `config.ru` | `4.0.4` | `code-languages/ruby` |
|
|
470
484
|
| <img src="https://www.rust-lang.org/logos/rust-logo-512x512.png" alt="Rust logo" width="24" height="24"> | Rust | `rust` | `.rs` | `1.95.0` | `code-languages/rust` |
|
|
471
485
|
| <img src="https://cdn.simpleicons.org/scala/DC322F" alt="Scala logo" width="24" height="24"> | Scala | `scala` | `.scala`, `.sc` | `3.8.3` | `code-languages/scala` |
|
|
472
486
|
| <img src="https://sass-lang.com/assets/img/logos/logo.svg" alt="Sass logo" width="24" height="24"> | Sass | `scss` | `.scss`, `.sass` | `1.99.0` | `code-languages/scss` |
|
|
487
|
+
| <img src="https://cdn.simpleicons.org/solidity/363636" alt="Solidity logo" width="24" height="24"> | Solidity | `solidity` | `.sol` | `0.8.35` | `code-languages/solidity` |
|
|
473
488
|
| <img src="https://upload.wikimedia.org/wikipedia/commons/8/87/Sql_data_base_with_logo.png" alt="SQL logo" width="24" height="24"> | SQL | `sql` | `.sql` | `SQL:2023` | `code-languages/sql` |
|
|
474
489
|
| <img src="https://upload.wikimedia.org/wikipedia/commons/4/4f/SVG_Logo.svg" alt="SVG logo" width="24" height="24"> | SVG | `svg` | `.svg`, `.svgz` | `SVG 2` | `code-languages/svg` |
|
|
475
490
|
| <img src="https://cdn.simpleicons.org/subversion/809CC9" alt="SVN logo" width="24" height="24"> | SVN | `svn` | `.svn`, `svnserve.conf` | `1.14.5` | `code-languages/svn` |
|
package/dist/api.cjs
CHANGED
|
@@ -1062,6 +1062,44 @@ var init_groovy = __esm({
|
|
|
1062
1062
|
}
|
|
1063
1063
|
});
|
|
1064
1064
|
|
|
1065
|
+
// src/languages/hcl.ts
|
|
1066
|
+
var hcl_exports = {};
|
|
1067
|
+
__export(hcl_exports, {
|
|
1068
|
+
hcl: () => hcl
|
|
1069
|
+
});
|
|
1070
|
+
var hcl;
|
|
1071
|
+
var init_hcl = __esm({
|
|
1072
|
+
"src/languages/hcl.ts"() {
|
|
1073
|
+
hcl = {
|
|
1074
|
+
slug: "hcl",
|
|
1075
|
+
publishedDate: "2014-01-01",
|
|
1076
|
+
extensions: [".hcl", ".tf", ".tfvars", ".pkr.hcl", ".nomad"],
|
|
1077
|
+
author: "HashiCorp",
|
|
1078
|
+
website: "https://github.com/hashicorp/hcl",
|
|
1079
|
+
paradigms: ["declarative", "configuration", "data-serialization"],
|
|
1080
|
+
tooling: {
|
|
1081
|
+
runtimes: ["Terraform", "Packer", "Nomad", "Vault", "Consul"],
|
|
1082
|
+
packageManagers: ["Terraform Registry"],
|
|
1083
|
+
ecosystems: ["Infrastructure as Code", "DevOps", "Cloud", "HashiCorp"]
|
|
1084
|
+
},
|
|
1085
|
+
version: "2.24.0",
|
|
1086
|
+
logo: "https://cdn.simpleicons.org/hashicorp/844FBA",
|
|
1087
|
+
i18n: {
|
|
1088
|
+
en: {
|
|
1089
|
+
name: "HCL",
|
|
1090
|
+
description: "HashiCorp Configuration Language for human-readable infrastructure and application configuration.",
|
|
1091
|
+
longDescription: "HCL is HashiCorp Configuration Language, a structured configuration language designed to be readable by humans while remaining easy for tools to parse. It supports blocks, attributes, expressions, variables, functions, object values, and references used to describe infrastructure and application settings.\n\nIt is best known through Terraform, but it is also used across HashiCorp tools such as Packer, Nomad, Vault, and Consul. HCL files commonly define cloud resources, modules, providers, jobs, policies, templates, and environment-specific variables."
|
|
1092
|
+
},
|
|
1093
|
+
es: {
|
|
1094
|
+
name: "HCL",
|
|
1095
|
+
description: "El lenguaje de configuracion de HashiCorp para infraestructura y configuracion legible por humanos.",
|
|
1096
|
+
longDescription: "HCL es HashiCorp Configuration Language, un lenguaje de configuracion estructurado disenado para ser legible por humanos y facil de analizar por herramientas. Soporta bloques, atributos, expresiones, variables, funciones, valores de objeto y referencias usadas para describir infraestructura y configuracion de aplicaciones.\n\nEs conocido principalmente por Terraform, pero tambien se usa en herramientas de HashiCorp como Packer, Nomad, Vault y Consul. Los archivos HCL suelen definir recursos cloud, modulos, providers, jobs, politicas, templates y variables especificas por entorno."
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
};
|
|
1100
|
+
}
|
|
1101
|
+
});
|
|
1102
|
+
|
|
1065
1103
|
// src/languages/html.ts
|
|
1066
1104
|
var html_exports = {};
|
|
1067
1105
|
__export(html_exports, {
|
|
@@ -1632,7 +1670,7 @@ var init_nginx = __esm({
|
|
|
1632
1670
|
runtimes: ["nginx", "NGINX Plus", "OpenResty"],
|
|
1633
1671
|
ecosystems: ["Web Servers", "Reverse Proxies", "Load Balancing", "DevOps"]
|
|
1634
1672
|
},
|
|
1635
|
-
version: "1.30.
|
|
1673
|
+
version: "1.30.1",
|
|
1636
1674
|
logo: "https://upload.wikimedia.org/wikipedia/commons/c/c5/Nginx_logo.svg",
|
|
1637
1675
|
i18n: {
|
|
1638
1676
|
en: {
|
|
@@ -1992,6 +2030,44 @@ var init_r = __esm({
|
|
|
1992
2030
|
}
|
|
1993
2031
|
});
|
|
1994
2032
|
|
|
2033
|
+
// src/languages/razor.ts
|
|
2034
|
+
var razor_exports = {};
|
|
2035
|
+
__export(razor_exports, {
|
|
2036
|
+
razor: () => razor
|
|
2037
|
+
});
|
|
2038
|
+
var razor;
|
|
2039
|
+
var init_razor = __esm({
|
|
2040
|
+
"src/languages/razor.ts"() {
|
|
2041
|
+
razor = {
|
|
2042
|
+
slug: "razor",
|
|
2043
|
+
publishedDate: "2010-07-01",
|
|
2044
|
+
extensions: [".cshtml", ".razor"],
|
|
2045
|
+
author: "Microsoft",
|
|
2046
|
+
website: "https://learn.microsoft.com/en-us/aspnet/core/mvc/views/razor",
|
|
2047
|
+
paradigms: ["templating", "component-based", "server-side", "declarative"],
|
|
2048
|
+
tooling: {
|
|
2049
|
+
runtimes: ["ASP.NET Core", ".NET", "Blazor"],
|
|
2050
|
+
packageManagers: ["NuGet"],
|
|
2051
|
+
ecosystems: [".NET", "ASP.NET Core", "Web", "Blazor"]
|
|
2052
|
+
},
|
|
2053
|
+
version: "10.0.8",
|
|
2054
|
+
logo: "https://cdn.simpleicons.org/dotnet/512BD4",
|
|
2055
|
+
i18n: {
|
|
2056
|
+
en: {
|
|
2057
|
+
name: "Razor",
|
|
2058
|
+
description: "Microsoft's markup syntax for ASP.NET Core views, Razor Pages, and Blazor components.",
|
|
2059
|
+
longDescription: "Razor is a markup syntax and templating language used by ASP.NET Core to combine HTML with C# expressions, directives, layouts, tag helpers, components, and server-side or interactive rendering logic.\n\nIt is used in MVC views, Razor Pages, Razor Class Libraries, and Blazor components. Razor files commonly define page templates, reusable UI components, forms, layouts, routing, component parameters, and bindings within .NET web applications."
|
|
2060
|
+
},
|
|
2061
|
+
es: {
|
|
2062
|
+
name: "Razor",
|
|
2063
|
+
description: "La sintaxis de marcado de Microsoft para vistas ASP.NET Core, Razor Pages y componentes Blazor.",
|
|
2064
|
+
longDescription: "Razor es una sintaxis de marcado y lenguaje de templates usado por ASP.NET Core para combinar HTML con expresiones C#, directivas, layouts, tag helpers, componentes y logica de renderizado server-side o interactiva.\n\nSe usa en vistas MVC, Razor Pages, Razor Class Libraries y componentes Blazor. Los archivos Razor suelen definir templates de paginas, componentes UI reutilizables, formularios, layouts, routing, parametros de componentes y bindings dentro de aplicaciones web .NET."
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
};
|
|
2068
|
+
}
|
|
2069
|
+
});
|
|
2070
|
+
|
|
1995
2071
|
// src/languages/ruby.ts
|
|
1996
2072
|
var ruby_exports = {};
|
|
1997
2073
|
__export(ruby_exports, {
|
|
@@ -2144,6 +2220,44 @@ var init_scss = __esm({
|
|
|
2144
2220
|
}
|
|
2145
2221
|
});
|
|
2146
2222
|
|
|
2223
|
+
// src/languages/solidity.ts
|
|
2224
|
+
var solidity_exports = {};
|
|
2225
|
+
__export(solidity_exports, {
|
|
2226
|
+
solidity: () => solidity
|
|
2227
|
+
});
|
|
2228
|
+
var solidity;
|
|
2229
|
+
var init_solidity = __esm({
|
|
2230
|
+
"src/languages/solidity.ts"() {
|
|
2231
|
+
solidity = {
|
|
2232
|
+
slug: "solidity",
|
|
2233
|
+
publishedDate: "2015-07-30",
|
|
2234
|
+
extensions: [".sol"],
|
|
2235
|
+
author: "Gavin Wood / Ethereum Foundation / Solidity Team",
|
|
2236
|
+
website: "https://soliditylang.org",
|
|
2237
|
+
paradigms: ["contract-oriented", "object-oriented", "statically-typed", "imperative"],
|
|
2238
|
+
tooling: {
|
|
2239
|
+
runtimes: ["Ethereum Virtual Machine", "EVM-compatible chains"],
|
|
2240
|
+
packageManagers: ["npm", "Foundry", "Hardhat"],
|
|
2241
|
+
ecosystems: ["Ethereum", "Web3", "Smart Contracts", "Blockchain"]
|
|
2242
|
+
},
|
|
2243
|
+
version: "0.8.35",
|
|
2244
|
+
logo: "https://cdn.simpleicons.org/solidity/363636",
|
|
2245
|
+
i18n: {
|
|
2246
|
+
en: {
|
|
2247
|
+
name: "Solidity",
|
|
2248
|
+
description: "A statically typed smart contract language for Ethereum and EVM-compatible blockchains.",
|
|
2249
|
+
longDescription: "Solidity is a statically typed, contract-oriented programming language designed for writing smart contracts that run on the Ethereum Virtual Machine and compatible blockchain networks. It supports contracts, libraries, interfaces, inheritance, modifiers, events, custom errors, ABI encoding, and explicit visibility and mutability rules.\n\nIt is used to build decentralized applications, token contracts, DAOs, DeFi protocols, NFT contracts, governance systems, and other on-chain programs where deterministic execution and verifiable state transitions are required."
|
|
2250
|
+
},
|
|
2251
|
+
es: {
|
|
2252
|
+
name: "Solidity",
|
|
2253
|
+
description: "Un lenguaje tipado estaticamente para smart contracts en Ethereum y blockchains compatibles con EVM.",
|
|
2254
|
+
longDescription: "Solidity es un lenguaje de programacion tipado estaticamente y orientado a contratos, disenado para escribir smart contracts que se ejecutan en Ethereum Virtual Machine y redes blockchain compatibles. Soporta contratos, bibliotecas, interfaces, herencia, modificadores, eventos, errores personalizados, codificacion ABI y reglas explicitas de visibilidad y mutabilidad.\n\nSe usa para construir aplicaciones descentralizadas, contratos de tokens, DAOs, protocolos DeFi, contratos NFT, sistemas de gobernanza y otros programas on-chain donde se requiere ejecucion determinista y transiciones de estado verificables."
|
|
2255
|
+
}
|
|
2256
|
+
}
|
|
2257
|
+
};
|
|
2258
|
+
}
|
|
2259
|
+
});
|
|
2260
|
+
|
|
2147
2261
|
// src/languages/sql.ts
|
|
2148
2262
|
var sql_exports = {};
|
|
2149
2263
|
__export(sql_exports, {
|
|
@@ -2720,6 +2834,7 @@ init_go();
|
|
|
2720
2834
|
init_gradle();
|
|
2721
2835
|
init_graphql();
|
|
2722
2836
|
init_groovy();
|
|
2837
|
+
init_hcl();
|
|
2723
2838
|
init_html();
|
|
2724
2839
|
init_ini();
|
|
2725
2840
|
init_java();
|
|
@@ -2745,10 +2860,12 @@ init_powershell();
|
|
|
2745
2860
|
init_pug();
|
|
2746
2861
|
init_python();
|
|
2747
2862
|
init_r();
|
|
2863
|
+
init_razor();
|
|
2748
2864
|
init_ruby();
|
|
2749
2865
|
init_rust();
|
|
2750
2866
|
init_scala();
|
|
2751
2867
|
init_scss();
|
|
2868
|
+
init_solidity();
|
|
2752
2869
|
init_sql();
|
|
2753
2870
|
init_svelte();
|
|
2754
2871
|
init_svg();
|
|
@@ -2793,6 +2910,7 @@ var languages = [
|
|
|
2793
2910
|
glsl,
|
|
2794
2911
|
graphql,
|
|
2795
2912
|
groovy,
|
|
2913
|
+
hcl,
|
|
2796
2914
|
html,
|
|
2797
2915
|
ini,
|
|
2798
2916
|
java,
|
|
@@ -2819,10 +2937,12 @@ var languages = [
|
|
|
2819
2937
|
pug,
|
|
2820
2938
|
python,
|
|
2821
2939
|
r,
|
|
2940
|
+
razor,
|
|
2822
2941
|
ruby,
|
|
2823
2942
|
rust,
|
|
2824
2943
|
scala,
|
|
2825
2944
|
scss,
|
|
2945
|
+
solidity,
|
|
2826
2946
|
sql,
|
|
2827
2947
|
svg,
|
|
2828
2948
|
svelte,
|
|
@@ -2933,6 +3053,7 @@ var languageIndex = [
|
|
|
2933
3053
|
},
|
|
2934
3054
|
{ slug: "graphql", extensions: [".graphql", ".gql", ".graphqls"] },
|
|
2935
3055
|
{ slug: "groovy", extensions: [".groovy", ".gvy", ".gy", ".gsh"] },
|
|
3056
|
+
{ slug: "hcl", extensions: [".hcl", ".tf", ".tfvars", ".pkr.hcl", ".nomad"] },
|
|
2936
3057
|
{ slug: "html", extensions: [".html", ".htm"] },
|
|
2937
3058
|
{ slug: "ini", extensions: [".ini"] },
|
|
2938
3059
|
{ slug: "java", extensions: [".java"] },
|
|
@@ -2959,6 +3080,7 @@ var languageIndex = [
|
|
|
2959
3080
|
{ slug: "pug", extensions: [".pug", ".jade"] },
|
|
2960
3081
|
{ slug: "python", extensions: [".py", ".pyw"] },
|
|
2961
3082
|
{ slug: "r", extensions: [".r", ".R", ".rmd", ".Rmd", ".qmd", ".Rprofile"] },
|
|
3083
|
+
{ slug: "razor", extensions: [".cshtml", ".razor"] },
|
|
2962
3084
|
{
|
|
2963
3085
|
slug: "ruby",
|
|
2964
3086
|
extensions: [".rb", ".rbw", ".rake", ".gemspec", "Gemfile", "Rakefile", "config.ru"]
|
|
@@ -2966,6 +3088,7 @@ var languageIndex = [
|
|
|
2966
3088
|
{ slug: "rust", extensions: [".rs"] },
|
|
2967
3089
|
{ slug: "scala", extensions: [".scala", ".sc"] },
|
|
2968
3090
|
{ slug: "scss", extensions: [".scss", ".sass"] },
|
|
3091
|
+
{ slug: "solidity", extensions: [".sol"] },
|
|
2969
3092
|
{ slug: "sql", extensions: [".sql"] },
|
|
2970
3093
|
{ slug: "svg", extensions: [".svg", ".svgz"] },
|
|
2971
3094
|
{ slug: "svelte", extensions: [".svelte"] },
|
|
@@ -3013,6 +3136,7 @@ var languageLoaders = {
|
|
|
3013
3136
|
glsl: () => Promise.resolve().then(() => (init_glsl(), glsl_exports)).then((module) => module.glsl),
|
|
3014
3137
|
graphql: () => Promise.resolve().then(() => (init_graphql(), graphql_exports)).then((module) => module.graphql),
|
|
3015
3138
|
groovy: () => Promise.resolve().then(() => (init_groovy(), groovy_exports)).then((module) => module.groovy),
|
|
3139
|
+
hcl: () => Promise.resolve().then(() => (init_hcl(), hcl_exports)).then((module) => module.hcl),
|
|
3016
3140
|
html: () => Promise.resolve().then(() => (init_html(), html_exports)).then((module) => module.html),
|
|
3017
3141
|
ini: () => Promise.resolve().then(() => (init_ini(), ini_exports)).then((module) => module.ini),
|
|
3018
3142
|
java: () => Promise.resolve().then(() => (init_java(), java_exports)).then((module) => module.java),
|
|
@@ -3039,10 +3163,12 @@ var languageLoaders = {
|
|
|
3039
3163
|
pug: () => Promise.resolve().then(() => (init_pug(), pug_exports)).then((module) => module.pug),
|
|
3040
3164
|
python: () => Promise.resolve().then(() => (init_python(), python_exports)).then((module) => module.python),
|
|
3041
3165
|
r: () => Promise.resolve().then(() => (init_r(), r_exports)).then((module) => module.r),
|
|
3166
|
+
razor: () => Promise.resolve().then(() => (init_razor(), razor_exports)).then((module) => module.razor),
|
|
3042
3167
|
ruby: () => Promise.resolve().then(() => (init_ruby(), ruby_exports)).then((module) => module.ruby),
|
|
3043
3168
|
rust: () => Promise.resolve().then(() => (init_rust(), rust_exports)).then((module) => module.rust),
|
|
3044
3169
|
scala: () => Promise.resolve().then(() => (init_scala(), scala_exports)).then((module) => module.scala),
|
|
3045
3170
|
scss: () => Promise.resolve().then(() => (init_scss(), scss_exports)).then((module) => module.scss),
|
|
3171
|
+
solidity: () => Promise.resolve().then(() => (init_solidity(), solidity_exports)).then((module) => module.solidity),
|
|
3046
3172
|
sql: () => Promise.resolve().then(() => (init_sql(), sql_exports)).then((module) => module.sql),
|
|
3047
3173
|
svelte: () => Promise.resolve().then(() => (init_svelte(), svelte_exports)).then((module) => module.svelte),
|
|
3048
3174
|
svg: () => Promise.resolve().then(() => (init_svg(), svg_exports)).then((module) => module.svg),
|