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

@jupyterlab/codemirror

Package Overview
Dependencies
Maintainers
0
Versions
377
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupyterlab/codemirror - npm Package Compare versions

Comparing version 4.3.0 to 4.3.1

7

lib/commands.js

@@ -6,3 +6,3 @@ /*

import { indentLess, indentMore, insertBlankLine, insertNewlineAndIndent, insertTab, simplifySelection } from '@codemirror/commands';
import { COMPLETER_ACTIVE_CLASS, COMPLETER_ENABLED_CLASS } from '@jupyterlab/codeeditor';
import { COMPLETER_ACTIVE_CLASS, COMPLETER_ENABLED_CLASS, COMPLETER_LINE_BEGINNING_CLASS } from '@jupyterlab/codeeditor';
/**

@@ -34,3 +34,6 @@ * Selector for a widget that can run code.

var _a;
if ((_a = target.dom.parentElement) === null || _a === void 0 ? void 0 : _a.classList.contains(COMPLETER_ENABLED_CLASS)) {
let classList = (_a = target.dom.parentElement) === null || _a === void 0 ? void 0 : _a.classList;
let completerEnabled = classList === null || classList === void 0 ? void 0 : classList.contains(COMPLETER_ENABLED_CLASS);
let lineBeggining = classList === null || classList === void 0 ? void 0 : classList.contains(COMPLETER_LINE_BEGINNING_CLASS);
if (completerEnabled && !lineBeggining) {
return false;

@@ -37,0 +40,0 @@ }

{
"name": "@jupyterlab/codemirror",
"version": "4.3.0",
"version": "4.3.1",
"description": "JupyterLab - CodeMirror Editor Provider",

@@ -61,7 +61,7 @@ "homepage": "https://github.com/jupyterlab/jupyterlab",

"@jupyter/ydoc": "^3.0.0",
"@jupyterlab/codeeditor": "^4.3.0",
"@jupyterlab/coreutils": "^6.3.0",
"@jupyterlab/documentsearch": "^4.3.0",
"@jupyterlab/nbformat": "^4.3.0",
"@jupyterlab/translation": "^4.3.0",
"@jupyterlab/codeeditor": "^4.3.1",
"@jupyterlab/coreutils": "^6.3.1",
"@jupyterlab/documentsearch": "^4.3.1",
"@jupyterlab/nbformat": "^4.3.1",
"@jupyterlab/translation": "^4.3.1",
"@lezer/common": "^1.2.1",

@@ -77,3 +77,3 @@ "@lezer/generator": "^1.7.0",

"devDependencies": {
"@jupyterlab/testing": "^4.3.0",
"@jupyterlab/testing": "^4.3.1",
"@lezer/generator": "^1.7.0",

@@ -80,0 +80,0 @@ "@lezer/lr": "^1.4.0",

@@ -17,3 +17,4 @@ /*

COMPLETER_ACTIVE_CLASS,
COMPLETER_ENABLED_CLASS
COMPLETER_ENABLED_CLASS,
COMPLETER_LINE_BEGINNING_CLASS
} from '@jupyterlab/codeeditor';

@@ -55,3 +56,6 @@

}): boolean {
if (target.dom.parentElement?.classList.contains(COMPLETER_ENABLED_CLASS)) {
let classList = target.dom.parentElement?.classList;
let completerEnabled = classList?.contains(COMPLETER_ENABLED_CLASS);
let lineBeggining = classList?.contains(COMPLETER_LINE_BEGINNING_CLASS);
if (completerEnabled && !lineBeggining) {
return false;

@@ -58,0 +62,0 @@ }

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