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

@neo4j-cypher/codemirror

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo4j-cypher/codemirror - npm Package Compare versions

Comparing version 1.0.0-next.5 to 1.0.0-next.6

14

es/cypher-extensions.js

@@ -223,3 +223,10 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";

const darkExtensions = [EditorView.theme({}, {
const themeOverrides = {
"&.cm-editor": {
"&.cm-focused": {
outline: "none"
}
}
};
const darkExtensions = [EditorView.theme(themeOverrides, {
dark: true

@@ -229,2 +236,5 @@ }), EditorView.editorAttributes.of({

})];
const lightExtensions = [EditorView.theme(themeOverrides, {
dark: false
})];
export const historyExtensions = [historyExtension()];

@@ -260,3 +270,3 @@ export const indentWithTabExtensions = [keymap.of([indentWithTab])];

theme
}) => theme === THEME_DARK ? darkExtensions : [];
}) => theme === THEME_DARK ? darkExtensions : lightExtensions;
export const getLineNumbersExtensions = ({

@@ -263,0 +273,0 @@ lineNumbers,

@@ -216,3 +216,10 @@ "use strict";

exports.cypherLineNumbers = cypherLineNumbers;
const darkExtensions = [_view.EditorView.theme({}, {
const themeOverrides = {
"&.cm-editor": {
"&.cm-focused": {
outline: "none"
}
}
};
const darkExtensions = [_view.EditorView.theme(themeOverrides, {
dark: true

@@ -222,2 +229,5 @@ }), _view.EditorView.editorAttributes.of({

})];
const lightExtensions = [_view.EditorView.theme(themeOverrides, {
dark: false
})];
const historyExtensions = [(0, _commands.history)()];

@@ -265,3 +275,3 @@ exports.historyExtensions = historyExtensions;

theme
}) => theme === _cypherCodemirrorBase.THEME_DARK ? darkExtensions : [];
}) => theme === _cypherCodemirrorBase.THEME_DARK ? darkExtensions : lightExtensions;
exports.getThemeExtensions = getThemeExtensions;

@@ -268,0 +278,0 @@ const getLineNumbersExtensions = ({

2

package.json

@@ -9,3 +9,3 @@ {

],
"version": "1.0.0-next.5",
"version": "1.0.0-next.6",
"author": "Neo4j Inc.",

@@ -12,0 +12,0 @@ "license": "GPL-3.0",

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