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-pr901.1 to 0.0.0-pr905.1

2

dist/declarations/src/suggest-state.d.ts

@@ -169,3 +169,3 @@ import { PluginKey, Selection, TextSelection } from 'prosemirror-state';

*/
setLastChangeFromAppend(): void;
setLastChangeFromAppend: () => void;
}

@@ -172,0 +172,0 @@ /**

@@ -730,16 +730,2 @@ /**

/**
* Keeps the partial properties of a type unchanged. Transforms the rest to
* `never`.
*/
declare type KeepPartialProperties<Type extends object> = {
[Key in keyof Type]: Type[Key] extends undefined ? Type[Key] : never;
};
/**
* Pick the `partial` properties from the provided Type and make them all
* required.
*/
export declare type PickPartial<Type extends object> = {
[Key in keyof import('type-fest').ConditionalExcept<KeepPartialProperties<Type>, never>]-?: Type[Key];
};
/**
* Makes specified keys of an interface optional while the rest stay the same.

@@ -814,2 +800,1 @@ */

}
export {};

@@ -1,2 +0,3 @@

import type { CompareMatchProps, DocChangedProps, EditorSchema, EditorStateProps, PickPartial, ResolvedPos, ResolvedPosProps, ResolvedRangeWithCursor, Suggester, SuggestMatch, SuggestReasonMap } from './suggest-types';
import { PickPartial } from '@remirror/types';
import type { CompareMatchProps, DocChangedProps, EditorSchema, EditorStateProps, ResolvedPos, ResolvedPosProps, ResolvedRangeWithCursor, Suggester, SuggestMatch, SuggestReasonMap } from './suggest-types';
interface FindFromSuggestersProps<Schema extends EditorSchema = EditorSchema> extends ResolvedPosProps<Schema>, DocChangedProps {

@@ -3,0 +4,0 @@ /**

@@ -1087,2 +1087,6 @@ 'use strict';

_defineProperty(this, "setLastChangeFromAppend", () => {
_classPrivateFieldSet(this, _lastChangeFromAppend, true);
});
var mapper = createSuggesterMapper();

@@ -1310,3 +1314,3 @@

return decorations.some((_ref6) => {
var shouldIgnore = decorations.some((_ref6) => {
var spec = _ref6.spec,

@@ -1321,2 +1325,3 @@ from = _ref6.from;

});
return shouldIgnore;
}

@@ -1495,6 +1500,2 @@ /**

setLastChangeFromAppend() {
_classPrivateFieldSet(this, _lastChangeFromAppend, true);
}
}

@@ -1501,0 +1502,0 @@

@@ -1079,2 +1079,6 @@ import { TextSelection, Selection, PluginKey, Plugin } from 'prosemirror-state';

_defineProperty(this, "setLastChangeFromAppend", () => {
_classPrivateFieldSet(this, _lastChangeFromAppend, true);
});
var mapper = createSuggesterMapper();

@@ -1302,3 +1306,3 @@

return decorations.some((_ref6) => {
var shouldIgnore = decorations.some((_ref6) => {
var spec = _ref6.spec,

@@ -1313,2 +1317,3 @@ from = _ref6.from;

});
return shouldIgnore;
}

@@ -1487,6 +1492,2 @@ /**

setLastChangeFromAppend() {
_classPrivateFieldSet(this, _lastChangeFromAppend, true);
}
}

@@ -1493,0 +1494,0 @@

@@ -1087,2 +1087,6 @@ 'use strict';

_defineProperty(this, "setLastChangeFromAppend", () => {
_classPrivateFieldSet(this, _lastChangeFromAppend, true);
});
var mapper = createSuggesterMapper();

@@ -1310,3 +1314,3 @@

return decorations.some((_ref6) => {
var shouldIgnore = decorations.some((_ref6) => {
var spec = _ref6.spec,

@@ -1321,2 +1325,3 @@ from = _ref6.from;

});
return shouldIgnore;
}

@@ -1495,6 +1500,2 @@ /**

setLastChangeFromAppend() {
_classPrivateFieldSet(this, _lastChangeFromAppend, true);
}
}

@@ -1501,0 +1502,0 @@

@@ -1087,2 +1087,6 @@ 'use strict';

_defineProperty(this, "setLastChangeFromAppend", () => {
_classPrivateFieldSet(this, _lastChangeFromAppend, true);
});
var mapper = createSuggesterMapper();

@@ -1310,3 +1314,3 @@

return decorations.some((_ref6) => {
var shouldIgnore = decorations.some((_ref6) => {
var spec = _ref6.spec,

@@ -1321,2 +1325,3 @@ from = _ref6.from;

});
return shouldIgnore;
}

@@ -1495,6 +1500,2 @@ /**

setLastChangeFromAppend() {
_classPrivateFieldSet(this, _lastChangeFromAppend, true);
}
}

@@ -1501,0 +1502,0 @@

@@ -1079,2 +1079,6 @@ import { TextSelection, Selection, PluginKey, Plugin } from 'prosemirror-state';

_defineProperty(this, "setLastChangeFromAppend", () => {
_classPrivateFieldSet(this, _lastChangeFromAppend, true);
});
var mapper = createSuggesterMapper();

@@ -1302,3 +1306,3 @@

return decorations.some((_ref6) => {
var shouldIgnore = decorations.some((_ref6) => {
var spec = _ref6.spec,

@@ -1313,2 +1317,3 @@ from = _ref6.from;

});
return shouldIgnore;
}

@@ -1487,6 +1492,2 @@ /**

setLastChangeFromAppend() {
_classPrivateFieldSet(this, _lastChangeFromAppend, true);
}
}

@@ -1493,0 +1494,0 @@

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

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

"@babel/runtime": "^7.13.10",
"@remirror/core-constants": "0.0.0-pr901.1",
"@remirror/core-helpers": "0.0.0-pr901.1",
"escape-string-regexp": "^4.0.0",
"type-fest": "^0.21.3"
"@remirror/core-constants": "0.0.0-pr905.1",
"@remirror/core-helpers": "0.0.0-pr905.1",
"@remirror/types": "0.0.0-pr905.1",
"escape-string-regexp": "^4.0.0"
},
"devDependencies": {
"@types/prosemirror-keymap": "^1.0.4",
"@types/prosemirror-model": "^1.11.2",
"@types/prosemirror-model": "^1.13.0",
"@types/prosemirror-state": "^1.2.6",

@@ -48,3 +48,3 @@ "@types/prosemirror-view": "^1.17.1",

"prosemirror-state": "^1.3.4",
"prosemirror-view": "^1.17.4"
"prosemirror-view": "^1.18.2"
},

@@ -51,0 +51,0 @@ "peerDependencies": {

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