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.19.2 to 0.19.3

6

CHANGELOG.md

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

## 0.19.3 (2021-11-03)
### New features
The precedence levels (under `Prec`) now have more generic names, because their 'meaningful' names were entirely inappropriate in many situations.
## 0.19.2 (2021-09-13)

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

34

dist/index.d.ts

@@ -512,17 +512,35 @@ import { Text } from '@codemirror/text';

/**
A precedence below the default precedence, which will cause
default-precedence extensions to override it even if they are
specified later in the extension ordering.
The lowest precedence level. Meant for things that should end up
near the end of the extension order.
*/
fallback: (ext: Extension) => Extension;
lowest: (ext: Extension) => Extension;
/**
The regular default precedence.
A lower-than-default precedence, for extensions.
*/
low: (ext: Extension) => Extension;
/**
The default precedence, which is also used for extensions
without an explicit precedence.
*/
default: (ext: Extension) => Extension;
/**
A higher-than-default precedence.
A higher-than-default precedence, for extensions that should
come before those with default precedence.
*/
high: (ext: Extension) => Extension;
/**
The highest precedence level, for extensions that should end up
near the start of the precedence ordering.
*/
highest: (ext: Extension) => Extension;
/**
Backwards-compatible synonym for `Prec.lowest`.
*/
fallback: (ext: Extension) => Extension;
/**
Backwards-compatible synonym for `Prec.high`.
*/
extend: (ext: Extension) => Extension;
/**
Precedence above the `default` and `extend` precedences.
Backwards-compatible synonym for `Prec.highest`.
*/

@@ -787,3 +805,3 @@ override: (ext: Extension) => Extension;

*/
isUserEvent(event: string): boolean | "" | undefined;
isUserEvent(event: string): boolean;
/**

@@ -790,0 +808,0 @@ Annotation used to store transaction timestamps.

{
"name": "@codemirror/state",
"version": "0.19.2",
"version": "0.19.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