code-languages 1.10.0 → 1.11.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 +47 -2
- package/dist/api.cjs +256 -0
- package/dist/api.cjs.map +1 -1
- package/dist/api.d.cts +160 -0
- package/dist/api.d.ts +160 -0
- package/dist/api.js +256 -0
- package/dist/api.js.map +1 -1
- package/dist/detect.cjs +178 -0
- package/dist/detect.cjs.map +1 -1
- package/dist/detect.js +178 -0
- package/dist/detect.js.map +1 -1
- package/dist/index.cjs +262 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +160 -0
- package/dist/index.d.ts +160 -0
- package/dist/index.js +263 -1
- package/dist/index.js.map +1 -1
- package/dist/languages/actionscript.cjs +33 -0
- package/dist/languages/actionscript.cjs.map +1 -0
- package/dist/languages/actionscript.d.cts +28 -0
- package/dist/languages/actionscript.d.ts +28 -0
- package/dist/languages/actionscript.js +31 -0
- package/dist/languages/actionscript.js.map +1 -0
- package/dist/languages/elm.cjs +34 -0
- package/dist/languages/elm.cjs.map +1 -0
- package/dist/languages/elm.d.cts +29 -0
- package/dist/languages/elm.d.ts +29 -0
- package/dist/languages/elm.js +32 -0
- package/dist/languages/elm.js.map +1 -0
- package/dist/languages/erlang.cjs +34 -0
- package/dist/languages/erlang.cjs.map +1 -0
- package/dist/languages/erlang.d.cts +29 -0
- package/dist/languages/erlang.d.ts +29 -0
- package/dist/languages/erlang.js +32 -0
- package/dist/languages/erlang.js.map +1 -0
- package/dist/languages/fortran.cjs +34 -0
- package/dist/languages/fortran.cjs.map +1 -0
- package/dist/languages/fortran.d.cts +29 -0
- package/dist/languages/fortran.d.ts +29 -0
- package/dist/languages/fortran.js +32 -0
- package/dist/languages/fortran.js.map +1 -0
- package/dist/languages/perl.cjs +34 -0
- package/dist/languages/perl.cjs.map +1 -0
- package/dist/languages/perl.d.cts +29 -0
- package/dist/languages/perl.d.ts +29 -0
- package/dist/languages/perl.js +32 -0
- package/dist/languages/perl.js.map +1 -0
- package/dist/languages/svn.cjs +33 -0
- package/dist/languages/svn.cjs.map +1 -0
- package/dist/languages/svn.d.cts +28 -0
- package/dist/languages/svn.d.ts +28 -0
- package/dist/languages/svn.js +31 -0
- package/dist/languages/svn.js.map +1 -0
- package/package.json +38 -2
package/dist/index.js
CHANGED
|
@@ -45,6 +45,43 @@ var init_abap = __esm({
|
|
|
45
45
|
}
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
+
// src/languages/actionscript.ts
|
|
49
|
+
var actionscript_exports = {};
|
|
50
|
+
__export(actionscript_exports, {
|
|
51
|
+
actionscript: () => actionscript
|
|
52
|
+
});
|
|
53
|
+
var actionscript;
|
|
54
|
+
var init_actionscript = __esm({
|
|
55
|
+
"src/languages/actionscript.ts"() {
|
|
56
|
+
actionscript = {
|
|
57
|
+
slug: "actionscript",
|
|
58
|
+
publishedDate: "1998-01-01",
|
|
59
|
+
extensions: [".as"],
|
|
60
|
+
author: "Gary Grossman / Macromedia",
|
|
61
|
+
website: "https://airsdk.dev/docs/development/actionscript-3.0",
|
|
62
|
+
paradigms: ["event-driven", "imperative", "object-oriented", "scripting"],
|
|
63
|
+
tooling: {
|
|
64
|
+
runtimes: ["Adobe Flash Player", "Adobe AIR", "Apache Royale"],
|
|
65
|
+
ecosystems: ["Flash", "AIR", "Flex", "Legacy Web"]
|
|
66
|
+
},
|
|
67
|
+
version: "3.0",
|
|
68
|
+
logo: "https://icons.iconarchive.com/icons/fatcow/farm-fresh/32/page-white-actionscript-icon.png",
|
|
69
|
+
i18n: {
|
|
70
|
+
en: {
|
|
71
|
+
name: "ActionScript",
|
|
72
|
+
description: "An ECMAScript-based language used for Flash, AIR, Flex, and interactive media applications.",
|
|
73
|
+
longDescription: "ActionScript is an ECMAScript-based scripting language created for interactive content, animation, rich internet applications, and application logic in the Flash platform. ActionScript 3.0 introduced a stronger type system, classes, packages, events, namespaces, and a virtual machine designed for larger applications.\n\nIt is mostly relevant today for maintaining legacy Flash, AIR, and Flex projects, migrating older interactive content, and understanding codebases built around Adobe runtime technologies."
|
|
74
|
+
},
|
|
75
|
+
es: {
|
|
76
|
+
name: "ActionScript",
|
|
77
|
+
description: "Un lenguaje basado en ECMAScript usado para Flash, AIR, Flex y aplicaciones multimedia interactivas.",
|
|
78
|
+
longDescription: "ActionScript es un lenguaje de scripting basado en ECMAScript creado para contenido interactivo, animacion, aplicaciones rich internet y logica de aplicaciones en la plataforma Flash. ActionScript 3.0 introdujo un sistema de tipos mas fuerte, clases, paquetes, eventos, namespaces y una maquina virtual disenada para aplicaciones mas grandes.\n\nHoy es relevante principalmente para mantener proyectos legacy de Flash, AIR y Flex, migrar contenido interactivo antiguo y entender codebases construidas alrededor de tecnologias runtime de Adobe."
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
|
|
48
85
|
// src/languages/asp.ts
|
|
49
86
|
var asp_exports = {};
|
|
50
87
|
__export(asp_exports, {
|
|
@@ -644,6 +681,120 @@ var init_dockerfile = __esm({
|
|
|
644
681
|
}
|
|
645
682
|
});
|
|
646
683
|
|
|
684
|
+
// src/languages/elm.ts
|
|
685
|
+
var elm_exports = {};
|
|
686
|
+
__export(elm_exports, {
|
|
687
|
+
elm: () => elm
|
|
688
|
+
});
|
|
689
|
+
var elm;
|
|
690
|
+
var init_elm = __esm({
|
|
691
|
+
"src/languages/elm.ts"() {
|
|
692
|
+
elm = {
|
|
693
|
+
slug: "elm",
|
|
694
|
+
publishedDate: "2012-03-30",
|
|
695
|
+
extensions: [".elm"],
|
|
696
|
+
author: "Evan Czaplicki",
|
|
697
|
+
website: "https://elm-lang.org",
|
|
698
|
+
paradigms: ["functional", "declarative", "reactive", "statically typed"],
|
|
699
|
+
tooling: {
|
|
700
|
+
runtimes: ["Browser", "JavaScript"],
|
|
701
|
+
packageManagers: ["elm", "npm", "pnpm", "Yarn"],
|
|
702
|
+
ecosystems: ["Web", "Frontend", "Functional Programming"]
|
|
703
|
+
},
|
|
704
|
+
version: "0.19.1",
|
|
705
|
+
logo: "https://upload.wikimedia.org/wikipedia/commons/f/f3/Elm_logo.svg",
|
|
706
|
+
i18n: {
|
|
707
|
+
en: {
|
|
708
|
+
name: "Elm",
|
|
709
|
+
description: "A functional language for reliable web applications that compiles to JavaScript.",
|
|
710
|
+
longDescription: "Elm is a functional programming language designed for building browser applications with strong static types, immutable data, pure functions, pattern matching, and a friendly compiler that emphasizes clear error messages.\n\nIt is used for frontend applications, interactive web interfaces, learning functional programming, and projects that want predictable state updates through The Elm Architecture while compiling to JavaScript."
|
|
711
|
+
},
|
|
712
|
+
es: {
|
|
713
|
+
name: "Elm",
|
|
714
|
+
description: "Un lenguaje funcional para aplicaciones web confiables que compila a JavaScript.",
|
|
715
|
+
longDescription: "Elm es un lenguaje de programacion funcional disenado para crear aplicaciones de navegador con tipado estatico fuerte, datos inmutables, funciones puras, pattern matching y un compilador amigable que prioriza mensajes de error claros.\n\nSe usa en aplicaciones frontend, interfaces web interactivas, aprendizaje de programacion funcional y proyectos que buscan actualizaciones de estado predecibles mediante The Elm Architecture mientras compilan a JavaScript."
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
};
|
|
719
|
+
}
|
|
720
|
+
});
|
|
721
|
+
|
|
722
|
+
// src/languages/erlang.ts
|
|
723
|
+
var erlang_exports = {};
|
|
724
|
+
__export(erlang_exports, {
|
|
725
|
+
erlang: () => erlang
|
|
726
|
+
});
|
|
727
|
+
var erlang;
|
|
728
|
+
var init_erlang = __esm({
|
|
729
|
+
"src/languages/erlang.ts"() {
|
|
730
|
+
erlang = {
|
|
731
|
+
slug: "erlang",
|
|
732
|
+
publishedDate: "1986-01-01",
|
|
733
|
+
extensions: [".erl", ".hrl", ".app.src", ".escript", ".xrl", ".yrl", "rebar.config"],
|
|
734
|
+
author: "Joe Armstrong, Robert Virding, Mike Williams / Ericsson",
|
|
735
|
+
website: "https://www.erlang.org",
|
|
736
|
+
paradigms: ["concurrent", "distributed", "functional", "message-passing"],
|
|
737
|
+
tooling: {
|
|
738
|
+
runtimes: ["BEAM", "Erlang/OTP"],
|
|
739
|
+
packageManagers: ["rebar3", "Hex"],
|
|
740
|
+
ecosystems: ["BEAM", "Telecom", "Distributed Systems", "Fault-tolerant Systems"]
|
|
741
|
+
},
|
|
742
|
+
version: "OTP 29.0",
|
|
743
|
+
logo: "https://cdn.simpleicons.org/erlang/A90533",
|
|
744
|
+
i18n: {
|
|
745
|
+
en: {
|
|
746
|
+
name: "Erlang",
|
|
747
|
+
description: "A concurrent functional language for fault-tolerant, distributed, and highly available systems.",
|
|
748
|
+
longDescription: "Erlang is a functional programming language and runtime system designed for concurrent, distributed, fault-tolerant applications. Erlang/OTP includes the BEAM virtual machine, lightweight processes, message passing, supervisors, applications, releases, and libraries for building resilient systems.\n\nIt is widely used in telecom platforms, messaging systems, databases, real-time services, network infrastructure, IoT, and systems where uptime, hot code upgrades, and fault isolation are central requirements."
|
|
749
|
+
},
|
|
750
|
+
es: {
|
|
751
|
+
name: "Erlang",
|
|
752
|
+
description: "Un lenguaje funcional concurrente para sistemas tolerantes a fallos, distribuidos y altamente disponibles.",
|
|
753
|
+
longDescription: "Erlang es un lenguaje de programacion funcional y sistema runtime disenado para aplicaciones concurrentes, distribuidas y tolerantes a fallos. Erlang/OTP incluye la maquina virtual BEAM, procesos ligeros, paso de mensajes, supervisores, aplicaciones, releases y librerias para construir sistemas resilientes.\n\nSe usa ampliamente en plataformas de telecomunicaciones, sistemas de mensajeria, bases de datos, servicios en tiempo real, infraestructura de red, IoT y sistemas donde uptime, hot code upgrades y aislamiento de fallos son requisitos centrales."
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
};
|
|
757
|
+
}
|
|
758
|
+
});
|
|
759
|
+
|
|
760
|
+
// src/languages/fortran.ts
|
|
761
|
+
var fortran_exports = {};
|
|
762
|
+
__export(fortran_exports, {
|
|
763
|
+
fortran: () => fortran
|
|
764
|
+
});
|
|
765
|
+
var fortran;
|
|
766
|
+
var init_fortran = __esm({
|
|
767
|
+
"src/languages/fortran.ts"() {
|
|
768
|
+
fortran = {
|
|
769
|
+
slug: "fortran",
|
|
770
|
+
publishedDate: "1957-10-15",
|
|
771
|
+
extensions: [".f", ".for", ".ftn", ".f90", ".f95", ".f03", ".f08", ".f18", ".f23"],
|
|
772
|
+
author: "John Backus / IBM",
|
|
773
|
+
website: "https://fortran-lang.org",
|
|
774
|
+
paradigms: ["array", "imperative", "procedural", "structured"],
|
|
775
|
+
tooling: {
|
|
776
|
+
runtimes: ["Native", "HPC clusters"],
|
|
777
|
+
packageManagers: ["fpm", "Spack"],
|
|
778
|
+
ecosystems: ["Scientific Computing", "HPC", "Numerical Computing", "Engineering"]
|
|
779
|
+
},
|
|
780
|
+
version: "Fortran 2023",
|
|
781
|
+
logo: "https://upload.wikimedia.org/wikipedia/commons/b/b8/Fortran_logo.svg",
|
|
782
|
+
i18n: {
|
|
783
|
+
en: {
|
|
784
|
+
name: "Fortran",
|
|
785
|
+
description: "A compiled language for numerical computing, scientific software, and high-performance systems.",
|
|
786
|
+
longDescription: "Fortran is one of the earliest high-level programming languages and remains important for numerical computing, scientific simulation, engineering software, and high-performance computing. Modern Fortran includes modules, array programming, generic interfaces, derived types, coarrays, and interoperability with C.\n\nIt is widely used in climate models, physics simulations, computational chemistry, aerospace, numerical libraries, weather forecasting, and long-lived scientific codebases where performance and stable language standards matter."
|
|
787
|
+
},
|
|
788
|
+
es: {
|
|
789
|
+
name: "Fortran",
|
|
790
|
+
description: "Un lenguaje compilado para computacion numerica, software cientifico y sistemas de alto rendimiento.",
|
|
791
|
+
longDescription: "Fortran es uno de los primeros lenguajes de programacion de alto nivel y sigue siendo importante para computacion numerica, simulacion cientifica, software de ingenieria y high-performance computing. Fortran moderno incluye modulos, programacion con arrays, interfaces genericas, tipos derivados, coarrays e interoperabilidad con C.\n\nSe usa ampliamente en modelos climaticos, simulaciones fisicas, quimica computacional, aeroespacial, librerias numericas, prediccion meteorologica y codebases cientificas de larga vida donde importan el rendimiento y estandares estables del lenguaje."
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
});
|
|
797
|
+
|
|
647
798
|
// src/languages/fsharp.ts
|
|
648
799
|
var fsharp_exports = {};
|
|
649
800
|
__export(fsharp_exports, {
|
|
@@ -1535,6 +1686,44 @@ var init_pascal = __esm({
|
|
|
1535
1686
|
}
|
|
1536
1687
|
});
|
|
1537
1688
|
|
|
1689
|
+
// src/languages/perl.ts
|
|
1690
|
+
var perl_exports = {};
|
|
1691
|
+
__export(perl_exports, {
|
|
1692
|
+
perl: () => perl
|
|
1693
|
+
});
|
|
1694
|
+
var perl;
|
|
1695
|
+
var init_perl = __esm({
|
|
1696
|
+
"src/languages/perl.ts"() {
|
|
1697
|
+
perl = {
|
|
1698
|
+
slug: "perl",
|
|
1699
|
+
publishedDate: "1987-12-18",
|
|
1700
|
+
extensions: [".pl", ".pm", ".pod", ".t", ".psgi"],
|
|
1701
|
+
author: "Larry Wall",
|
|
1702
|
+
website: "https://www.perl.org",
|
|
1703
|
+
paradigms: ["functional", "imperative", "object-oriented", "procedural", "scripting"],
|
|
1704
|
+
tooling: {
|
|
1705
|
+
runtimes: ["Perl interpreter", "mod_perl", "PSGI/Plack"],
|
|
1706
|
+
packageManagers: ["CPAN", "cpanm", "Carton"],
|
|
1707
|
+
ecosystems: ["Unix", "Web", "Text Processing", "System Administration", "Bioinformatics"]
|
|
1708
|
+
},
|
|
1709
|
+
version: "5.42.2",
|
|
1710
|
+
logo: "https://cdn.simpleicons.org/perl/39457E",
|
|
1711
|
+
i18n: {
|
|
1712
|
+
en: {
|
|
1713
|
+
name: "Perl",
|
|
1714
|
+
description: "A flexible scripting language for text processing, automation, web systems, and CPAN modules.",
|
|
1715
|
+
longDescription: "Perl is a high-level scripting language created by Larry Wall, known for practical text processing, regular expressions, system scripting, dynamic typing, CPAN, and a strong culture of reusable modules. Perl 5 remains the main production language in the Perl family.\n\nIt is used for Unix automation, log processing, legacy web applications, bioinformatics, data munging, release tooling, network services, and long-lived operational scripts where expressive text handling and mature libraries matter."
|
|
1716
|
+
},
|
|
1717
|
+
es: {
|
|
1718
|
+
name: "Perl",
|
|
1719
|
+
description: "Un lenguaje de scripting flexible para procesamiento de texto, automatizacion, web y modulos CPAN.",
|
|
1720
|
+
longDescription: "Perl es un lenguaje de scripting de alto nivel creado por Larry Wall, conocido por el procesamiento practico de texto, expresiones regulares, scripting de sistemas, tipado dinamico, CPAN y una cultura fuerte de modulos reutilizables. Perl 5 sigue siendo el lenguaje principal de produccion dentro de la familia Perl.\n\nSe usa en automatizacion Unix, procesamiento de logs, aplicaciones web legacy, bioinformatica, transformacion de datos, tooling de releases, servicios de red y scripts operacionales de larga vida donde importan el manejo expresivo de texto y librerias maduras."
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
};
|
|
1724
|
+
}
|
|
1725
|
+
});
|
|
1726
|
+
|
|
1538
1727
|
// src/languages/php.ts
|
|
1539
1728
|
var php_exports = {};
|
|
1540
1729
|
__export(php_exports, {
|
|
@@ -1985,6 +2174,43 @@ var init_svg = __esm({
|
|
|
1985
2174
|
}
|
|
1986
2175
|
});
|
|
1987
2176
|
|
|
2177
|
+
// src/languages/svn.ts
|
|
2178
|
+
var svn_exports = {};
|
|
2179
|
+
__export(svn_exports, {
|
|
2180
|
+
svn: () => svn
|
|
2181
|
+
});
|
|
2182
|
+
var svn;
|
|
2183
|
+
var init_svn = __esm({
|
|
2184
|
+
"src/languages/svn.ts"() {
|
|
2185
|
+
svn = {
|
|
2186
|
+
slug: "svn",
|
|
2187
|
+
publishedDate: "2000-10-20",
|
|
2188
|
+
extensions: [".svn", "svnserve.conf"],
|
|
2189
|
+
author: "CollabNet / Apache Software Foundation",
|
|
2190
|
+
website: "https://subversion.apache.org",
|
|
2191
|
+
paradigms: ["configuration", "version-control", "centralized-version-control"],
|
|
2192
|
+
tooling: {
|
|
2193
|
+
runtimes: ["Apache Subversion", "svnserve", "Apache HTTP Server"],
|
|
2194
|
+
ecosystems: ["Version Control", "Source Control", "DevOps", "Enterprise"]
|
|
2195
|
+
},
|
|
2196
|
+
version: "1.14.5",
|
|
2197
|
+
logo: "https://cdn.simpleicons.org/subversion/809CC9",
|
|
2198
|
+
i18n: {
|
|
2199
|
+
en: {
|
|
2200
|
+
name: "SVN",
|
|
2201
|
+
description: "Metadata and configuration files used by Apache Subversion repositories and clients.",
|
|
2202
|
+
longDescription: "SVN, Apache Subversion, is a centralized version control system with repository metadata, working-copy directories, ignore properties, server configuration, hooks, branches, tags, and revision history managed through Subversion tooling.\n\nIt is used in legacy and enterprise codebases, centralized source-control workflows, release management, document repositories, and projects that rely on Apache Subversion servers or clients."
|
|
2203
|
+
},
|
|
2204
|
+
es: {
|
|
2205
|
+
name: "SVN",
|
|
2206
|
+
description: "Archivos de metadata y configuracion usados por repositorios y clientes Apache Subversion.",
|
|
2207
|
+
longDescription: "SVN, Apache Subversion, es un sistema de control de versiones centralizado con metadata de repositorio, directorios de working copy, propiedades de ignore, configuracion de servidor, hooks, branches, tags e historial de revisiones gestionados mediante herramientas Subversion.\n\nSe usa en codebases legacy y empresariales, flujos centralizados de control de codigo, gestion de releases, repositorios de documentos y proyectos que dependen de servidores o clientes Apache Subversion."
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
};
|
|
2211
|
+
}
|
|
2212
|
+
});
|
|
2213
|
+
|
|
1988
2214
|
// src/languages/swift.ts
|
|
1989
2215
|
var swift_exports = {};
|
|
1990
2216
|
__export(swift_exports, {
|
|
@@ -2389,6 +2615,7 @@ var init_zsh = __esm({
|
|
|
2389
2615
|
|
|
2390
2616
|
// src/catalog.ts
|
|
2391
2617
|
init_abap();
|
|
2618
|
+
init_actionscript();
|
|
2392
2619
|
init_asp();
|
|
2393
2620
|
init_assembly();
|
|
2394
2621
|
init_astro();
|
|
@@ -2405,6 +2632,9 @@ init_css();
|
|
|
2405
2632
|
init_cuda();
|
|
2406
2633
|
init_dart();
|
|
2407
2634
|
init_dockerfile();
|
|
2635
|
+
init_elm();
|
|
2636
|
+
init_erlang();
|
|
2637
|
+
init_fortran();
|
|
2408
2638
|
init_fsharp();
|
|
2409
2639
|
init_git();
|
|
2410
2640
|
init_go();
|
|
@@ -2429,6 +2659,7 @@ init_metal();
|
|
|
2429
2659
|
init_nginx();
|
|
2430
2660
|
init_objective_c();
|
|
2431
2661
|
init_pascal();
|
|
2662
|
+
init_perl();
|
|
2432
2663
|
init_php();
|
|
2433
2664
|
init_powershell();
|
|
2434
2665
|
init_pug();
|
|
@@ -2441,6 +2672,7 @@ init_scss();
|
|
|
2441
2672
|
init_sql();
|
|
2442
2673
|
init_svelte();
|
|
2443
2674
|
init_svg();
|
|
2675
|
+
init_svn();
|
|
2444
2676
|
init_swift();
|
|
2445
2677
|
init_toml();
|
|
2446
2678
|
init_typescript();
|
|
@@ -2454,6 +2686,7 @@ init_zig();
|
|
|
2454
2686
|
init_zsh();
|
|
2455
2687
|
var languages = [
|
|
2456
2688
|
abap,
|
|
2689
|
+
actionscript,
|
|
2457
2690
|
asp,
|
|
2458
2691
|
astro,
|
|
2459
2692
|
assembly,
|
|
@@ -2470,6 +2703,9 @@ var languages = [
|
|
|
2470
2703
|
cuda,
|
|
2471
2704
|
dart,
|
|
2472
2705
|
dockerfile,
|
|
2706
|
+
elm,
|
|
2707
|
+
erlang,
|
|
2708
|
+
fortran,
|
|
2473
2709
|
fsharp,
|
|
2474
2710
|
git,
|
|
2475
2711
|
go,
|
|
@@ -2491,9 +2727,11 @@ var languages = [
|
|
|
2491
2727
|
markdown,
|
|
2492
2728
|
meson,
|
|
2493
2729
|
metal,
|
|
2730
|
+
svn,
|
|
2494
2731
|
nginx,
|
|
2495
2732
|
objectiveC,
|
|
2496
2733
|
pascal,
|
|
2734
|
+
perl,
|
|
2497
2735
|
php,
|
|
2498
2736
|
powershell,
|
|
2499
2737
|
pug,
|
|
@@ -2574,6 +2812,7 @@ var resolveLocale = (translations, locale) => {
|
|
|
2574
2812
|
// src/language-registry.ts
|
|
2575
2813
|
var languageIndex = [
|
|
2576
2814
|
{ slug: "abap", extensions: [".abap"] },
|
|
2815
|
+
{ slug: "actionscript", extensions: [".as"] },
|
|
2577
2816
|
{ slug: "asp", extensions: [".asp", ".aspx", ".ascx", ".ashx", ".asmx", ".master"] },
|
|
2578
2817
|
{ slug: "astro", extensions: [".astro"] },
|
|
2579
2818
|
{ slug: "assembly", extensions: [".asm", ".s", ".S", ".inc"] },
|
|
@@ -2593,6 +2832,15 @@ var languageIndex = [
|
|
|
2593
2832
|
{ slug: "cuda", extensions: [".cu", ".cuh"] },
|
|
2594
2833
|
{ slug: "dart", extensions: [".dart"] },
|
|
2595
2834
|
{ slug: "dockerfile", extensions: ["Dockerfile", ".dockerfile"] },
|
|
2835
|
+
{ slug: "elm", extensions: [".elm"] },
|
|
2836
|
+
{
|
|
2837
|
+
slug: "erlang",
|
|
2838
|
+
extensions: [".erl", ".hrl", ".app.src", ".escript", ".xrl", ".yrl", "rebar.config"]
|
|
2839
|
+
},
|
|
2840
|
+
{
|
|
2841
|
+
slug: "fortran",
|
|
2842
|
+
extensions: [".f", ".for", ".ftn", ".f90", ".f95", ".f03", ".f08", ".f18", ".f23"]
|
|
2843
|
+
},
|
|
2596
2844
|
{ slug: "fsharp", extensions: [".fs", ".fsi", ".fsx", ".fsscript"] },
|
|
2597
2845
|
{ slug: "git", extensions: [".git", ".gitignore", ".gitattributes", ".gitmodules", ".gitkeep"] },
|
|
2598
2846
|
{ slug: "go", extensions: [".go"] },
|
|
@@ -2614,9 +2862,11 @@ var languageIndex = [
|
|
|
2614
2862
|
{ slug: "markdown", extensions: [".md", ".markdown", ".mdown", ".mkd"] },
|
|
2615
2863
|
{ slug: "meson", extensions: ["meson.build", "meson_options.txt", "meson.options", ".wrap"] },
|
|
2616
2864
|
{ slug: "metal", extensions: [".metal"] },
|
|
2865
|
+
{ slug: "svn", extensions: [".svn", "svnserve.conf"] },
|
|
2617
2866
|
{ slug: "nginx", extensions: ["nginx.conf", ".nginx", ".conf"] },
|
|
2618
2867
|
{ slug: "objective-c", extensions: [".m", ".mm"] },
|
|
2619
2868
|
{ slug: "pascal", extensions: [".pas", ".pp", ".inc", ".lpr", ".dpr", ".dfm"] },
|
|
2869
|
+
{ slug: "perl", extensions: [".pl", ".pm", ".pod", ".t", ".psgi"] },
|
|
2620
2870
|
{ slug: "php", extensions: [".php", ".phtml", ".php3", ".php4", ".php5", ".phps"] },
|
|
2621
2871
|
{ slug: "powershell", extensions: [".ps1", ".psm1", ".psd1", ".ps1xml"] },
|
|
2622
2872
|
{ slug: "pug", extensions: [".pug", ".jade"] },
|
|
@@ -2649,6 +2899,7 @@ var languageIndex = [
|
|
|
2649
2899
|
];
|
|
2650
2900
|
var languageLoaders = {
|
|
2651
2901
|
abap: () => Promise.resolve().then(() => (init_abap(), abap_exports)).then((module) => module.abap),
|
|
2902
|
+
actionscript: () => Promise.resolve().then(() => (init_actionscript(), actionscript_exports)).then((module) => module.actionscript),
|
|
2652
2903
|
asp: () => Promise.resolve().then(() => (init_asp(), asp_exports)).then((module) => module.asp),
|
|
2653
2904
|
assembly: () => Promise.resolve().then(() => (init_assembly(), assembly_exports)).then((module) => module.assembly),
|
|
2654
2905
|
astro: () => Promise.resolve().then(() => (init_astro(), astro_exports)).then((module) => module.astro),
|
|
@@ -2665,6 +2916,9 @@ var languageLoaders = {
|
|
|
2665
2916
|
cuda: () => Promise.resolve().then(() => (init_cuda(), cuda_exports)).then((module) => module.cuda),
|
|
2666
2917
|
dart: () => Promise.resolve().then(() => (init_dart(), dart_exports)).then((module) => module.dart),
|
|
2667
2918
|
dockerfile: () => Promise.resolve().then(() => (init_dockerfile(), dockerfile_exports)).then((module) => module.dockerfile),
|
|
2919
|
+
elm: () => Promise.resolve().then(() => (init_elm(), elm_exports)).then((module) => module.elm),
|
|
2920
|
+
erlang: () => Promise.resolve().then(() => (init_erlang(), erlang_exports)).then((module) => module.erlang),
|
|
2921
|
+
fortran: () => Promise.resolve().then(() => (init_fortran(), fortran_exports)).then((module) => module.fortran),
|
|
2668
2922
|
fsharp: () => Promise.resolve().then(() => (init_fsharp(), fsharp_exports)).then((module) => module.fsharp),
|
|
2669
2923
|
git: () => Promise.resolve().then(() => (init_git(), git_exports)).then((module) => module.git),
|
|
2670
2924
|
go: () => Promise.resolve().then(() => (init_go(), go_exports)).then((module) => module.go),
|
|
@@ -2686,9 +2940,11 @@ var languageLoaders = {
|
|
|
2686
2940
|
markdown: () => Promise.resolve().then(() => (init_markdown(), markdown_exports)).then((module) => module.markdown),
|
|
2687
2941
|
meson: () => Promise.resolve().then(() => (init_meson(), meson_exports)).then((module) => module.meson),
|
|
2688
2942
|
metal: () => Promise.resolve().then(() => (init_metal(), metal_exports)).then((module) => module.metal),
|
|
2943
|
+
svn: () => Promise.resolve().then(() => (init_svn(), svn_exports)).then((module) => module.svn),
|
|
2689
2944
|
nginx: () => Promise.resolve().then(() => (init_nginx(), nginx_exports)).then((module) => module.nginx),
|
|
2690
2945
|
"objective-c": () => Promise.resolve().then(() => (init_objective_c(), objective_c_exports)).then((module) => module.objectiveC),
|
|
2691
2946
|
pascal: () => Promise.resolve().then(() => (init_pascal(), pascal_exports)).then((module) => module.pascal),
|
|
2947
|
+
perl: () => Promise.resolve().then(() => (init_perl(), perl_exports)).then((module) => module.perl),
|
|
2692
2948
|
php: () => Promise.resolve().then(() => (init_php(), php_exports)).then((module) => module.php),
|
|
2693
2949
|
powershell: () => Promise.resolve().then(() => (init_powershell(), powershell_exports)).then((module) => module.powershell),
|
|
2694
2950
|
pug: () => Promise.resolve().then(() => (init_pug(), pug_exports)).then((module) => module.pug),
|
|
@@ -2810,6 +3066,7 @@ var api = {
|
|
|
2810
3066
|
|
|
2811
3067
|
// src/index.ts
|
|
2812
3068
|
init_abap();
|
|
3069
|
+
init_actionscript();
|
|
2813
3070
|
init_asp();
|
|
2814
3071
|
init_astro();
|
|
2815
3072
|
init_assembly();
|
|
@@ -2826,6 +3083,9 @@ init_css();
|
|
|
2826
3083
|
init_cuda();
|
|
2827
3084
|
init_dart();
|
|
2828
3085
|
init_dockerfile();
|
|
3086
|
+
init_elm();
|
|
3087
|
+
init_erlang();
|
|
3088
|
+
init_fortran();
|
|
2829
3089
|
init_fsharp();
|
|
2830
3090
|
init_git();
|
|
2831
3091
|
init_go();
|
|
@@ -2850,6 +3110,7 @@ init_metal();
|
|
|
2850
3110
|
init_nginx();
|
|
2851
3111
|
init_objective_c();
|
|
2852
3112
|
init_pascal();
|
|
3113
|
+
init_perl();
|
|
2853
3114
|
init_php();
|
|
2854
3115
|
init_powershell();
|
|
2855
3116
|
init_pug();
|
|
@@ -2861,6 +3122,7 @@ init_scala();
|
|
|
2861
3122
|
init_scss();
|
|
2862
3123
|
init_sql();
|
|
2863
3124
|
init_svg();
|
|
3125
|
+
init_svn();
|
|
2864
3126
|
init_svelte();
|
|
2865
3127
|
init_swift();
|
|
2866
3128
|
init_toml();
|
|
@@ -2874,6 +3136,6 @@ init_yaml();
|
|
|
2874
3136
|
init_zig();
|
|
2875
3137
|
init_zsh();
|
|
2876
3138
|
|
|
2877
|
-
export { abap, api, asp, assembly, astro, bash, batch, c, cmake, cobol, coffeescript, cpp, crystal, csharp, css, cuda, dart, detectLanguage, detectLanguages, dockerfile, fsharp, git, go, gradle, graphql, groovy, html, ini, java, javascript, json, julia, kotlin, languages, less, lisp, localizeLanguage, lua, makefile, markdown, matlab, meson, metal, nginx, objectiveC, pascal, php, powershell, pug, python, r, ruby, rust, scala, scss, sql, svelte, svg, swift, toml, typescript, visualBasic, vue, webassembly, xaml, xml, yaml, zig, zsh };
|
|
3139
|
+
export { abap, actionscript, api, asp, assembly, astro, bash, batch, c, cmake, cobol, coffeescript, cpp, crystal, csharp, css, cuda, dart, detectLanguage, detectLanguages, dockerfile, elm, erlang, fortran, fsharp, git, go, gradle, graphql, groovy, html, ini, java, javascript, json, julia, kotlin, languages, less, lisp, localizeLanguage, lua, makefile, markdown, matlab, meson, metal, nginx, objectiveC, pascal, perl, php, powershell, pug, python, r, ruby, rust, scala, scss, sql, svelte, svg, svn, swift, toml, typescript, visualBasic, vue, webassembly, xaml, xml, yaml, zig, zsh };
|
|
2878
3140
|
//# sourceMappingURL=index.js.map
|
|
2879
3141
|
//# sourceMappingURL=index.js.map
|