New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

codemirror

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codemirror - npm Package Compare versions

Comparing version

to
5.65.19

@@ -158,2 +158,18 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others

// RULE
} else if (state.allowScenario && stream.match(/(規則|ルール|قانون|قواعد|חוק|قاعدة|Правило|Правила|Reegel|Regel|Règle|Regola|Regla|Regulă|Regul|Regula|Regel|Regel|Regula|Правило|Правила|Regel|Regola|Regul|Reeglid|Rule):/)) {
state.allowPlaceholders = false;
state.allowSteps = true;
state.allowBackground = false;
state.allowMultilineArgument = true;
return "keyword";
// EXAMPLE
} else if (state.allowScenario && stream.match(/(例子|例|サンプル|예|דוגמה|مثال|Үрнәк|Пример|Παράδειγμα|Exemplo|Exemple|Beispiel|Ejemplo|Example|Esempio|Örnek|Példa|Pavyzdys|Paraugs|Voorbeeld|Příklad|Príklad|Exemplu|Esempi):/)) {
state.allowPlaceholders = false;
state.allowSteps = true;
state.allowBackground = false;
state.allowMultilineArgument = true;
return "keyword";
// INLINE STRING

@@ -160,0 +176,0 @@ } else if (stream.match(/"[^"]*"?/)) {

@@ -75,3 +75,3 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others

stream.eatWhile(/[\w\$_]/);
var cur = stream.current();
var cur = stream.current().toLowerCase();
if (keywords.propertyIsEnumerable(cur)) return "keyword";

@@ -78,0 +78,0 @@ if (atoms.propertyIsEnumerable(cur)) return "atom";

@@ -424,2 +424,6 @@ // CodeMirror, copyright (c) by Marijn Haverbeke and others

backslashStringEscapes: false,
identifierQuote: "\"", // https://www.postgresql.org/docs/current/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS
hooks: {
"\"": hookIdentifierDoublequote
},
dateSQL: set("date time timestamp"),

@@ -426,0 +430,0 @@ support: set("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")

{
"name": "codemirror",
"version": "5.65.18",
"version": "5.65.19",
"main": "lib/codemirror.js",

@@ -5,0 +5,0 @@ "style": "lib/codemirror.css",

@@ -69,2 +69,2 @@ // EDITOR CONSTRUCTOR

CodeMirror.version = "5.65.18"
CodeMirror.version = "5.65.19"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display