mirror of
https://github.com/outline/outline.git
synced 2026-06-13 03:14:59 +03:00
chore(deps): bump prosemirror-changeset from 2.3.1 to 2.4.1 (#12261)
* chore(deps): bump prosemirror-changeset from 2.3.1 to 2.4.1 Bumps [prosemirror-changeset](https://github.com/prosemirror/prosemirror-changeset) from 2.3.1 to 2.4.1. - [Changelog](https://github.com/ProseMirror/prosemirror-changeset/blob/master/CHANGELOG.md) - [Commits](https://github.com/prosemirror/prosemirror-changeset/commits) --- updated-dependencies: - dependency-name: prosemirror-changeset dependency-version: 2.4.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * fix: ExtendedChange type for prosemirror-changeset 2.4.1 The new Change class adds a toJSON() method, which broke `extends Change` since ExtendedChange values are built via object spread and have no prototype methods. Pick only the data properties instead. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Moor <tom@getoutline.com> Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -191,7 +191,7 @@
|
||||
"pluralize": "^8.0.0",
|
||||
"png-chunks-extract": "^1.0.0",
|
||||
"polished": "^4.3.1",
|
||||
"prosemirror-changeset": "2.3.1",
|
||||
"prosemirror-changeset": "2.4.1",
|
||||
"prosemirror-codemark": "^0.4.2",
|
||||
"prosemirror-commands": "^1.7.1",
|
||||
"prosemirror-dropcursor": "^1.8.2",
|
||||
|
||||
@@ -24,7 +24,10 @@ export type Modification = {
|
||||
/**
|
||||
* Extended Change type that includes modifications.
|
||||
*/
|
||||
export interface ExtendedChange extends Change {
|
||||
export interface ExtendedChange extends Pick<
|
||||
Change,
|
||||
"fromA" | "toA" | "fromB" | "toB" | "deleted" | "inserted"
|
||||
> {
|
||||
modified: readonly Modification[];
|
||||
}
|
||||
|
||||
|
||||
@@ -17060,7 +17060,7 @@ __metadata:
|
||||
polished: "npm:^4.3.1"
|
||||
postinstall-postinstall: "npm:^2.1.0"
|
||||
prettier: "npm:^3.6.2"
|
||||
prosemirror-changeset: "npm:2.3.1"
|
||||
prosemirror-changeset: "npm:2.4.1"
|
||||
prosemirror-codemark: "npm:^0.4.2"
|
||||
prosemirror-commands: "npm:^1.7.1"
|
||||
prosemirror-dropcursor: "npm:^1.8.2"
|
||||
@@ -18159,12 +18159,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"prosemirror-changeset@npm:2.3.1":
|
||||
version: 2.3.1
|
||||
resolution: "prosemirror-changeset@npm:2.3.1"
|
||||
"prosemirror-changeset@npm:2.4.1":
|
||||
version: 2.4.1
|
||||
resolution: "prosemirror-changeset@npm:2.4.1"
|
||||
dependencies:
|
||||
prosemirror-transform: "npm:^1.0.0"
|
||||
checksum: 10c0/efd6578ee4535d72d11c032b49921f14b3f7ccae680eb14c8d9f6cc1fbec00299c598475af0ab432864976bdbb7f94f011193278b2d19eadda83b754fe6d8a35
|
||||
checksum: 10c0/ca6b6bab73809dbb8554cddc0a3af666db8bcfed57938314ce6b04b28e41ea355441eaadabcddd9c785727219ad3779534dfa6e33521f0d333e90788b8dc9e3c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user