@remirror/pm
Advanced tools
Comparing version 1.0.0-next.35 to 1.0.0-next.37
# @remirror/pm | ||
## 1.0.0-next.37 | ||
> 2020-09-14 | ||
### Patch Changes | ||
- [`5a3dd95f`](https://github.com/remirror/remirror/commit/5a3dd95f11edee885c1d07b1ece8413d830b3405) [#686](https://github.com/remirror/remirror/pull/686) Thanks [@ifiokjr](https://github.com/ifiokjr)! - Fix `chainableEditorState` so that `storeMarks`, `selection` and `doc` are immutable. | ||
- Updated dependencies []: | ||
- @remirror/core-helpers@1.0.0-next.37 | ||
- prosemirror-suggest@1.0.0-next.37 | ||
## 1.0.0-next.35 | ||
@@ -4,0 +16,0 @@ |
@@ -38,11 +38,11 @@ 'use strict'; | ||
get storedMarks() { | ||
return tr.storedMarks; | ||
return state.storedMarks; | ||
}, | ||
get selection() { | ||
return tr.selection; | ||
return state.selection; | ||
}, | ||
get doc() { | ||
return tr.doc; | ||
return state.doc; | ||
} | ||
@@ -49,0 +49,0 @@ |
@@ -28,11 +28,11 @@ import _createForOfIteratorHelper from '@babel/runtime/helpers/esm/createForOfIteratorHelper'; | ||
get storedMarks() { | ||
return tr.storedMarks; | ||
return state.storedMarks; | ||
}, | ||
get selection() { | ||
return tr.selection; | ||
return state.selection; | ||
}, | ||
get doc() { | ||
return tr.doc; | ||
return state.doc; | ||
} | ||
@@ -39,0 +39,0 @@ |
@@ -38,11 +38,11 @@ 'use strict'; | ||
get storedMarks() { | ||
return tr.storedMarks; | ||
return state.storedMarks; | ||
}, | ||
get selection() { | ||
return tr.selection; | ||
return state.selection; | ||
}, | ||
get doc() { | ||
return tr.doc; | ||
return state.doc; | ||
} | ||
@@ -49,0 +49,0 @@ |
@@ -27,9 +27,9 @@ "use strict"; | ||
get storedMarks() { | ||
return tr.storedMarks; | ||
return state.storedMarks; | ||
}, | ||
get selection() { | ||
return tr.selection; | ||
return state.selection; | ||
}, | ||
get doc() { | ||
return tr.doc; | ||
return state.doc; | ||
} | ||
@@ -36,0 +36,0 @@ }); |
@@ -28,11 +28,11 @@ import _createForOfIteratorHelper from '@babel/runtime/helpers/esm/createForOfIteratorHelper'; | ||
get storedMarks() { | ||
return tr.storedMarks; | ||
return state.storedMarks; | ||
}, | ||
get selection() { | ||
return tr.selection; | ||
return state.selection; | ||
}, | ||
get doc() { | ||
return tr.doc; | ||
return state.doc; | ||
} | ||
@@ -39,0 +39,0 @@ |
{ | ||
"name": "@remirror/pm", | ||
"version": "1.0.0-next.35", | ||
"version": "1.0.0-next.37", | ||
"description": "A bundled library containing all the core prosemirror libraries required for using remirror", | ||
@@ -38,3 +38,3 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/@remirror/pm", | ||
"@remirror/core-constants": "1.0.0-next.35", | ||
"@remirror/core-helpers": "1.0.0-next.35", | ||
"@remirror/core-helpers": "1.0.0-next.37", | ||
"@types/prosemirror-commands": "^1.0.3", | ||
@@ -60,3 +60,3 @@ "@types/prosemirror-dropcursor": "^1.0.0", | ||
"prosemirror-state": "^1.3.3", | ||
"prosemirror-suggest": "^1.0.0-next.35", | ||
"prosemirror-suggest": "^1.0.0-next.37", | ||
"prosemirror-tables": "^1.1.1", | ||
@@ -63,0 +63,0 @@ "prosemirror-transform": "^1.2.8", |
@@ -11,3 +11,3 @@ # @remirror/pm | ||
[size]: https://bundlephobia.com/result?p=@remirror/pm@next | ||
[size-badge]: https://flat.badgen.net/bundlephobia/minzip/@remirror/pm | ||
[size-badge]: https://flat.badgen.net/bundlephobia/minzip/@remirror/pm@next | ||
[typescript]: https://flat.badgen.net/badge/icon/TypeScript?icon=typescript&label | ||
@@ -34,2 +34,5 @@ [downloads-badge]: https://badgen.net/npm/dw/@remirror/pm/red?icon=npm | ||
import { chainableEditorState } from '@remirror/pm'; | ||
``` | ||
```ts | ||
// Nested imports provides access to the individual prosemirror library exports. | ||
@@ -36,0 +39,0 @@ import { EditorState } from '@remirror/pm/state'; |
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
57744
41
+ Added@remirror/core-helpers@1.0.0-next.37(transitive)
+ Added@remirror/core-types@1.0.0-next.37(transitive)
- Removed@remirror/core-helpers@1.0.0-next.35(transitive)
- Removed@remirror/core-types@1.0.0-next.35(transitive)