prosemirror-state
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -0,1 +1,7 @@ | ||
## 1.4.1 (2022-06-23) | ||
### Bug fixes | ||
Make the `SelectionRange` constructor public in the types. | ||
## 1.4.0 (2022-05-30) | ||
@@ -2,0 +8,0 @@ |
@@ -596,2 +596,14 @@ import { Schema, Node, Mark, MarkType, Slice, ResolvedPos } from 'prosemirror-model'; | ||
readonly $to: ResolvedPos; | ||
/** | ||
Create a range. | ||
*/ | ||
constructor( | ||
/** | ||
The lower bound of the range. | ||
*/ | ||
$from: ResolvedPos, | ||
/** | ||
The upper bound of the range. | ||
*/ | ||
$to: ResolvedPos); | ||
} | ||
@@ -598,0 +610,0 @@ /** |
@@ -202,3 +202,3 @@ import { Slice, Fragment, Mark, Node } from 'prosemirror-model'; | ||
/** | ||
@internal | ||
Create a range. | ||
*/ | ||
@@ -205,0 +205,0 @@ constructor( |
{ | ||
"name": "prosemirror-state", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "ProseMirror editor state", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -208,3 +208,3 @@ import {Slice, Fragment, ResolvedPos, Node} from "prosemirror-model" | ||
export class SelectionRange { | ||
/// @internal | ||
/// Create a range. | ||
constructor( | ||
@@ -211,0 +211,0 @@ /// The lower bound of the range. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
158114
3531