Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uiw/codemirror-extensions-langs

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/codemirror-extensions-langs - npm Package Compare versions

Comparing version 4.12.2 to 4.12.3

6

cjs/index.d.ts

@@ -14,2 +14,3 @@ import { StreamLanguage } from '@codemirror/language';

import { php } from '@codemirror/lang-php';
import { wast } from '@codemirror/lang-wast';
export declare const langs: {

@@ -87,3 +88,2 @@ apl: () => StreamLanguage<unknown>;

vhdl: () => StreamLanguage<unknown>;
wast: () => StreamLanguage<unknown>;
webIDL: () => StreamLanguage<unknown>;

@@ -93,2 +93,3 @@ xQuery: () => StreamLanguage<unknown>;

z80: () => StreamLanguage<unknown>;
wast: typeof wast;
javascript: typeof javascript;

@@ -128,2 +129,3 @@ jsx: () => import("@codemirror/language").LanguageSupport;

livescript: () => StreamLanguage<unknown>;
less: () => StreamLanguage<unknown>;
scheme: () => StreamLanguage<unknown>;

@@ -139,4 +141,4 @@ toml: () => StreamLanguage<unknown>;

/** Language list */
export declare const langNames: ("apl" | "asciiArmor" | "asterisk" | "c" | "csharp" | "scala" | "kotlin" | "shader" | "nesC" | "objectiveC" | "objectiveCpp" | "squirrel" | "ceylon" | "dart" | "cmake" | "cobol" | "commonLisp" | "crystal" | "cypher" | "d" | "diff" | "dtd" | "dylan" | "ebnf" | "ecl" | "eiffel" | "elm" | "factor" | "fcl" | "forth" | "fortran" | "gas" | "gherkin" | "groovy" | "haskell" | "haxe" | "http" | "idl" | "jinja2" | "mathematica" | "mbox" | "mirc" | "modelica" | "mscgen" | "mumps" | "nsis" | "ntriples" | "octave" | "oz" | "pig" | "properties" | "protobuf" | "puppet" | "q" | "sas" | "sass" | "sieve" | "smalltalk" | "solr" | "sparql" | "spreadsheet" | "stex" | "textile" | "tiddlyWiki" | "tiki" | "troff" | "ttcn" | "turtle" | "velocity" | "verilog" | "vhdl" | "wast" | "webIDL" | "xQuery" | "yacas" | "z80" | "javascript" | "jsx" | "typescript" | "tsx" | "json" | "html" | "css" | "python" | "markdown" | "xml" | "sql" | "mysql" | "pgsql" | "java" | "rust" | "cpp" | "lezer" | "php" | "go" | "shell" | "lua" | "swift" | "tcl" | "yaml" | "vb" | "powershell" | "brainfuck" | "stylus" | "erlang" | "nginx" | "perl" | "ruby" | "pascal" | "livescript" | "scheme" | "toml" | "vbscript" | "clojure" | "coffeescript" | "julia" | "dockerfile" | "r")[];
export declare const langNames: ("apl" | "asciiArmor" | "asterisk" | "c" | "csharp" | "scala" | "kotlin" | "shader" | "nesC" | "objectiveC" | "objectiveCpp" | "squirrel" | "ceylon" | "dart" | "cmake" | "cobol" | "commonLisp" | "crystal" | "cypher" | "d" | "diff" | "dtd" | "dylan" | "ebnf" | "ecl" | "eiffel" | "elm" | "factor" | "fcl" | "forth" | "fortran" | "gas" | "gherkin" | "groovy" | "haskell" | "haxe" | "http" | "idl" | "jinja2" | "mathematica" | "mbox" | "mirc" | "modelica" | "mscgen" | "mumps" | "nsis" | "ntriples" | "octave" | "oz" | "pig" | "properties" | "protobuf" | "puppet" | "q" | "sas" | "sass" | "sieve" | "smalltalk" | "solr" | "sparql" | "spreadsheet" | "stex" | "textile" | "tiddlyWiki" | "tiki" | "troff" | "ttcn" | "turtle" | "velocity" | "verilog" | "vhdl" | "webIDL" | "xQuery" | "yacas" | "z80" | "wast" | "javascript" | "jsx" | "typescript" | "tsx" | "json" | "html" | "css" | "python" | "markdown" | "xml" | "sql" | "mysql" | "pgsql" | "java" | "rust" | "cpp" | "lezer" | "php" | "go" | "shell" | "lua" | "swift" | "tcl" | "yaml" | "vb" | "powershell" | "brainfuck" | "stylus" | "erlang" | "nginx" | "perl" | "ruby" | "pascal" | "livescript" | "less" | "scheme" | "toml" | "vbscript" | "clojure" | "coffeescript" | "julia" | "dockerfile" | "r")[];
export declare type LanguageName = keyof typeof langs;
export declare function loadLanguage(name: LanguageName): StreamLanguage<unknown> | import("@codemirror/language").LanguageSupport | null;

@@ -39,2 +39,4 @@ "use strict";

var _langWast = require("@codemirror/lang-wast");
var _apl2 = require("@codemirror/legacy-modes/mode/apl");

@@ -52,2 +54,4 @@

var _css = require("@codemirror/legacy-modes/mode/css");
var _cmake2 = require("@codemirror/legacy-modes/mode/cmake");

@@ -209,4 +213,2 @@

var _wast2 = require("@codemirror/legacy-modes/mode/wast");
var _webidl = require("@codemirror/legacy-modes/mode/webidl");

@@ -443,5 +445,2 @@

},
wast: function wast() {
return _language.StreamLanguage.define(_wast2.wast);
},
webIDL: function webIDL() {

@@ -459,2 +458,3 @@ return _language.StreamLanguage.define(_webidl.webIDL);

},
wast: _langWast.wast,
javascript: _langJavascript.javascript,

@@ -554,2 +554,5 @@ jsx: function jsx() {

},
less: function less() {
return _language.StreamLanguage.define(_css.less);
},
scheme: function scheme() {

@@ -556,0 +559,0 @@ return _language.StreamLanguage.define(_scheme2.scheme);

@@ -14,2 +14,3 @@ import { StreamLanguage } from '@codemirror/language';

import { php } from '@codemirror/lang-php';
import { wast } from '@codemirror/lang-wast';
export declare const langs: {

@@ -87,3 +88,2 @@ apl: () => StreamLanguage<unknown>;

vhdl: () => StreamLanguage<unknown>;
wast: () => StreamLanguage<unknown>;
webIDL: () => StreamLanguage<unknown>;

@@ -93,2 +93,3 @@ xQuery: () => StreamLanguage<unknown>;

z80: () => StreamLanguage<unknown>;
wast: typeof wast;
javascript: typeof javascript;

@@ -128,2 +129,3 @@ jsx: () => import("@codemirror/language").LanguageSupport;

livescript: () => StreamLanguage<unknown>;
less: () => StreamLanguage<unknown>;
scheme: () => StreamLanguage<unknown>;

@@ -139,4 +141,4 @@ toml: () => StreamLanguage<unknown>;

/** Language list */
export declare const langNames: ("apl" | "asciiArmor" | "asterisk" | "c" | "csharp" | "scala" | "kotlin" | "shader" | "nesC" | "objectiveC" | "objectiveCpp" | "squirrel" | "ceylon" | "dart" | "cmake" | "cobol" | "commonLisp" | "crystal" | "cypher" | "d" | "diff" | "dtd" | "dylan" | "ebnf" | "ecl" | "eiffel" | "elm" | "factor" | "fcl" | "forth" | "fortran" | "gas" | "gherkin" | "groovy" | "haskell" | "haxe" | "http" | "idl" | "jinja2" | "mathematica" | "mbox" | "mirc" | "modelica" | "mscgen" | "mumps" | "nsis" | "ntriples" | "octave" | "oz" | "pig" | "properties" | "protobuf" | "puppet" | "q" | "sas" | "sass" | "sieve" | "smalltalk" | "solr" | "sparql" | "spreadsheet" | "stex" | "textile" | "tiddlyWiki" | "tiki" | "troff" | "ttcn" | "turtle" | "velocity" | "verilog" | "vhdl" | "wast" | "webIDL" | "xQuery" | "yacas" | "z80" | "javascript" | "jsx" | "typescript" | "tsx" | "json" | "html" | "css" | "python" | "markdown" | "xml" | "sql" | "mysql" | "pgsql" | "java" | "rust" | "cpp" | "lezer" | "php" | "go" | "shell" | "lua" | "swift" | "tcl" | "yaml" | "vb" | "powershell" | "brainfuck" | "stylus" | "erlang" | "nginx" | "perl" | "ruby" | "pascal" | "livescript" | "scheme" | "toml" | "vbscript" | "clojure" | "coffeescript" | "julia" | "dockerfile" | "r")[];
export declare const langNames: ("apl" | "asciiArmor" | "asterisk" | "c" | "csharp" | "scala" | "kotlin" | "shader" | "nesC" | "objectiveC" | "objectiveCpp" | "squirrel" | "ceylon" | "dart" | "cmake" | "cobol" | "commonLisp" | "crystal" | "cypher" | "d" | "diff" | "dtd" | "dylan" | "ebnf" | "ecl" | "eiffel" | "elm" | "factor" | "fcl" | "forth" | "fortran" | "gas" | "gherkin" | "groovy" | "haskell" | "haxe" | "http" | "idl" | "jinja2" | "mathematica" | "mbox" | "mirc" | "modelica" | "mscgen" | "mumps" | "nsis" | "ntriples" | "octave" | "oz" | "pig" | "properties" | "protobuf" | "puppet" | "q" | "sas" | "sass" | "sieve" | "smalltalk" | "solr" | "sparql" | "spreadsheet" | "stex" | "textile" | "tiddlyWiki" | "tiki" | "troff" | "ttcn" | "turtle" | "velocity" | "verilog" | "vhdl" | "webIDL" | "xQuery" | "yacas" | "z80" | "wast" | "javascript" | "jsx" | "typescript" | "tsx" | "json" | "html" | "css" | "python" | "markdown" | "xml" | "sql" | "mysql" | "pgsql" | "java" | "rust" | "cpp" | "lezer" | "php" | "go" | "shell" | "lua" | "swift" | "tcl" | "yaml" | "vb" | "powershell" | "brainfuck" | "stylus" | "erlang" | "nginx" | "perl" | "ruby" | "pascal" | "livescript" | "less" | "scheme" | "toml" | "vbscript" | "clojure" | "coffeescript" | "julia" | "dockerfile" | "r")[];
export declare type LanguageName = keyof typeof langs;
export declare function loadLanguage(name: LanguageName): StreamLanguage<unknown> | import("@codemirror/language").LanguageSupport | null;

@@ -16,2 +16,3 @@ import { languages } from '@codemirror/language-data';

import { php } from '@codemirror/lang-php';
import { wast } from '@codemirror/lang-wast';
import { apl as _apl } from '@codemirror/legacy-modes/mode/apl';

@@ -24,2 +25,3 @@ import { asciiArmor as _asciiArmor } from '@codemirror/legacy-modes/mode/asciiarmor'; // import { asn1 } from '@codemirror/legacy-modes/mode/asn1';

import { clojure as _clojure } from '@codemirror/legacy-modes/mode/clojure';
import { less as _less } from '@codemirror/legacy-modes/mode/css';
import { cmake as _cmake } from '@codemirror/legacy-modes/mode/cmake';

@@ -107,3 +109,2 @@ import { cobol as _cobol } from '@codemirror/legacy-modes/mode/cobol';

import { vhdl as _vhdl } from '@codemirror/legacy-modes/mode/vhdl';
import { wast as _wast } from '@codemirror/legacy-modes/mode/wast';
import { webIDL as _webIDL } from '@codemirror/legacy-modes/mode/webidl';

@@ -188,3 +189,2 @@ import { xQuery as _xQuery } from '@codemirror/legacy-modes/mode/xquery';

vhdl: () => StreamLanguage.define(_vhdl),
wast: () => StreamLanguage.define(_wast),
webIDL: () => StreamLanguage.define(_webIDL),

@@ -194,2 +194,3 @@ xQuery: () => StreamLanguage.define(_xQuery),

z80: () => StreamLanguage.define(_z),
wast,
javascript,

@@ -245,2 +246,3 @@ jsx: () => javascript({

livescript: () => StreamLanguage.define(liveScript),
less: () => StreamLanguage.define(_less),
scheme: () => StreamLanguage.define(_scheme),

@@ -247,0 +249,0 @@ toml: () => StreamLanguage.define(_toml),

{
"name": "@uiw/codemirror-extensions-langs",
"version": "4.12.2",
"version": "4.12.3",
"description": "Load languages Extensions for CodeMirror6.",

@@ -39,5 +39,6 @@ "homepage": "https://uiwjs.github.io/react-codemirror/#/extensions/languages",

"@codemirror/lang-sql": "~6.3.0",
"@codemirror/lang-wast": "^6.0.0",
"@codemirror/lang-xml": "~6.0.0",
"@codemirror/language-data": "^6.1.0",
"@codemirror/legacy-modes": "~6.1.0"
"@codemirror/language-data": ">=6.0.0",
"@codemirror/legacy-modes": ">=6.0.0"
},

@@ -44,0 +45,0 @@ "keywords": [

@@ -16,2 +16,3 @@ import { languages } from '@codemirror/language-data';

import { php } from '@codemirror/lang-php';
import { wast } from '@codemirror/lang-wast';

@@ -38,2 +39,3 @@ import { apl } from '@codemirror/legacy-modes/mode/apl';

import { clojure } from '@codemirror/legacy-modes/mode/clojure';
import { less } from '@codemirror/legacy-modes/mode/css';
import { cmake } from '@codemirror/legacy-modes/mode/cmake';

@@ -121,3 +123,2 @@ import { cobol } from '@codemirror/legacy-modes/mode/cobol';

import { vhdl } from '@codemirror/legacy-modes/mode/vhdl';
import { wast } from '@codemirror/legacy-modes/mode/wast';
import { webIDL } from '@codemirror/legacy-modes/mode/webidl';

@@ -203,3 +204,2 @@ import { xQuery } from '@codemirror/legacy-modes/mode/xquery';

vhdl: () => StreamLanguage.define(vhdl),
wast: () => StreamLanguage.define(wast),
webIDL: () => StreamLanguage.define(webIDL),

@@ -210,2 +210,3 @@ xQuery: () => StreamLanguage.define(xQuery),

wast,
javascript,

@@ -247,2 +248,3 @@ jsx: () => javascript({ jsx: true }),

livescript: () => StreamLanguage.define(liveScript),
less: () => StreamLanguage.define(less),
scheme: () => StreamLanguage.define(scheme),

@@ -249,0 +251,0 @@ toml: () => StreamLanguage.define(toml),

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc