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

@neo4j-cypher/react-codemirror

Package Overview
Dependencies
Maintainers
2
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@neo4j-cypher/react-codemirror - npm Package Compare versions

Comparing version 2.0.0-next.1 to 2.0.0-next.2

dist/types/history-navigation.d.ts

6

CHANGELOG.md
# @neo4j-cypher/react-codemirror
## 2.0.0-next.2
### Patch Changes
- 3866e43: Editor history is now a controlled prop
## 2.0.0-next.1

@@ -4,0 +10,0 @@

11

dist/types/CypherEditor.d.ts

@@ -24,12 +24,7 @@ import { EditorState, Extension } from '@codemirror/state';

/**
* Seed the editor history with some initial history entries
* Navigateable via up/down arrow keys
* The editor history navigateable via up/down arrow keys. Order newest to oldest.
* Add to this list with the `onExecute` callback for REPL style history.
*/
initialHistory?: string[];
history?: string[];
/**
* Callback when a new history entry is added, useful for keeping track of history
* outside of the editor.
*/
onNewHistoryEntry?: (historyEntry: string) => void;
/**
* When set to `true` the editor will use the background color of the parent element.

@@ -36,0 +31,0 @@ *

@@ -20,3 +20,3 @@ {

],
"version": "2.0.0-next.1",
"version": "2.0.0-next.2",
"main": "./dist/cjs/index.cjs",

@@ -23,0 +23,0 @@ "module": "./dist/esm/index.mjs",

@@ -7,3 +7,3 @@ # React Codemirror

`npm install @neo4j-cypher/reactcodemirror`
`npm install @neo4j-cypher/react-codemirror@next`

@@ -30,4 +30,7 @@ ```tsx

## Learning codemirror
It can take a little time to get into the CodeMirror6 ways of thinking, Trevor Harmon has a [great blog post](https://thetrevorharmon.com/blog/learning-codemirror/) explaining the cm6 "primitives". He also has a demo on how to integrate ANTLR4 with codemirror over [here](https://github.com/thetrevorharmon/zephyr-demo).
### Completion Icons
We use unmodified copies of Visual Studio Code Icons from microsofts repository [here](https://github.com/microsoft/vscode-icons) licensed under creative commons.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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