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

codemirror

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codemirror - npm Package Compare versions

Comparing version 5.65.17 to 5.65.18

2

addon/edit/matchbrackets.js

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

// A cursor is defined as between two characters, but in in vim command mode
// A cursor is defined as between two characters, but in vim command mode
// (i.e. not insert mode), the cursor is visually represented as a

@@ -33,0 +33,0 @@ // highlighted box on top of the 2nd character. Otherwise, we allow matches

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

closeBrackets: {pairs: "()[]{}\"\""},
fold: "brace",
lineComment: ";;"

@@ -286,0 +287,0 @@ };

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

atoms: set(atoms),
// clike numbers without the suffixes, and with '_' separators.
number: /^(?:0x[a-f\d_]+|(?:[\d_]+\.?[\d_]*|\.[\d_]+)(?:e[-+]?[\d_]+)?)/i,
hooks: {

@@ -49,0 +51,0 @@ "@": function(stream) {

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

var next = stream.match(/^(\.|[\w\$_]+)/)
if (!next) {
state.tokenize.pop()
return state.tokenize[state.tokenize.length-1](stream, state)
}
if (!next || !stream.match(next[0] == "." ? /^[\w$_]/ : /^\./)) state.tokenize.pop()
if (!next) return state.tokenize[state.tokenize.length-1](stream, state)
return next[0] == "." ? null : "variable"

@@ -138,0 +136,0 @@ }

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

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

@@ -61,3 +61,3 @@ import { heightAtLine } from "../line/spans.js"

// Compute the lines that are visible in a given viewport (defaults
// the the current scroll position). viewport may contain top,
// the current scroll position). viewport may contain top,
// height, and ensure (see op.scrollToPos) properties.

@@ -64,0 +64,0 @@ export function visibleLines(display, doc, viewport) {

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

CodeMirror.version = "5.65.17"
CodeMirror.version = "5.65.18"

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

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