code-languages 1.31.2 → 1.32.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.
Files changed (78) hide show
  1. package/README.md +56 -46
  2. package/dist/api.cjs +532 -107
  3. package/dist/api.d.cts +1 -1
  4. package/dist/api.d.ts +1 -1
  5. package/dist/api.js +532 -107
  6. package/dist/detect-slugs.cjs +50 -39
  7. package/dist/detect-slugs.d.cts +1 -1
  8. package/dist/detect-slugs.d.ts +1 -1
  9. package/dist/detect-slugs.js +50 -39
  10. package/dist/detect.cjs +352 -44
  11. package/dist/detect.js +352 -44
  12. package/dist/index.cjs +599 -152
  13. package/dist/index.d.cts +458 -172
  14. package/dist/index.d.ts +458 -172
  15. package/dist/index.js +555 -108
  16. package/dist/{language-registry-BaICPFq_.d.cts → language-registry-BWMgasX6.d.cts} +109 -79
  17. package/dist/{language-registry-BaICPFq_.d.ts → language-registry-BWMgasX6.d.ts} +109 -79
  18. package/dist/languages/algol.cjs +32 -0
  19. package/dist/languages/algol.d.cts +29 -0
  20. package/dist/languages/algol.d.ts +29 -0
  21. package/dist/languages/algol.js +30 -0
  22. package/dist/languages/ante.cjs +33 -0
  23. package/dist/languages/ante.d.cts +30 -0
  24. package/dist/languages/ante.d.ts +30 -0
  25. package/dist/languages/ante.js +31 -0
  26. package/dist/languages/astro.cjs +1 -1
  27. package/dist/languages/astro.js +1 -1
  28. package/dist/languages/austral.cjs +32 -0
  29. package/dist/languages/austral.d.cts +29 -0
  30. package/dist/languages/austral.d.ts +29 -0
  31. package/dist/languages/austral.js +30 -0
  32. package/dist/languages/bcpl.cjs +32 -0
  33. package/dist/languages/bcpl.d.cts +29 -0
  34. package/dist/languages/bcpl.d.ts +29 -0
  35. package/dist/languages/bcpl.js +30 -0
  36. package/dist/languages/bosque.cjs +32 -0
  37. package/dist/languages/bosque.d.cts +29 -0
  38. package/dist/languages/bosque.d.ts +29 -0
  39. package/dist/languages/bosque.js +30 -0
  40. package/dist/languages/bqn.cjs +32 -0
  41. package/dist/languages/bqn.d.cts +29 -0
  42. package/dist/languages/bqn.d.ts +29 -0
  43. package/dist/languages/bqn.js +30 -0
  44. package/dist/languages/curry.cjs +33 -0
  45. package/dist/languages/curry.d.cts +30 -0
  46. package/dist/languages/curry.d.ts +30 -0
  47. package/dist/languages/curry.js +31 -0
  48. package/dist/languages/dart.cjs +1 -1
  49. package/dist/languages/dart.js +1 -1
  50. package/dist/languages/elixir.cjs +1 -1
  51. package/dist/languages/elixir.js +1 -1
  52. package/dist/languages/factor.cjs +33 -0
  53. package/dist/languages/factor.d.cts +30 -0
  54. package/dist/languages/factor.d.ts +30 -0
  55. package/dist/languages/factor.js +31 -0
  56. package/dist/languages/io.cjs +32 -0
  57. package/dist/languages/io.d.cts +29 -0
  58. package/dist/languages/io.d.ts +29 -0
  59. package/dist/languages/io.js +30 -0
  60. package/dist/languages/koka.cjs +33 -0
  61. package/dist/languages/koka.d.cts +30 -0
  62. package/dist/languages/koka.d.ts +30 -0
  63. package/dist/languages/koka.js +31 -0
  64. package/dist/languages/luau.cjs +1 -1
  65. package/dist/languages/luau.js +1 -1
  66. package/dist/languages/nickel.cjs +1 -1
  67. package/dist/languages/nickel.js +1 -1
  68. package/dist/languages/plantuml.cjs +1 -1
  69. package/dist/languages/plantuml.js +1 -1
  70. package/dist/languages/razor.cjs +1 -1
  71. package/dist/languages/razor.js +1 -1
  72. package/dist/languages/rego.cjs +1 -1
  73. package/dist/languages/rego.js +1 -1
  74. package/dist/languages/scala.cjs +1 -1
  75. package/dist/languages/scala.js +1 -1
  76. package/dist/languages/svelte.cjs +1 -1
  77. package/dist/languages/svelte.js +1 -1
  78. package/package.json +756 -646
package/dist/detect.cjs CHANGED
@@ -198,6 +198,65 @@ var agda = {
198
198
  }
199
199
  };
200
200
 
201
+ // src/languages/algol.ts
202
+ var algol = {
203
+ slug: "algol",
204
+ publishedDate: "1958-01-01",
205
+ extensions: [".alg", ".algol"],
206
+ author: "ACM-GAMM committee",
207
+ website: "https://en.wikipedia.org/wiki/ALGOL",
208
+ paradigms: ["imperative", "procedural", "structured"],
209
+ tooling: {
210
+ runtimes: ["ALGOL 60 compilers", "ALGOL 68 Genie"],
211
+ ecosystems: ["Academic Computing", "Language Design", "Numerical Computing"]
212
+ },
213
+ version: "ALGOL 68",
214
+ logo: "https://dummyimage.com/32x32/6B7280/ffffff.png&text=ALG",
215
+ color: "#6B7280",
216
+ i18n: {
217
+ en: {
218
+ name: "ALGOL",
219
+ description: "A family of early algorithmic languages that shaped block structure and formal language design.",
220
+ longDescription: "ALGOL introduced influential ideas for writing algorithms, including nested blocks, lexical scope, structured control flow, and a notation close to mathematical pseudocode.\n\nAlthough few modern systems use ALGOL directly, its design strongly influenced Pascal, C, Simula, Ada, and many later languages used in scientific and systems programming."
221
+ },
222
+ es: {
223
+ name: "ALGOL",
224
+ description: "Una familia temprana de lenguajes algoritmicos que influyo en bloques y diseno formal.",
225
+ longDescription: "ALGOL introdujo ideas influyentes para escribir algoritmos, como bloques anidados, alcance lexico, control estructurado y una notacion cercana al pseudocodigo matematico.\n\nAunque hoy se usa poco directamente, su diseno influyo en Pascal, C, Simula, Ada y muchos lenguajes posteriores."
226
+ }
227
+ }
228
+ };
229
+
230
+ // src/languages/ante.ts
231
+ var ante = {
232
+ slug: "ante",
233
+ publishedDate: "2019-01-01",
234
+ extensions: [".ante"],
235
+ author: "Evan Haas",
236
+ website: "https://antelang.org",
237
+ paradigms: ["functional", "imperative", "systems"],
238
+ tooling: {
239
+ runtimes: ["Ante compiler"],
240
+ packageManagers: ["Ante package tooling"],
241
+ ecosystems: ["Systems Programming", "Research", "Compiler Development"]
242
+ },
243
+ version: "experimental",
244
+ logo: "https://dummyimage.com/32x32/4F46E5/ffffff.png&text=A",
245
+ color: "#4F46E5",
246
+ i18n: {
247
+ en: {
248
+ name: "Ante",
249
+ description: "A systems language exploring algebraic effects, type inference, and safe low-level programming.",
250
+ longDescription: "Ante is an experimental programming language focused on combining systems-level control with high-level type system features such as algebraic effects, traits, and strong inference.\n\nIt is mainly used for language design research, compiler experimentation, and exploring how effect systems can model IO, mutation, and error handling without losing performance goals."
251
+ },
252
+ es: {
253
+ name: "Ante",
254
+ description: "Un lenguaje de sistemas que explora efectos algebraicos, inferencia y seguridad.",
255
+ longDescription: "Ante es un lenguaje experimental que combina control de bajo nivel con rasgos de sistema de tipos como efectos algebraicos, traits e inferencia fuerte.\n\nSe usa sobre todo para investigacion de lenguajes, experimentos de compiladores y exploracion de sistemas de efectos para IO, mutacion y errores."
256
+ }
257
+ }
258
+ };
259
+
201
260
  // src/languages/antlr.ts
202
261
  var antlr = {
203
262
  slug: "antlr",
@@ -609,7 +668,7 @@ var astro = {
609
668
  packageManagers: ["npm", "pnpm", "Yarn", "Bun"],
610
669
  ecosystems: ["Web", "Static Sites", "Content"]
611
670
  },
612
- version: "6.4.4",
671
+ version: "6.4.5",
613
672
  logo: "https://astro.build/assets/press/astro-icon-light.svg",
614
673
  color: "#FF5D01",
615
674
  i18n: {
@@ -646,6 +705,35 @@ var astro = {
646
705
  }
647
706
  };
648
707
 
708
+ // src/languages/austral.ts
709
+ var austral = {
710
+ slug: "austral",
711
+ publishedDate: "2021-01-01",
712
+ extensions: [".aum", ".aui"],
713
+ author: "Fernando Borretti",
714
+ website: "https://austral-lang.org",
715
+ paradigms: ["imperative", "systems", "procedural"],
716
+ tooling: {
717
+ runtimes: ["Austral compiler"],
718
+ ecosystems: ["Systems Programming", "Memory Safety", "Research"]
719
+ },
720
+ version: "0.1.0",
721
+ logo: "https://dummyimage.com/32x32/0F766E/ffffff.png&text=Au",
722
+ color: "#0F766E",
723
+ i18n: {
724
+ en: {
725
+ name: "Austral",
726
+ description: "A systems language built around linear types, capability safety, and explicit memory control.",
727
+ longDescription: "Austral is an experimental systems programming language that uses linear types to make ownership and resource handling explicit while keeping low-level control available to the programmer.\n\nIts design emphasizes capability safety, simple compilation targets, readable syntax, and research into practical ways to prevent resource misuse in native programs."
728
+ },
729
+ es: {
730
+ name: "Austral",
731
+ description: "Un lenguaje de sistemas basado en tipos lineales, capacidades y memoria explicita.",
732
+ longDescription: "Austral es un lenguaje experimental de sistemas que usa tipos lineales para hacer explicito el manejo de propiedad y recursos sin perder control de bajo nivel.\n\nSu diseno enfatiza seguridad por capacidades, objetivos de compilacion simples y formas practicas de evitar mal uso de recursos."
733
+ }
734
+ }
735
+ };
736
+
649
737
  // src/languages/autohotkey.ts
650
738
  var autohotkey = {
651
739
  slug: "autohotkey",
@@ -944,6 +1032,35 @@ var bazel = {
944
1032
  }
945
1033
  };
946
1034
 
1035
+ // src/languages/bcpl.ts
1036
+ var bcpl = {
1037
+ slug: "bcpl",
1038
+ publishedDate: "1967-01-01",
1039
+ extensions: [".bcpl"],
1040
+ author: "Martin Richards",
1041
+ website: "https://www.cl.cam.ac.uk/~mr10/BCPL.html",
1042
+ paradigms: ["imperative", "procedural", "systems"],
1043
+ tooling: {
1044
+ runtimes: ["Cintsys BCPL", "Classic BCPL compilers"],
1045
+ ecosystems: ["Systems Programming", "Operating Systems", "Language History"]
1046
+ },
1047
+ version: "Cintsys BCPL",
1048
+ logo: "https://dummyimage.com/32x32/374151/ffffff.png&text=BC",
1049
+ color: "#374151",
1050
+ i18n: {
1051
+ en: {
1052
+ name: "BCPL",
1053
+ description: "A compact systems language that influenced B and C through typeless procedural programming.",
1054
+ longDescription: "BCPL was designed as a small, portable systems language with a simple compiler and a typeless model suited to early operating systems and compiler work.\n\nIts syntax, block structure, braces, comments, and procedural style influenced B and C, making it an important ancestor of modern systems programming languages."
1055
+ },
1056
+ es: {
1057
+ name: "BCPL",
1058
+ description: "Un lenguaje compacto de sistemas que influyo en B y C con programacion procedural.",
1059
+ longDescription: "BCPL fue disenado como un lenguaje de sistemas pequeno y portable, con compilador simple y modelo sin tipos para sistemas operativos tempranos.\n\nSu sintaxis, bloques, llaves, comentarios y estilo procedural influyeron en B y C."
1060
+ }
1061
+ }
1062
+ };
1063
+
947
1064
  // src/languages/bicep.ts
948
1065
  var bicep = {
949
1066
  slug: "bicep",
@@ -1044,6 +1161,64 @@ var blade = {
1044
1161
  }
1045
1162
  };
1046
1163
 
1164
+ // src/languages/bosque.ts
1165
+ var bosque = {
1166
+ slug: "bosque",
1167
+ publishedDate: "2019-04-15",
1168
+ extensions: [".bsq"],
1169
+ author: "Microsoft Research",
1170
+ website: "https://github.com/microsoft/BosqueLanguage",
1171
+ paradigms: ["functional", "imperative", "object-oriented"],
1172
+ tooling: {
1173
+ runtimes: ["Bosque reference runtime"],
1174
+ ecosystems: ["Research", "Verification", "Application Logic"]
1175
+ },
1176
+ version: "experimental",
1177
+ logo: "https://dummyimage.com/32x32/0078D4/ffffff.png&text=B",
1178
+ color: "#0078D4",
1179
+ i18n: {
1180
+ en: {
1181
+ name: "Bosque",
1182
+ description: "A Microsoft Research language exploring regularized programming and predictable semantics.",
1183
+ longDescription: "Bosque is a research programming language from Microsoft Research that explores regularized programming, aiming to reduce incidental complexity in control flow, mutation, and object identity.\n\nIt combines ideas from functional and object-oriented programming with immutable values, algebraic data, structured collections, and semantics meant to support tooling and automated reasoning."
1184
+ },
1185
+ es: {
1186
+ name: "Bosque",
1187
+ description: "Un lenguaje de Microsoft Research sobre programacion regularizada y semantica predecible.",
1188
+ longDescription: "Bosque es un lenguaje de investigacion de Microsoft Research que explora programacion regularizada para reducir complejidad accidental en control, mutacion e identidad.\n\nCombina ideas funcionales y orientadas a objetos con valores inmutables, datos algebraicos y semantica pensada para herramientas."
1189
+ }
1190
+ }
1191
+ };
1192
+
1193
+ // src/languages/bqn.ts
1194
+ var bqn = {
1195
+ slug: "bqn",
1196
+ publishedDate: "2020-01-01",
1197
+ extensions: [".bqn"],
1198
+ author: "Marshall Lochbaum",
1199
+ website: "https://mlochbaum.github.io/BQN/",
1200
+ paradigms: ["array", "functional", "tacit"],
1201
+ tooling: {
1202
+ runtimes: ["CBQN", "BQN.js"],
1203
+ ecosystems: ["Array Programming", "Data Transformation", "Recreational Computing"]
1204
+ },
1205
+ version: "BQN specification",
1206
+ logo: "https://dummyimage.com/32x32/7C3AED/ffffff.png&text=BQN",
1207
+ color: "#7C3AED",
1208
+ i18n: {
1209
+ en: {
1210
+ name: "BQN",
1211
+ description: "An array programming language in the APL family with modern notation and tacit features.",
1212
+ longDescription: "BQN is an array-oriented language influenced by APL, J, and K. It uses concise symbols to express operations over arrays, functions, modifiers, and trains.\n\nIt is used for compact data manipulation, algorithm exploration, teaching array thinking, and experiments with high-level notation backed by interpreters such as CBQN and BQN.js."
1213
+ },
1214
+ es: {
1215
+ name: "BQN",
1216
+ description: "Un lenguaje de programacion de arreglos de la familia APL con notacion moderna.",
1217
+ longDescription: "BQN es un lenguaje orientado a arreglos influido por APL, J y K. Usa simbolos concisos para expresar operaciones sobre arreglos, funciones y modificadores.\n\nSe usa para manipulacion compacta de datos, exploracion de algoritmos y ensenanza de pensamiento basado en arreglos."
1218
+ }
1219
+ }
1220
+ };
1221
+
1047
1222
  // src/languages/c.ts
1048
1223
  var c = {
1049
1224
  slug: "c",
@@ -1887,6 +2062,36 @@ var cue = {
1887
2062
  }
1888
2063
  };
1889
2064
 
2065
+ // src/languages/curry.ts
2066
+ var curry = {
2067
+ slug: "curry",
2068
+ publishedDate: "1997-01-01",
2069
+ extensions: [".curry", ".lcurry"],
2070
+ author: "Curry language community",
2071
+ website: "https://www.curry-language.org",
2072
+ paradigms: ["functional", "logic", "declarative"],
2073
+ tooling: {
2074
+ runtimes: ["KiCS2", "PAKCS"],
2075
+ packageManagers: ["Curry Package Manager"],
2076
+ ecosystems: ["Functional Logic Programming", "Constraint Solving", "Research"]
2077
+ },
2078
+ version: "Curry 0.9.0",
2079
+ logo: "https://dummyimage.com/32x32/BE123C/ffffff.png&text=Cu",
2080
+ color: "#BE123C",
2081
+ i18n: {
2082
+ en: {
2083
+ name: "Curry",
2084
+ description: "A functional logic language that combines Haskell-style functions with logic variables.",
2085
+ longDescription: "Curry combines functional programming with logic programming, enabling lazy evaluation, higher-order functions, logic variables, non-determinism, and constraint-based computation in one language.\n\nIt is used in academic research, teaching declarative programming, symbolic computation, program analysis, and systems that benefit from mixing functional abstraction with logic search."
2086
+ },
2087
+ es: {
2088
+ name: "Curry",
2089
+ description: "Un lenguaje funcional-logico que combina funciones estilo Haskell con variables logicas.",
2090
+ longDescription: "Curry combina programacion funcional y logica con evaluacion perezosa, funciones de orden superior, variables logicas, no determinismo y restricciones.\n\nSe usa en investigacion, docencia de programacion declarativa, computacion simbolica y analisis de programas."
2091
+ }
2092
+ }
2093
+ };
2094
+
1890
2095
  // src/languages/cypher.ts
1891
2096
  var cypher = {
1892
2097
  slug: "cypher",
@@ -2079,7 +2284,7 @@ var dart = {
2079
2284
  packageManagers: ["pub"],
2080
2285
  ecosystems: ["Flutter", "Web", "Server-side"]
2081
2286
  },
2082
- version: "3.12.1",
2287
+ version: "3.12.2",
2083
2288
  logo: "https://commons.wikimedia.org/wiki/Special:FilePath/Dart_programming_language_logo.svg",
2084
2289
  color: "#0175C2",
2085
2290
  i18n: {
@@ -2408,7 +2613,7 @@ var elixir = {
2408
2613
  packageManagers: ["Mix", "Hex"],
2409
2614
  ecosystems: ["Web", "Distributed Systems", "Fault-tolerant Systems", "Data Processing"]
2410
2615
  },
2411
- version: "1.20.0",
2616
+ version: "1.20.1",
2412
2617
  logo: "https://cdn.simpleicons.org/elixir/4B275F",
2413
2618
  color: "#4B275F",
2414
2619
  i18n: {
@@ -2595,6 +2800,36 @@ var erlang = {
2595
2800
  }
2596
2801
  };
2597
2802
 
2803
+ // src/languages/factor.ts
2804
+ var factor = {
2805
+ slug: "factor",
2806
+ publishedDate: "2003-01-01",
2807
+ extensions: [".factor"],
2808
+ author: "Slava Pestov",
2809
+ website: "https://factorcode.org",
2810
+ paradigms: ["concatenative", "functional", "stack-based"],
2811
+ tooling: {
2812
+ runtimes: ["Factor VM"],
2813
+ packageManagers: ["Factor vocabularies"],
2814
+ ecosystems: ["Interactive Development", "Language Research", "Desktop Tools"]
2815
+ },
2816
+ version: "0.101",
2817
+ logo: "https://dummyimage.com/32x32/F97316/ffffff.png&text=F",
2818
+ color: "#F97316",
2819
+ i18n: {
2820
+ en: {
2821
+ name: "Factor",
2822
+ description: "A concatenative, stack-based language with an interactive image and rich standard library.",
2823
+ longDescription: "Factor is a concatenative programming language where programs are composed by chaining words that transform a data stack. It includes an optimizing compiler, interactive environment, and image-based workflow.\n\nIts ecosystem includes libraries called vocabularies for UI, parsing, networking, math, databases, and tooling, making it useful for language experimentation and interactive development."
2824
+ },
2825
+ es: {
2826
+ name: "Factor",
2827
+ description: "Un lenguaje concatenativo basado en pila con imagen interactiva y biblioteca amplia.",
2828
+ longDescription: "Factor es un lenguaje concatenativo donde los programas encadenan palabras que transforman una pila de datos. Incluye compilador optimizador y entorno interactivo.\n\nSu ecosistema usa vocabularios para UI, parsing, redes, matematicas, bases de datos y herramientas."
2829
+ }
2830
+ }
2831
+ };
2832
+
2598
2833
  // src/languages/fennel.ts
2599
2834
  var fennel = {
2600
2835
  slug: "fennel",
@@ -4043,6 +4278,35 @@ var ini = {
4043
4278
  }
4044
4279
  };
4045
4280
 
4281
+ // src/languages/io.ts
4282
+ var io = {
4283
+ slug: "io",
4284
+ publishedDate: "2002-03-07",
4285
+ extensions: [".io"],
4286
+ author: "Steve Dekorte",
4287
+ website: "https://iolanguage.org",
4288
+ paradigms: ["prototype-based", "object-oriented", "dynamic"],
4289
+ tooling: {
4290
+ runtimes: ["Io VM"],
4291
+ ecosystems: ["Scripting", "Prototype Programming", "Language Exploration"]
4292
+ },
4293
+ version: "2017.09.06",
4294
+ logo: "https://dummyimage.com/32x32/2563EB/ffffff.png&text=Io",
4295
+ color: "#2563EB",
4296
+ i18n: {
4297
+ en: {
4298
+ name: "Io",
4299
+ description: "A small prototype-based language focused on message passing and minimal syntax.",
4300
+ longDescription: "Io is a dynamic prototype-based language inspired by Smalltalk, Self, Lisp, and Lua. Its object model is based on cloning prototypes and sending messages rather than class declarations.\n\nThe language has a compact syntax, coroutines, actors, reflection, and an embeddable runtime, making it a useful reference point for prototype programming and language design."
4301
+ },
4302
+ es: {
4303
+ name: "Io",
4304
+ description: "Un lenguaje pequeno basado en prototipos, paso de mensajes y sintaxis minima.",
4305
+ longDescription: "Io es un lenguaje dinamico basado en prototipos e inspirado por Smalltalk, Self, Lisp y Lua. Su modelo usa clonacion y envio de mensajes, no clases.\n\nIncluye sintaxis compacta, corrutinas, actores, reflexion y runtime embebible."
4306
+ }
4307
+ }
4308
+ };
4309
+
4046
4310
  // src/languages/isabelle.ts
4047
4311
  var isabelle = {
4048
4312
  slug: "isabelle",
@@ -4655,6 +4919,36 @@ var kdl = {
4655
4919
  }
4656
4920
  };
4657
4921
 
4922
+ // src/languages/koka.ts
4923
+ var koka = {
4924
+ slug: "koka",
4925
+ publishedDate: "2012-01-01",
4926
+ extensions: [".kk"],
4927
+ author: "Daan Leijen",
4928
+ website: "https://koka-lang.github.io",
4929
+ paradigms: ["functional", "effect-oriented", "strongly typed"],
4930
+ tooling: {
4931
+ runtimes: ["Koka compiler"],
4932
+ packageManagers: ["Koka package tooling"],
4933
+ ecosystems: ["Effect Systems", "Functional Programming", "Research"]
4934
+ },
4935
+ version: "3.2.2",
4936
+ logo: "https://dummyimage.com/32x32/0891B2/ffffff.png&text=K",
4937
+ color: "#0891B2",
4938
+ i18n: {
4939
+ en: {
4940
+ name: "Koka",
4941
+ description: "A functional language with effect types for tracking side effects and resource use.",
4942
+ longDescription: "Koka is a strongly typed functional language centered on algebraic effect types. Functions describe the effects they may perform, which helps model exceptions, state, IO, and control flow.\n\nIt is used for research and practical experiments in effect systems, with a compiler that targets native and JavaScript environments while keeping memory management predictable."
4943
+ },
4944
+ es: {
4945
+ name: "Koka",
4946
+ description: "Un lenguaje funcional con tipos de efectos para rastrear efectos laterales y recursos.",
4947
+ longDescription: "Koka es un lenguaje funcional de tipado fuerte centrado en tipos de efectos algebraicos. Las funciones describen los efectos que pueden realizar.\n\nSe usa para investigacion y experimentos practicos en sistemas de efectos, con compilacion a entornos nativos y JavaScript."
4948
+ }
4949
+ }
4950
+ };
4951
+
4658
4952
  // src/languages/kotlin.ts
4659
4953
  var kotlin = {
4660
4954
  slug: "kotlin",
@@ -5018,7 +5312,7 @@ var luau = {
5018
5312
  packageManagers: ["Wally", "Pesde"],
5019
5313
  ecosystems: ["Roblox", "Games", "Embedded scripting"]
5020
5314
  },
5021
- version: "0.723",
5315
+ version: "0.724",
5022
5316
  logo: "https://cdn.simpleicons.org/roblox/000000",
5023
5317
  color: "#000000",
5024
5318
  i18n: {
@@ -5756,7 +6050,7 @@ var nickel = {
5756
6050
  runtimes: ["nickel CLI"],
5757
6051
  ecosystems: ["Configuration", "Infrastructure", "Nix", "DevOps"]
5758
6052
  },
5759
- version: "1.16.0",
6053
+ version: "1.17.0",
5760
6054
  logo: "https://avatars.githubusercontent.com/u/83021462?v=4",
5761
6055
  color: "#3C6EB4",
5762
6056
  i18n: {
@@ -6484,7 +6778,7 @@ var plantuml = {
6484
6778
  packageManagers: ["Maven", "Gradle", "npm"],
6485
6779
  ecosystems: ["UML", "Architecture", "Documentation", "Diagrams"]
6486
6780
  },
6487
- version: "1.2026.5",
6781
+ version: "1.2026.6",
6488
6782
  logo: "https://plantuml.com/logo3.png",
6489
6783
  color: "#FBB03B",
6490
6784
  i18n: {
@@ -7262,7 +7556,7 @@ var razor = {
7262
7556
  packageManagers: ["NuGet"],
7263
7557
  ecosystems: [".NET", "ASP.NET Core", "Web", "Blazor"]
7264
7558
  },
7265
- version: "10.0.8",
7559
+ version: "10.0.9",
7266
7560
  logo: "https://cdn.simpleicons.org/dotnet/512BD4",
7267
7561
  color: "#512BD4",
7268
7562
  i18n: {
@@ -7362,7 +7656,7 @@ var rego = {
7362
7656
  packageManagers: ["OPA bundles"],
7363
7657
  ecosystems: ["Policy as Code", "Kubernetes", "Cloud Native", "Authorization"]
7364
7658
  },
7365
- version: "OPA 1.17.0",
7659
+ version: "OPA 1.17.1",
7366
7660
  logo: "https://raw.githubusercontent.com/open-policy-agent/opa/main/logo/logo.svg",
7367
7661
  color: "#5C4EE5",
7368
7662
  i18n: {
@@ -7661,7 +7955,7 @@ var scala = {
7661
7955
  packageManagers: ["sbt", "Maven", "Gradle", "Scala CLI"],
7662
7956
  ecosystems: ["JVM", "Web", "Data Engineering", "Distributed Systems"]
7663
7957
  },
7664
- version: "3.8.3",
7958
+ version: "3.8.4",
7665
7959
  logo: "https://cdn.simpleicons.org/scala/DC322F",
7666
7960
  color: "#DC322F",
7667
7961
  i18n: {
@@ -8251,7 +8545,7 @@ var svelte = {
8251
8545
  packageManagers: ["npm", "pnpm", "Yarn", "Bun"],
8252
8546
  ecosystems: ["Web", "SvelteKit", "Vite"]
8253
8547
  },
8254
- version: "5.56.2",
8548
+ version: "5.56.3",
8255
8549
  logo: "https://upload.wikimedia.org/wikipedia/commons/1/1b/Svelte_Logo.svg",
8256
8550
  color: "#FF3E00",
8257
8551
  i18n: {
@@ -9927,6 +10221,8 @@ var languages = [
9927
10221
  actionscript,
9928
10222
  ada,
9929
10223
  agda,
10224
+ algol,
10225
+ ante,
9930
10226
  antlr,
9931
10227
  apex,
9932
10228
  apl,
@@ -9934,34 +10230,39 @@ var languages = [
9934
10230
  arduino,
9935
10231
  asciidoc,
9936
10232
  asp,
9937
- astro,
9938
10233
  assembly,
9939
- awk,
10234
+ astro,
10235
+ austral,
9940
10236
  autohotkey,
10237
+ awk,
9941
10238
  ballerina,
9942
10239
  bash,
9943
10240
  batch,
9944
10241
  bazel,
10242
+ bcpl,
9945
10243
  bicep,
9946
10244
  blade,
10245
+ bosque,
10246
+ bqn,
9947
10247
  c,
9948
10248
  cairo,
9949
10249
  carbon,
9950
10250
  chapel,
9951
10251
  circom,
9952
- cmake,
9953
10252
  clojure,
10253
+ cmake,
10254
+ cobol,
9954
10255
  coffeescript,
9955
10256
  coldfusion,
9956
- cobol,
9957
10257
  coq,
9958
10258
  cpp,
9959
- cypher,
9960
- csharp,
9961
10259
  crystal,
10260
+ csharp,
9962
10261
  css,
9963
- cue,
9964
10262
  cuda,
10263
+ cue,
10264
+ curry,
10265
+ cypher,
9965
10266
  cython,
9966
10267
  d,
9967
10268
  dafny,
@@ -9969,57 +10270,60 @@ var languages = [
9969
10270
  dhall,
9970
10271
  dita,
9971
10272
  dockerfile,
9972
- ejs,
9973
- eiffel,
9974
10273
  earthly,
10274
+ eiffel,
10275
+ ejs,
9975
10276
  elixir,
9976
10277
  elm,
9977
10278
  erb,
9978
10279
  erlang,
9979
- fish,
10280
+ factor,
9980
10281
  fennel,
10282
+ fish,
9981
10283
  flux,
9982
- freemarker,
9983
- fortran,
9984
10284
  forth,
10285
+ fortran,
10286
+ freemarker,
9985
10287
  fsharp,
9986
10288
  fstar,
9987
10289
  gdscript,
9988
10290
  git,
9989
10291
  gleam,
10292
+ glsl,
9990
10293
  go,
9991
- grain,
9992
10294
  gradle,
9993
- glsl,
10295
+ grain,
9994
10296
  graphql,
9995
10297
  groovy,
9996
- handlebars,
9997
10298
  hack,
9998
10299
  haml,
10300
+ handlebars,
9999
10301
  hare,
10000
- hocon,
10001
10302
  haskell,
10002
10303
  haxe,
10003
10304
  hcl,
10004
10305
  hlsl,
10306
+ hocon,
10005
10307
  html,
10006
10308
  hy,
10007
10309
  idris,
10008
10310
  ini,
10311
+ io,
10009
10312
  isabelle,
10313
+ janet,
10010
10314
  java,
10011
10315
  javascript,
10012
- janet,
10013
10316
  jinja,
10014
10317
  json,
10015
10318
  json5,
10016
10319
  jsonc,
10017
10320
  jsonnet,
10018
- jupyterNotebook,
10019
10321
  julia,
10322
+ jupyterNotebook,
10020
10323
  just,
10021
10324
  kcl,
10022
10325
  kdl,
10326
+ koka,
10023
10327
  kotlin,
10024
10328
  lean,
10025
10329
  less,
@@ -10028,36 +10332,35 @@ var languages = [
10028
10332
  llvmIr,
10029
10333
  lua,
10030
10334
  luau,
10031
- mako,
10032
10335
  makefile,
10336
+ mako,
10337
+ markdown,
10033
10338
  mathematica,
10034
10339
  matlab,
10035
- markdown,
10036
10340
  mdx,
10037
10341
  mermaid,
10038
10342
  meson,
10039
10343
  metal,
10040
- mustache,
10041
- move,
10042
10344
  mojo,
10043
10345
  moonbit,
10044
- svn,
10346
+ move,
10347
+ mustache,
10045
10348
  nginx,
10046
10349
  nickel,
10047
- nunjucks,
10048
- nushell,
10049
10350
  nim,
10050
10351
  nix,
10051
- ocaml,
10352
+ nunjucks,
10353
+ nushell,
10052
10354
  objectiveC,
10355
+ ocaml,
10053
10356
  odin,
10054
- opencl,
10055
10357
  openapi,
10358
+ opencl,
10056
10359
  pascal,
10057
- pkl,
10058
10360
  perl,
10059
10361
  php,
10060
10362
  pineScript,
10363
+ pkl,
10061
10364
  plantuml,
10062
10365
  plsql,
10063
10366
  pony,
@@ -10072,8 +10375,8 @@ var languages = [
10072
10375
  qml,
10073
10376
  qsharp,
10074
10377
  r,
10075
- raku,
10076
10378
  racket,
10379
+ raku,
10077
10380
  razor,
10078
10381
  reasonml,
10079
10382
  rego,
@@ -10083,8 +10386,8 @@ var languages = [
10083
10386
  rust,
10084
10387
  sas,
10085
10388
  scala,
10086
- scss,
10087
10389
  scheme,
10390
+ scss,
10088
10391
  smalltalk,
10089
10392
  smarty,
10090
10393
  solidity,
@@ -10094,8 +10397,9 @@ var languages = [
10094
10397
  starlark,
10095
10398
  stata,
10096
10399
  stylus,
10097
- svg,
10098
10400
  svelte,
10401
+ svg,
10402
+ svn,
10099
10403
  swift,
10100
10404
  tcl,
10101
10405
  tex,
@@ -10144,9 +10448,13 @@ var detectMatchingEntries = (entries, filename) => {
10144
10448
  if (!basename) {
10145
10449
  return [];
10146
10450
  }
10147
- return entries.filter(
10148
- (entry) => entry.extensions.some((extension) => matchesExtension(basename, extension))
10149
- );
10451
+ return entries.map((entry, index) => ({
10452
+ entry,
10453
+ index,
10454
+ matchLength: Math.max(
10455
+ ...entry.extensions.filter((extension) => matchesExtension(basename, extension)).map((extension) => extension.length)
10456
+ )
10457
+ })).filter(({ matchLength }) => Number.isFinite(matchLength)).sort((first, second) => second.matchLength - first.matchLength || first.index - second.index).map(({ entry }) => entry);
10150
10458
  };
10151
10459
 
10152
10460
  // src/detect.ts