Socket
Socket
Sign inDemoInstall

prosemirror-state

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-state - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

dist/index.d.cts

6

CHANGELOG.md

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

## 1.4.3 (2023-05-17)
### Bug fixes
Include CommonJS type declarations in the package to please new TypeScript resolution settings.
## 1.4.2 (2022-10-17)

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

11

dist/index.d.ts

@@ -305,6 +305,9 @@ import { Schema, Node, Mark, MarkType, Slice, ResolvedPos } from 'prosemirror-model';

The [editor view](https://prosemirror.net/docs/ref/#view.EditorView) uses a few metadata properties:
it will attach a property `"pointer"` with the value `true` to
selection transactions directly caused by mouse or touch input, and
a `"uiEvent"` property of that may be `"paste"`, `"cut"`, or `"drop"`.
The [editor view](https://prosemirror.net/docs/ref/#view.EditorView) uses a few metadata
properties: it will attach a property `"pointer"` with the value
`true` to selection transactions directly caused by mouse or touch
input, a `"composition"` property holding an ID identifying the
composition that caused it to transactions caused by composed DOM
input, and a `"uiEvent"` property of that may be `"paste"`,
`"cut"`, or `"drop"`.
*/

@@ -311,0 +314,0 @@ declare class Transaction extends Transform {

@@ -489,6 +489,9 @@ import { Slice, Fragment, Mark, Node } from 'prosemirror-model';

The [editor view](https://prosemirror.net/docs/ref/#view.EditorView) uses a few metadata properties:
it will attach a property `"pointer"` with the value `true` to
selection transactions directly caused by mouse or touch input, and
a `"uiEvent"` property of that may be `"paste"`, `"cut"`, or `"drop"`.
The [editor view](https://prosemirror.net/docs/ref/#view.EditorView) uses a few metadata
properties: it will attach a property `"pointer"` with the value
`true` to selection transactions directly caused by mouse or touch
input, a `"composition"` property holding an ID identifying the
composition that caused it to transactions caused by composed DOM
input, and a `"uiEvent"` property of that may be `"paste"`,
`"cut"`, or `"drop"`.
*/

@@ -495,0 +498,0 @@ class Transaction extends Transform {

{
"name": "prosemirror-state",
"version": "1.4.2",
"version": "1.4.3",
"description": "ProseMirror editor state",

@@ -18,3 +18,3 @@ "type": "module",

"name": "Marijn Haverbeke",
"email": "marijnh@gmail.com",
"email": "marijn@haverbeke.berlin",
"web": "http://marijnhaverbeke.nl"

@@ -21,0 +21,0 @@ }

@@ -35,6 +35,9 @@ import {Transform, Step} from "prosemirror-transform"

///
/// The [editor view](#view.EditorView) uses a few metadata properties:
/// it will attach a property `"pointer"` with the value `true` to
/// selection transactions directly caused by mouse or touch input, and
/// a `"uiEvent"` property of that may be `"paste"`, `"cut"`, or `"drop"`.
/// The [editor view](#view.EditorView) uses a few metadata
/// properties: it will attach a property `"pointer"` with the value
/// `true` to selection transactions directly caused by mouse or touch
/// input, a `"composition"` property holding an ID identifying the
/// composition that caused it to transactions caused by composed DOM
/// input, and a `"uiEvent"` property of that may be `"paste"`,
/// `"cut"`, or `"drop"`.
export class Transaction extends Transform {

@@ -41,0 +44,0 @@ /// The timestamp associated with this transaction, in the same

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