Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

prosemirror-suggest

Package Overview
Dependencies
Maintainers
1
Versions
273
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prosemirror-suggest - npm Package Compare versions

Comparing version 0.0.0-pr1552.1 to 0.0.0-pr1552.2

17

dist/prosemirror-suggest.browser.cjs.js

@@ -1430,12 +1430,15 @@ 'use strict';

apply(props) {
// if (this.#lastChangeFromAppend) {
// this.#lastChangeFromAppend = false;
// return this;
// }
var tr = props.tr,
state = props.state;
var _classPrivateFieldGet5 = _classPrivateFieldGet(this, _handlerMatches),
exit = _classPrivateFieldGet5.exit;
if (_classPrivateFieldGet(this, _lastChangeFromAppend)) {
_classPrivateFieldSet(this, _lastChangeFromAppend, false);
if (!(exit !== null && exit !== void 0 && exit.suggester.appendTransaction)) {
return this;
}
}
var tr = props.tr,
state = props.state;
var transactionHasChanged = tr.docChanged || tr.selectionSet;

@@ -1442,0 +1445,0 @@ var shouldIgnoreUpdate = tr.getMeta(IGNORE_SUGGEST_META_KEY);

@@ -1422,12 +1422,15 @@ import { TextSelection, Selection, PluginKey, Plugin } from 'prosemirror-state';

apply(props) {
// if (this.#lastChangeFromAppend) {
// this.#lastChangeFromAppend = false;
// return this;
// }
var tr = props.tr,
state = props.state;
var _classPrivateFieldGet5 = _classPrivateFieldGet(this, _handlerMatches),
exit = _classPrivateFieldGet5.exit;
if (_classPrivateFieldGet(this, _lastChangeFromAppend)) {
_classPrivateFieldSet(this, _lastChangeFromAppend, false);
if (!(exit !== null && exit !== void 0 && exit.suggester.appendTransaction)) {
return this;
}
}
var tr = props.tr,
state = props.state;
var transactionHasChanged = tr.docChanged || tr.selectionSet;

@@ -1434,0 +1437,0 @@ var shouldIgnoreUpdate = tr.getMeta(IGNORE_SUGGEST_META_KEY);

@@ -1430,12 +1430,15 @@ 'use strict';

apply(props) {
// if (this.#lastChangeFromAppend) {
// this.#lastChangeFromAppend = false;
// return this;
// }
var tr = props.tr,
state = props.state;
var _classPrivateFieldGet5 = _classPrivateFieldGet(this, _handlerMatches),
exit = _classPrivateFieldGet5.exit;
if (_classPrivateFieldGet(this, _lastChangeFromAppend)) {
_classPrivateFieldSet(this, _lastChangeFromAppend, false);
if (!(exit !== null && exit !== void 0 && exit.suggester.appendTransaction)) {
return this;
}
}
var tr = props.tr,
state = props.state;
var transactionHasChanged = tr.docChanged || tr.selectionSet;

@@ -1442,0 +1445,0 @@ var shouldIgnoreUpdate = tr.getMeta(IGNORE_SUGGEST_META_KEY);

@@ -1430,12 +1430,15 @@ 'use strict';

apply(props) {
// if (this.#lastChangeFromAppend) {
// this.#lastChangeFromAppend = false;
// return this;
// }
var tr = props.tr,
state = props.state;
var _classPrivateFieldGet5 = _classPrivateFieldGet(this, _handlerMatches),
exit = _classPrivateFieldGet5.exit;
if (_classPrivateFieldGet(this, _lastChangeFromAppend)) {
_classPrivateFieldSet(this, _lastChangeFromAppend, false);
if (!(exit !== null && exit !== void 0 && exit.suggester.appendTransaction)) {
return this;
}
}
var tr = props.tr,
state = props.state;
var transactionHasChanged = tr.docChanged || tr.selectionSet;

@@ -1442,0 +1445,0 @@ var shouldIgnoreUpdate = tr.getMeta(IGNORE_SUGGEST_META_KEY);

@@ -1422,12 +1422,15 @@ import { TextSelection, Selection, PluginKey, Plugin } from 'prosemirror-state';

apply(props) {
// if (this.#lastChangeFromAppend) {
// this.#lastChangeFromAppend = false;
// return this;
// }
var tr = props.tr,
state = props.state;
var _classPrivateFieldGet5 = _classPrivateFieldGet(this, _handlerMatches),
exit = _classPrivateFieldGet5.exit;
if (_classPrivateFieldGet(this, _lastChangeFromAppend)) {
_classPrivateFieldSet(this, _lastChangeFromAppend, false);
if (!(exit !== null && exit !== void 0 && exit.suggester.appendTransaction)) {
return this;
}
}
var tr = props.tr,
state = props.state;
var transactionHasChanged = tr.docChanged || tr.selectionSet;

@@ -1434,0 +1437,0 @@ var shouldIgnoreUpdate = tr.getMeta(IGNORE_SUGGEST_META_KEY);

{
"name": "prosemirror-suggest",
"version": "0.0.0-pr1552.1",
"version": "0.0.0-pr1552.2",
"description": "Primitives for building your prosemirror suggestion and autocomplete functionality",

@@ -39,5 +39,5 @@ "homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/prosemirror-suggest",

"@babel/runtime": "^7.13.10",
"@remirror/core-constants": "0.0.0-pr1552.1",
"@remirror/core-helpers": "0.0.0-pr1552.1",
"@remirror/types": "0.0.0-pr1552.1",
"@remirror/core-constants": "0.0.0-pr1552.2",
"@remirror/core-helpers": "0.0.0-pr1552.2",
"@remirror/types": "0.0.0-pr1552.2",
"escape-string-regexp": "^4.0.0"

@@ -44,0 +44,0 @@ },

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