Socket
Socket
Sign inDemoInstall

@codemirror/state

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/state - npm Package Compare versions

Comparing version 0.18.2 to 0.18.3

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 0.18.3 (2021-03-23)
### New features
The `ChangeDesc` class now has `toJSON` and `fromJSON` methods.
## 0.18.2 (2021-03-14)

@@ -2,0 +8,0 @@

@@ -100,2 +100,11 @@ import { Text } from '@codemirror/text';

touchesRange(from: number, to?: number): boolean | "cover";
/**
Serialize this change desc to a JSON-representable value.
*/
toJSON(): readonly number[];
/**
Create a change desc from its JSON representation (as produced
by [`toJSON`](https://codemirror.net/6/docs/ref/#state.ChangeDesc.toJSON).
*/
static fromJSON(json: any): ChangeDesc;
}

@@ -102,0 +111,0 @@ /**

2

package.json
{
"name": "@codemirror/state",
"version": "0.18.2",
"version": "0.18.3",
"description": "Editor state data structures for the CodeMirror code editor",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

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